Duplexing

Duplexing refers to the printing of data (or forms) on both sides of a piece of paper. Many original forms have "terms and conditions" or other text printed on the back. These forms and other double-sided documents can be printed by a printer that has a duplex attachment, IF the correct sequence of PCL command is sent.

If printable data has been received by the printer and the duplex command is sent afterward, the page (and the printed data) will be ejected and the printer will be in duplex mode.

First, send the printer the Start Duplex Job Command. Before any other data arrives at the printer, it must be given this PCL command to begin duplex operation. The printer can't switch modes on the fly. The duplex command is esc&l1S for long edge binding or esc&l2S for short edge binding.

Send the data from the application. After the printer is in duplex mode, the printable data can be sent from the application program.

Call the form for the front page. Send the standard form overlay command. esc&f#Yesc&f4X

Eject the page. Send the Form Feed command to the printer. At this point the printer will not eject the page but will instead turn the page over in the duplexer.

Send data for back page (if any.)

Call the form for the back page.

Sned a Form Feed. The printer will now eject the page.

Questions:

Code:

Comments: