Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Print
Design Guide
 PCL Separator Page Escape Codes

  Switch on low bandwidth view
Windows Driver Kit: Print Devices
PCL Separator Page Escape Codes

The escape codes shown in the following table can be used when you create a PCL separator page.

Escape CodeMeaning
\The first line of the separator file must contain only this character. The separator file interpreter reads the separator file command as a delimiter.
\nSkips the number of lines specified by n (from 0 through 9). Skipping 0 lines moves printing to the next line.
\B\MPrints text in double-width block characters until \U is encountered.
\B\SPrints text in single-width block characters until \U is encountered.
\DPrints the date the job was printed. The time is displayed in the format specified under Regional Options (Windows 2000) or Regional and Language Options (Windows XP and later) in Control Panel.
\EEjects a page from the printer. Use this code to start a new separator page or to end the separator page file. If you get an extra blank separator page when you print, remove this code from your separator page file.
\FpathnamePrints the contents of the file specified by pathname, starting on an empty line. The contents of this file are copied directly to the printer without processing.
\HnnSets a printer-specific control sequence, where nn is a hexadecimal ASCII code sent directly to the printer. See your printer manual to determine the specific numbers.
\IPrints the job number.
\LxxxPrints the string of text that appears after the \L escape code. If you enter \LTest, the text "Test" appears in the separator page.
\NPrints the user name of the person who submitted the job.
\UTurns off block character printing.
\WnnSets the width of the separator page. The default width is 80 characters, and the maximum width is 256 characters. Characters beyond this width are deleted.

After the local print provider passes a job through the print processor and the separator page processor, it sends the job from the spooler to the appropriate port print monitor.


Send feedback on this topic
Built on May 20, 2009
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker