| United States-English |
|
|
|
![]() |
HP-UX Starbase Device Drivers Manual - Vol2: HP 9000 Series 700 Computers > Chapter 4 Printer Command Language Imaging
Formatter Printer Configurations |
|
There are two fundamental printer configurations of interest, spooled and non-spooled. The primary difference between the two configurations is that spooling uses the system spooler (lp) in the raw (-oraw option) mode. This section gives an overview of these configurations, so you can choose the appropriate method for your application. The only non-spooled operation currently supported by the PCL Imaging Formatter is direct access printing in the HP-UX environment. Direct access printing involves a non-shared printer directly connected to the host system. The standard output (stdout) from the HP-UX commands pcltrans and screenpr is "piped" to the printers special device file (see the section on "Setting Up the Special Device File" in this chapter). You will need to have write permission for the special file. The HP-UX environment can be obtained from within a program using the procedure system (described in HP-UX Reference, Section 3). The following direct access printing examples are written in C.
Spooled operation is the best mode if you have a shared printer. The HP-UX commands pcltrans and screenpr can also be utilized in a spooled environment (see the Starbase Reference manual for details on pcltrans and screenpr).
The following spooled printing examples are written in C.
In the following scenarios, interleaved/unusable output may be produced.
In general, if a device is configured for spooling with the lp command, all graphics output should be done using the spooling print mode. Only use non-spooled (direct access) print mode when a device is not shared. Simultaneous usage of spooled and non-spooled modes should be avoided. The following files are used for color/monochromatic printing on printers that support the imaging extensions of PCL:
[25] The actual path names of directories in angle brackets depend on the file system structure. See the Graphics Administration Guide for details. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||