General discussion

Locked

Duplex printing from a DOS window(Win9

By joehunter ·
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 9 is changed to direct output to LPT1: instead of PRN, nothing is printed at all.

Thanks

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Duplex printing from a DOS window(Win9

by b.snel In reply to Duplex printing from a DO ...

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!

Collapse -

Duplex printing from a DOS window(Win9

by joehunter In reply to Duplex printing from a DO ...

The question was auto-closed by TechRepublic

Collapse -

Duplex printing from a DOS window(Win9

by joehunter In reply to Duplex printing from a DO ...

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.

Collapse -

Duplex printing from a DOS window(Win9

by James_Randy In reply to Duplex printing from a DO ...

I hope you find all that you're looking for

Collapse -

Duplex printing from a DOS window(Win9

by joehunter In reply to Duplex printing from a DO ...

The question was auto-closed by TechRepublic

Collapse -

Duplex printing from a DOS window(Win9

by joehunter In reply to Duplex printing from a DO ...

This question was auto closed due to inactivity

Back to Desktop Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums