12.13. Setting Up Printers

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 15, Windows Connector.

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

Sun Ray Software supports PostScript printers connected directly to a USB port on the Sun Ray Client or connected through a USB-to-parallel port adapter. For non-PostScript printer support, refer to Section 12.13.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.

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 the Solaris OS.

  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 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
    

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

Sun Ray Software supports PostScript? printers connected directly to a USB port on the Sun Ray Client or connected through a USB-to-parallel port adapter. For non-PostScript printer support, refer to Section 12.13.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 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

12.13.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.