|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Printing Oracle Solaris 11 Express 11/10|
Note - Starting with the Oracle Solaris 11 Express release, CUPS is the default print system. By default, the network protocol that is used with CUPS is IPP. The tasks that are in this section describe how to administer printers and print jobs on a network when IPP is in use.
Table 10-2 Administering Printers When IPP Is in Use: Task Map
# lpstat -p printer-name -l
Example 10-1 Obtaining Information About Printers on a Network
# lpstat -p luna03 -l printer luna03 disabled since Fri Nov 03 11:48:53 2006. available. new printer Form mounted: Content types: application/postscript Description: Connection: Interface: /usr/lib/lp/model/uri PPD: /usr/lib/lp/model/ppd/system/foomatic \ /HP/HP-Color_LaserJet_4600-Postscript.ppd.gz On fault: write root After fault: continue Users allowed: (all) Forms allowed: (none) Media supported: Letter A4 11x17 A3 A5 B5 Env10 EnvC5 EnvDL EnvISOB5 EnvMonarch Executive Legal Banner required Character sets: (none) Default pitch: Default page size: Default port setting: Options:
You can move your own remote print jobs between print queues when IPP is in use by using the lpmove command. Print jobs can be moved to the new destination by request ID or by the destination.
$ lpmove request-id old-destination new-destination
Example 10-2 Moving Remote Print Requests by Request ID
This example shows how to move a remote print request luna-185 to the new destination printer lucille by using the request ID.
$ lpmove luna-185 lucille
Example 10-3 Moving Remote Print Requests by Destination
This example shows how to move all of the print requests from the printer luna to the new destination printer lucille.
$ lpmove luna luciille
You can use the lp command to perform a variety of tasks when IPP is in use. For more information about using the lp command, see the lp(1) man page.
$ lp [-d] [-H] [-i] [-n] [-o]
Specifies the destination for the print request.
Specifies special-handling. Prints the request according to the value of the special-handling.
Specifies the request ID.
Specifies number of copies. Specify this option as a digit. The default for number is 1.
Specifies printer dependent options.
Example 10-4 Submitting Previously Held Print Requests
This example shows how to submit previously held print requests for the printer lucille.
$ lp -d lucille -H hold /etc/motd
Example 10-5 Changing the Number of Copies Requested
This example shows how to change the number of copies requested for the request ID lucille-233.
$ lp -i lucille-233 -n 5
Example 10-6 Turning on and Releasing the Duplex Feature
This example shows how to turn on and release the duplex feature for a specified request ID.
$ lp -i lucille-233 -o Duplex=DuplexNoTumble -H resume
Use the cupsctl command to share printers when CUPS is the default print service.
For example, to share printers, you would type the following command:
$ cupsctl —share-printers
To turn sharing of printers off, you would type:
$ cupsctl —no-share-printers
Starting with the Oracle Solaris 11 Express release, CUPS is the default print service. Authorizations for accepting print queues when CUPS is in use are configured in the /etc/cups/cupsd.conf file. For further instructions, point your browser to the CUPS online help at http://localhost:631/help/ref-cupsd-conf.html.