![]() |
![]() |
| ||||||||
Setting Up a Print ServerWhen you install an attached printer or a network printer to a system, the printer is made accessible to the local system. The system on which you install the printer becomes the print server. The following sections describe how to use Solaris Print Manager to add an attached printer or a network printer on a printer server. The example that follows each Solaris Print Manager procedure describes how to add a printer with LP commands.
|
$ lp -d printer-name filename |
Exit Solaris Print Manager.
Choose Exit from the Print Manager Menu.
This example shows how to make a local PostScript printer available for printing on a print server. The commands in this example must be executed on the print server where the printer is connected. The following information is used as an example. The information that you provide will vary:
Printer name: luna
Port device: /dev/term/b
Printer type: PS
File content type: postscript
# chown lp /dev/term/b # chmod 600 /dev/term/b 1 # lpadmin -p luna -v /dev/term/b 2 # lpadmin -p luna -T PS 3 # lpadmin -p luna -I postscript 4 # cd /etc/lp/fd # for filter in *.fd;do > name=`basename $filter .fd` > lpfilter -f $name -F $filter > done 5 # accept luna destination "luna" now accepting requests # enable luna 6 printer "luna" now enabled # lpadmin -p luna -D "Room 1954 ps" 7 # lpstat -p luna 8 printer luna is idle. enabled since Feb 28 11:21 2003. available. |
Gives lp ownership and sole access to a port device.
Defines the printer name and the port device that the printer will use.
Sets the printer type of the printer.
Specifies the file content types to which the printer can print directly.
Adds print filters to the print server.
Accepts print requests for the printer and enables the printer.
Adds a description for the printer.
Verifies that the printer is ready.
Use the following table to determine which tasks to complete next.
Task | For More Information |
|---|---|
Add access to the newly installed printer on the print clients because you did not add the printer information to the name service database. | |
Set up a .printers file. |
A print client is a system that is not the server for the printer, yet has access to the printer. A print client uses the services of the print server to spool, schedule, and filter the print jobs. Note that one system can be a print server for one printer and be a print client for another printer.
Access to a printer can be configured on a domain-wide basis or on a per-machine basis depending on whether you add the printer information to the name service database.
The following sections describe how to use the new Solaris Print Manager to add access to a printer on a print client. The example that follows this procedure describes how to add printer access with LP commands.
Previous Contents Index Next ![]() |