> Here's what we figured out at our site; note that we didn't delve too deeply
> and thus the post-operation testing is likely incomplete.
>
> Note also that to make this truly generic, each user with a local printer
> would have to have their own uttsc call because the printer queuename is
> coded in there. You could probably read $SUN_SUNRAY_TOKEN and, based on
> that, set a printer variable to use in the uttsc call [see step 4 below]. If
> you don't do this, everyone will end up getting the same default printer
> which could be disastrous [this happened to me but fortunately, we caught it
> before anything bad happened].
>
>
>
> 1. Download(from printer manufacturer) and install the printer driver on
> the WTS(Windows 2003 Server(s))
> Open "Printers and Faxes"
> From the File menu, select Server Properties
> Select the Drivers tab, then select the Add button to start the "Add
> Printer Driver" wizard.
> 2. Get windows-printer-driver name by:
> Start - Run - regedit
> My Computer/
> HKEY_LOCAL_MACHINE/
> System/
> CurrentControlSet/
> Control/
> Print/
> Environments/
> Windows NT x86/
> Drivers/
> Version-3
>
> In this example, "HP LaserJet P3005 PS"
>
>
>
> This really left out a step: you need to physically connect the printer to
> the TC or else the directories below will not exist.
>
> 3. Add a Raw Printer Queue for the USB printer on the SunRay Server(s)
> lpadmin -p solaris-printer-name -v
> /tmp/SUNWut/units/IEEE802.macaddres-of-DTU-with-printer/dev/printers/printer-device-node-name
>
> lpadmin -p hplj3000 -v
> /tmp/SUNWut/units/IEEE802.00144f3c7b59/dev/printers/Hewlett-PackardCNJ1S82560+AAAAAA-
>
> If you look at the definition, it appears as:
>
> 10:27 rsunsu01: /tftpboot {94} # ls -al
> /tmp/SUNWut/units/IEEE802.00144f917427/dev/printers/Hewlett-PackardCNJ1S82560+AAAAAA-
>
> lrwxrwxrwx 1 root root 61 Jan 14 10:22
> /tmp/SUNWut/units/IEEE802.00144f917427/dev/printers/Hewlett-PackardCNJ1S82560+AAAAAA-
> -> ../../devices/u...@1/h...@2/Hewlett-Packard,hp_laserjet_p3...@1
>
> enable solaris-printer-name
>
> accept solaris-printer-name
>
>
> 15:05 rsunsu02: /opt/SUNWutWBT {48} # enable hplj3000
> printer "hplj3000" now enabled
>
> 15:05 rsunsu02: /opt/SUNWutWBT {49} # accept hplj3000
> destination "hplj3000" now accepting requests
>
> 4. Add the printer definition to the uttsc command line in the CAM
> connector script.
> -r printer:solaris-printer-name="windows-printer-driver"
>
> -r printer:hplj3000="HP LaserJet P3005 PS"
>
> 5. Reboot the thin client to force it re-reading the kiosk script.
>
> 6. On the WTS(s)
> Open "Printers and Faxs"
> Select "Add Printer" to start the "Add Printer Wizard"
> Select "Local printer attached to the computer". Do NOT select the
> "Automatically detect and install my Plug and Play printer"
> Select the "Use the following port" and select the TSxxx entry with
> the MAC address of the DTU that the printer is connected too.
> Complete the remaining steps and printer a test page to verify.
>
> When we tried this the first time, it worked however we noticed that when the
> printer went to sleep [some EnergyStar setting], the TC would lose connection
> with the printer and we had to remap the printer port. We asked Tom Anderson
> about this.
>
> Turns out you have to then delete the queue from Windows.
>
> We removed the local print queue so that each user automatically maps the
> printer to their profile.
>
> If the local print queue was not removed, users had to manually point to the
> WTS port "TSxxx". (Don't know why?)
>
> This is the step that we added:
> "Remove printer from Windows. Procedure needs only driver, not physical
> printer, so make sure that driver still exist in Regedit.exe"
>
>
>
> Also, the printer forced itself to become everyone> '> s default on the WTS
> which could have been a huge disaster. This was due to everyone using the
> same ut> tsc script which contained only a single printer queue. In
> production, the kiosk script would have to be modified to add a MAC lookup to
> match to a printer queue and to use that as a variable in the uttsc call.
>
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users