From the printer driver, click Add Print Queue Wizard.
From the list of Available Devices select a device, or click Add Device to create a new device.
For more information about adding devices, see Creating virtual devices.
Click Next.
Enter the printer name and description.
Select the printer type.
Click Next.
Select the printer languages the queue will accept.
Click Properties to change the settings for the print queue.
For more information, see Changing the print queue properties.
Click Next.
Finish creating the print queue.
If you are using Sun Solaris, HP-UX, IBM AIX, or Linux with CUPS, select Enable Printer Classes to put a queue in a class.
For more information about printer classes, see Working with printer classes.
If you are using Linux with the LPRng print subsystem, select Enable Printer Aliases to create aliases for this queue.
For more information about printer aliases, see Working with printer aliases.
Click Finish.
Before you can create the queue, you must gather the following information: a valid device name, the printer type, the printer language, and the default print queue settings options.
The device name associated with the print queue must exist before you create the queue.
You can list the defined virtual devices by running the following command:
# /usr/lexprint/bin/lsdevice -l
If the device does not exist, you can create one by running the
command.For more information, see Creating virtual devices.
The supported printer types and languages can be found by running the following command:
# /usr/lexprint/bin/supported_printers
Locate the line listed from the
command that contains the model number of your printer.Example: You want to create a queue for a Lexmark T632. You locate the line matching this printer from
and it looks like this:The printer type is 10LT63x, and the supported language is automatic.
All printer types support “raw” as the language type. This makes the print queue a pass-through queue. This means the print job is sent to the printer without any queue modification.
The Automatic language type lets you set the language type to be
, , or . If you select automatic, you can send both PCL emulation/ASCII and PostScript emulation print jobs to the print queue.The Automatic Plus language type lets you set the language type to be
, , , or . If you select automatic_plus, you can send PCL emulation/ASCII, PostScript emulation, and ImageQuickTM (HTML, PDF, TIFF) print jobs to the print queue.The Automatic PDF language type lets you set the language type to be
, , , or . If you select automatic_pdf, you can send PCL emulation/ASCII, PostScript emulation, and PDF print jobs to the print queue.If the language type is
, you can send only ASCII text or PCL emulation jobs through the print queue.If the language type is
, you can send only PostScript emulation jobs through the print queue.If the language type is
, you can only send ASCII text or PPDS emulation jobs through the print queue.You should normally choose
, if it is available.Available printer settings options can be found by running the step b, run the following command:
command. Using the Printer Type as determined in# /usr/lexprint/bin/lsqueue_opts -f printer_type
Example:
Locate the options and values you want to change and pass them the
command with the argument.Type the following command:
# /usr/lexprint/bin/mkqueue -d device_name -q queue_name -p printer_type -l printer_language -o printer_options
Note: Type from the command line for more details regarding this command. |
Example: Using information gathered in step 1, create a new print queue (“myqueue”), for a virtual device (“mydevice”). The printer type is 10LT63x and the language selection is specified as “automatic” for this queue. Specify additional printer options so that paper from the second tray is used and jobs are duplexed against the long edge of the paper.
# /usr/lexprint/bin/mkqueue -d mydevice -q myqueue -p 10LT63x -l automatic -o "paper_tray=tray2 duplex=long_edge"