Your small program work well because default path is null.
Try this (strange, but work):
local OldSet Set(SET_DEFAULT, "")
...
SET PRINTER TO LPT2
SET DEVICE TO PRINTER
SET CONSOLE OFF
print ....
SET DEVICE TO SCREEN
SET CONSOLE ON
...
Set(SET_DEFAULT, OldSet)
Valderrama
CEMI - Ayto. Málaga
Try this:
local OldSet Set(SET_DEFAULT, "")
...
SET PRINTER TO LPT2
SET DEVICE TO PRINTER
SET CONSOLE OFF
print ....
SET DEVICE TO SCREEN
SET CONSOLE ON
...
Set(SET_DEFAULT, OldSet)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.