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.
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”.
The printer naming conventions in Sun Ray Software differ from those in an Oracle Solaris operating environment.
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.
On the Sun Ray Client where the printer is attached, log in to a new session as superuser (root).
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.
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.
Locate the port for the printer by typing:
# cd dev/printers # pwd /tmp/SUNWut/units/IEEE802.MACID
/dev/printers # lsprinter-node-name
In the directory, locate the printer node.
Add the new printer.
Start the Oracle Solaris Print Manager.
# /usr/sbin/printmgr &
Click OK to choose files for repository.
Go to Printer -> New Attached Printer.
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.
Verify that the printer has been set up correctly.
# lpstat -d printername
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”.
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.
On the Sun Ray Client where the printer is attached, log in to a new session as superuser (root).
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.
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.
Locate the port for the printer.
# cd dev/printers # pwd /tmp/SUNWut/units/IEEE802.MACID
/dev/printers # lsprinter-node-name
In the directory, locate the printer node.
Use the Oracle Linux administration tools to set up the printer.
Choose Other so that you can provide the device node from Step 4.
Verify that the printer has been set up correctly.
# lpstat -d printername
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.
Update /etc/cups/cupsd.conf
to set
the RunAsUser property to No.
Restart the cups daemon.
# /etc/init.d/cups restart
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:
Easy Software's ESP PrintPro, available from http://www.easysw.com
Ghostscript, available from http://www.ghostscript.com
Vividata PShop, available from http://www.vividata.com
Check with the vendors for pricing and the precise printer models supported.