Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Printing Oracle Solaris 11 Express 11/10 |
1. Introduction to Printing in the Oracle Solaris Operating System
2. Planning for Printing (Tasks)
3. Setting Up and Administering Printers by Using CUPS (Tasks)
4. Setting Up and Administering Printers by Using Print Manager for LP (Tasks)
5. Setting Up and Administering Printers by Using Oracle Solaris Print Manager (Tasks)
6. Setting Up Printers by Using LP Print Commands (Tasks)
7. Administering Printers by Using LP Print Commands (Tasks)
8. Customizing LP Printing Services and Printers (Tasks)
9. Administering the LP Print Scheduler and Managing Print Requests (Tasks)
10. Administering Printers on a Network (Tasks)
Enabling, Disabling, and Restarting Network Printing Services (Task Map)
Managing Network Printing Services
How to Enable the IPP Network Listening Service
How to Disable the IPP Network Listening Service
How to Restart the IPP Network Listening Service
How to Enable the RFC-1179 Network Listening Service
How to Disable the RFC-1179 Network Listening Service
How to Restart the RFC-1179 Network Listening Service
How to Enable the SMB Network Service
How to Disable the SMB Network Service
How to Restart the SMB Network Service
Administering Printers on a Network When Using IPP (Task Map)
How to Obtain Information About Printers on a Network
How to Move Remote Print Jobs Between Print Queues
How to Modify Remote Print Requests
Sharing Printers on a Network by Using the cupsctl Command
How to Set Authorizations That Enable You to Accept Remote Print Queues
Administering Printers on a Network When Using the RFC-1179 Printing Protocol (Task Map)
How to Cascade Print Requests by Using the RFC-1179 Protocol
Administering Printers on a Network When Using the SMB Protocol
11. Administering Character Sets, Filters, Forms, and Fonts (Tasks)
12. Administering Printers by Using the PPD File Management Utility (Tasks)
13. Printing in the Oracle Solaris Operating System (Reference)
14. Troubleshooting Printing Problems in the Oracle Solaris OS (Tasks)
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.