spooler

Handle requests for a printer's resources

Note: You must be root to start spooler.

Syntax:

spooler [-CFg] [-c config] -d device  [-f maxjobs] [-n name]
        [-P PnPstr] [-s spooldir] [-v[v...]]

Runs on:

QNX Neutrino

Options:

-C
Calculate and print the device ID, and then exit.
-c config
The name of the configuration file that defines filters and properties for a printer.
-d device
The output device. You must specify this option.
-F
Disable file spooling and connect applications to filters using FIFOs.
-f maxjobs
Limit the number of simultaneous spool files to maxjobs. The default is no limit.
-g
Make the printer a global network resource.
-n name
The name of the printer. If this option isn't specified, spooler gets the name from the PnP model or the configuration file.
-P PnPstr
The PnP string for a printer (default: query printer).
-s spooldir
The spool directory (default: /var/spool/printers/printer-name).
-v[v...]
Verbose output; each addition v increases verbosity.

Description:

The spooler allows multiple users to share the resources of a single printer. If you have more than one printer, you can start an instance of spooler for each one.

When you start spooler, it queries the printer to determine its type. If you provide a PnP string, spooler doesn't query the printer for it:

spooler -d /dev/par1 -P PnPstring

You can use other options to force spooler to use a configuration file and assign a name to the printer, but this isn't recommended:

spooler -c pcl -n My_PCL_Printer -d /dev/par1 &