15.15. Setting Up Printers

15.15.1. How to Set Up an Attached PostScript Printer (Oracle Solaris)
15.15.2. How to Set Up an Attached PostScript Printer (Oracle Linux)
15.15.3. How to Set Up an Attached Non-PostScript Printer

This section provides instructions on how to setup PostScript and non-attached PostScript printers that are attached to the Sun Ray Client. For details on how to print from Windows while using the Windows connector, see Chapter 18, Windows Connector.

15.15.1. How to Set Up an Attached PostScript Printer (Oracle Solaris)

Sun Ray Software works with PostScript printers connected directly to a USB port on the Sun Ray Client. For non-PostScript printer support, refer to Section 15.15.3, “How to Set Up an Attached Non-PostScript Printer”.

Note

The printer naming conventions in Sun Ray Software differ from those in an Oracle Solaris operating environment.

Note

The lp subsystem opens the device node as superuser for each print request, so print jobs are not affected by hotdesking.

Starting a print queue on a printer attached to a Sun Ray Client, either directly or through an adapter, is the same process as starting a print queue in Oracle Solaris.

  1. On the Sun Ray Client where the printer is attached, log in to a new session as superuser (root).

  2. To determine the MAC address of the Client, press the three audio option keys to the left of the power key in the upper right corner of the keyboard.

    The alphanumeric string displayed below the connection icon is the MAC address.

  3. To locate the Sun Ray Client, type:

    # cd /tmp/SUNWut/units/*MAC_address
    # pwd
    /tmp/SUNWut/units/IEEE802.MACID
    

    The path to the extended MAC address for your particular Sun Ray Client is displayed.

  4. Locate the port for the printer by typing:

    # cd dev/printers
    # pwd
    /tmp/SUNWut/units/IEEE802.MACID/dev/printers
    # ls
    printer-node-name
    
  5. In the directory, locate the printer node.

  6. Add the new printer.

    1. Start the Oracle Solaris Print Manager.

      # /usr/sbin/printmgr &
    2. Click OK to choose files for repository.

    3. Go to Printer -> New Attached Printer.

    4. Type the following information:

      • Printer name: printername

      • Description (optional)

      • Printer port

      • Printer make

      • Printer model

        Choose Other to type the printer port path name. To locate the printer port, refer to Step 4.

  7. Verify that the printer has been set up correctly.

    # lpstat -d printername
    

15.15.2. How to Set Up an Attached PostScript Printer (Oracle Linux)

Sun Ray Software works with PostScript printers connected directly to a USB port on the Sun Ray Client. For non-PostScript printer support, refer to Section 15.15.3, “How to Set Up an Attached Non-PostScript Printer”.

Note

The lp subsystem opens the device node as superuser for each print request, so print jobs are not affected by hotdesking.

The following generic instructions might vary slightly from one operating system implementation to another, but they should provide enough information to enable an administrator to set up basic printing services.

  1. On the Sun Ray Client where the printer is attached, log in to a new session as superuser (root).

  2. To determine the MAC address of the client, press the three audio option keys to the left of the power key in the upper right corner of the keyboard.

    The alphanumeric string displayed below the connection icon is the MAC address.

  3. Locate the Sun Ray Client.

    # cd /tmp/SUNWut/units/*MAC_address
    # pwd
    /tmp/SUNWut/units/IEEE802.MACID
    

    The path to the extended MAC address for your particular Sun Ray Client is displayed.

  4. Locate the port for the printer.

    # cd dev/printers
    # pwd
    /tmp/SUNWut/units/IEEE802.MACID/dev/printers
    # ls
    printer-node-name
    
  5. In the directory, locate the printer node.

  6. Use the Oracle Linux administration tools to set up the printer.

    Choose Other so that you can provide the device node from Step 4.

  7. Verify that the printer has been set up correctly.

    # lpstat -d printername
    
  8. Create a soft link to the Sun Ray printer node in /dev/usb

    For example, if the device node is

    /tmp/SUNWut/units/IEEE802.mac-address/dev/printers/device_node,

    you would use the following command:

    # ln -s /tmp/SUNWut/units/IEEE802.mac-address/dev/printers/device_node /dev/usb/sunray-printer
    

    Use this soft link (/dev/usb/sunray-printer) as the Device URI while creating the print queue.

  9. Update /etc/cups/cupsd.conf to set the RunAsUser property to No.

  10. Restart the cups daemon.

    # /etc/init.d/cups restart

15.15.3. How to Set Up an Attached Non-PostScript Printer

Printers that do not use PostScript, such as engineering plotters, are best supported by third-party software. Low-cost inkjet printers require third-party software such as the following:

Check with the vendors for pricing and the precise printer models supported.