LaserWriter IINTX: Changing Typeface in LaserJet+ Emulation



I am using the IBM PS/2-30-to-LaserWriter IINTX in HP LaserJet+
emulation mode connection.

Everything works perfectly until I try to select a typeface according to:

ESC(s3T Courier
ESC(s4T Helvetica
ESC(s5T Times Roman

It doesn't work but according to your paper and the manual, it should. I
created a text file called font2.txt, which contains:

ESC(s4T

Then I create a file called helv.bat containing:

type font2.txt > lpt1 %Sends ESC-code.
dir > lpt1 %Print text; in this case, the directory.
end %Sends Control-D to empty buffer.

I execute that file by typing:

helv

Everything is sent to the printer, but the same typeface is still printed.
The printer accepts the escape code but doesn't do anything. What is
wrong?

The reason you could not select the typeface you wanted has to do with the way
the HP LaserJet+ works with characteristics. You changed the typeface to
Helvetica without specifying the "Proportional character spacing"
characteristic. Because this is a high-priority characteristic, and you did
not specifically ask for it, the printer pointed back to the typeface with
"Fixed character spacing," which is Courier.

The escape sequence to make this work is:

ESC(s1P
ESC(s4T

Note that the escape sequence to select Fixed character spacing is ESC(s0P.
Characteristics priority is described in the "HP LaserJet Technical Manual."


Published Date: Feb 18, 2012