Setting narrow font on HP Laser

  • Thread starter Thread starter mark latimer
  • Start date Start date
M

mark latimer

Hi

We are using an HP2100, which has no control panels (unline the laserjet 3's
etc). We are printing from a DOS application and need to be able to set the
default font to narrow (132column as opposed to 80). On the larger (HP4s)
and older (HP2/3), this was done on the control panel... Ne one know how to
do this on 2100

(ps. The dos application is running under Win 98, the printer is attached to
a W2K server)


Ta everso....
 
mark latimer said:
We are using an HP2100, which has no control panels (unline the laserjet 3's
etc). We are printing from a DOS application and need to be able to set the
default font to narrow (132column as opposed to 80). On the larger (HP4s)
and older (HP2/3), this was done on the control panel... Ne one know how to
do this on 2100

(ps. The dos application is running under Win 98, the printer is attached to
a W2K server)

What you want to do is send the relevant control codes to the printer.
These work for the HPIII and HP4, and I'm pretty sure for yours:

for "normal" 80 column, Font Pitch 10.00, send:
<esc>&k0S
for "condensed", 132 col, Font Pitch 16.66:
<esc>&k2S

In these <esc> is the Escape character, ASCII 27.
Even the most primitive DOS app should have somewhere to include these
when it prints, look for all the prinitng settings. For instance, in
Lotus 123 this is a "Set up string".
That's the best way, which will send those codes before the text.

Otherwise you need to use a batch file, or maybe something like
"Printfile"
<http://www.lerup.com/printfile/> which is good for interfacing DOS
and Windows printing.

If you need to do that, and have trouble making the batch files, post
again (or look back a week or two ago here where I posted on that
subject).
 
Back
Top