TOPIC ---------------------------------------------
I am printing in Landscape rather than Portrait mode to a LaserWriter IINTX in
LaserJet emulation mode.
I am using a PC-clone and driving the printer from dBASE III+. All the HP
command codes I send to our printer work except the code for Landscape mode.
When I send this, nothing happens.
The code being used is:
CHR(27)+"&1O"
I have tried using a zero instead of letter O and also put a CHR(13) at the
end of the command, and it still does not work.
DISCUSSION ---------------------------------------------
It appears that you should be using a different escape sequence. According to
our documentation, you should try the following:
in decimal:
chr(27)+chr(38)+chr(108)+chr(49)+chr(79)
in ASCII:
esc "&l1O"
Substituting the 49 with a 48 should put you back in Portrait mode.