[ Team LiB ] |
Using the SunSoft Print ClientThis section describes how the SunSoft print client works. Starting with the Solaris 2.6 release, the SunSoft print client is provided as part of the Solaris Operating Environment. It was available previously only as an unbundled product. A system becomes a SunSoft print client when you install the SunSoft print client software and enable access to remote printers on the system. The SunSoft print client commands have the same names and produce the same output as the print commands of the previous Solaris releases. The SunSoft print client commands use a greater number of options to locate printer configuration information than in the previous Solaris Operating Environment, and the client communicates directly with the print server. The print command locates a printer and printer configuration information in the following sequence.
The client does not have a local print queue. The SunSoft print client sends its requests to the queue on the specified print server. The client writes the print request to a temporary spooling area only if the print server is not available or if an error occurs. This streamlined path to the server decreases the print client's use of resources, reduces the chance for printing problems, and improves performance. Printer Configuration ResourcesThis section describes the resources that the SunSoft print client commands use to locate printer names and printer configuration information. The SunSoft print client commands can use a nameservice, which is a shared network resource, for storing printer configuration information for all printers on the network. The nameservice (NIS, NIS+, NIS+ with FNS, or LDAP) simplifies the maintenance of printer configuration information. When you add a printer in the nameservice, all SunSoft print clients on the network can access it. The SunSoft print client software locates printers by checking the following resources.
Print-Naming EnhancementThe Solaris 8 Operating Environment supports the printers database in the /etc/nsswitch.conf nameservice switch file. The printers database provides centralized printer configuration information to print clients on the network. With the printers database and corresponding sources of information in the nameservice switch file, print clients can automatically access printer configuration information without having it added to their own systems. Table 95 shows the default printers entry for each of the nameservice environments.
For example, if the nameservice is NIS, print client configuration information is looked up in the following order.
If the nameservice is NIS+, print client configuration information is looked up in the following order.
Print Request SubmissionUsers submit a print request from a SunSoft print client by using either the lp or lpr command. The user can specify a destination printer name or class in any of three styles.
Summary of the SunSoft Print Client ProcessThe following list summarizes how the SunSoft print client process works.
|
[ Team LiB ] |