Solaris Printer Setup

Run admintool in console and register a remote printer in the following order.
Solaris 2.6, Solaris 8, Solaris 9, Solaris 10

  1. Run /usr/bin/admintool with root permissions.
  2. Click [Browse] -> [Printers] in menu.
  3. Click [Add] -> [Access to Printer] in the [Edit] menu.
  4. Enter information as follows in the printer setup screen:

    Fig. 1: Solaris printer setup
    • Printer Name: Name designated when printing a file with the lpr command. To print a file under a queue name registered in Xlpd, the queue name must be the same as that of Xlpd. If the queue name is not registered in Xlpd, print a file with the default queue according to Xlpd settings or by generating a new queue.
    • Print Server: Enter the host name of a PC with Xlpd installed. As described in 'General Setup', the host name must be registered in the /etc/hosts file.
    • Description: Enter remote printer information, such as printer model. This item is not used at the printing command.
    • Option – Default Printer: When this item is checked, the printer registered becomes a default printer, designated as a default at the printing command. When the printer is omitted from the command, the file is printed by the default printer.
  5. Click [OK] to exit admintool.
  6. The command to print a file in Solaris is as follows: $ /usr/ucb/lpr -PPrinter_name filename