Discussion Locked

Duplex printing from a DOS window(Win98)

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a HP 1100 Laserjet printer and would like to be able to use the manual duplex method when printing from a DOS window. This works fine when printing from Windows apps, but the manual duplex setting is ignored when I try to print from a DOS window either from an app that is writing to the printer as PRN or when using the PRINT command and specifying LTP1 as the output device.

In both cases, all pages print immediately instead of odd pages first followed by a prompt to reverse the pages in the printer for the other side. If the app (regina for Windows 98) is changed to direct output to LPT1: instead of PRN, nothing is printed at all.

Thanks

6 replies

by b.snel

The answer to your question lies in the PCL (printer command language) of this printer. The correct escape sequence that does the job is (decimal):
27 38 108 # 83, where # can be:
48 Simplex printing, single side
49 Duplex printing, long-edge binding
50 Duplex printing, short-edge binding

So you have to place these commands at the proper place in you DOS-based program. Good luck!

by joehunter

The suggestion to try the PCL codes for the type of duplexing looked good, but apparently there still is a problem with having them recognized by the printer drivers. I even tried changing the "form feed" codes to the "next side" codes, with no effect.
The driver I have been suing is the HP LJ1100 driver. On it's properties/finishing page there are checkboxes for selecting the type of duplexing desired.
Next I tried switching to the HP PCL5 driver, but it doesn't have any properties pagewith anything about duplexing.
Neither driver seems to intercept the DOS window output and provide duplexing.

This discussion is closed to new replies.