Can I pass control codes to printer? (2018-03-19 06:32 by toml12953 #80975)
I'd like to print from Decimal BASIC to a PCL3 printer in landscape mode. No matter what I try it doesn't work.
I tried setting landscape mode in the print driver but the print from Decimal still comes out portrait.
I tried sending the proper command code:
OPEN #1:PRINTER
PRINT #1:CHR$(27);"&l1O"
PRINT #1: "This is a test"
CLOSE #1
END
The Escape (CHR$(27)) seems to be printed as a special character rather than setting the printer in command mode.
Is there any way to get Decimal to print Landscape? Even if Decimal could be changed to respect the current settings of the print driver, that would be better than nothing.