LaserWriter 810: Virtual Printer Attributes

We are trying to setup some LAT virtual printers with our LaserWriter Pro 810 and need a detailed list of the commands necessary to change different attributes (that is font, size, paper tray, and so on) of the virtual printer.
Currently, you cannot permanently modify attributes such as paper trays, fonts, page orientation, etc. for virtual printers. You can, however, implement these features by encapsulating PostScript or HP PCL commands in the VAX's print queue mechanism. In other words, have the commands downloaded prior to each job. For font selection, page orientation, and tray selection, we have included the HP PCL commands to perform these functions. In terms of PostScript, the jobs themselves typically handle the font selection and page orientation.

PostScript Paper Tray Selection

statusdict begin # setpapertray end

# = refer to following values
-----------------------------
0 - Upper tray
1 - Middle tray
2 - Lower tray
4 - Manual tray

Example: (to draw paper from middle tray)

statusdict begin 1 setpapertray end


HP PCL Paper Tray Selection

<esc>&l#h

<esc> = escape character
l = lowercase L
# = refer to following values
-----------------------------
0 - source current (default)
1 - upper tray
2 - manual feed
4 - lower tray
5 - middle tray

Example: (to draw paper from lower tray)

<esc>&l4h

To enter <esc>, press the Ctrl-P keys followed by the Esc key.

Note: You must use an ASCII text editor like DOS EDIT. You cannot enter the <esc> character in some Windows-based editors like Notepad.


HP PCL Font Selection

<esc>(s#T : typeface selection

# = refer to following values
-----------------------------
0 - Line Printer
3 - Courier (only font supported by HP IIP)


HP PCL Page Orientation

<esc>&l┐o = Portrait orientation
<esc>&l1o = Landscape orientation

l = lowercase L
┐ = zero
o = lowercase letter o
Published Date: Feb 19, 2012