Using USB printer on Sun Ray 2

Can someone direct me to a document or explain how I can configure the Sun Ray Software to allow me the ability to print to a USB printer attached to a Sun Ray 2 thin client. I believe this is possibele using the USB redirection utility but only when connecting to Windows XP desktops. I see it's being done when connecting to Windows 2003 Terminal Server. Any help or info on this would be great.
Thanks!

Here is a repost of my article on the sun-ray users mailing list.
Lars Tunkrans
Wed, 27 Jan 2010 09:34:47 -0800
This article is for using Solaris as the Sun Ray server.
I have used a Sun-Ray local USB attached printer in two ways.
Precondition1: The printer was using Postscript rendering.
The printer had its own rendering engine.
The printer was NOT a dumb windows-driver dependant printer.
Precondition2 the user logging on needs to have the printer administrator RBAC role to be allowed
to create /destroy printqueues.
1) Printing from Solaris.
Set up a solaris printqueue with
lpadmin -p printername -v " sunray devicename" -I postscript -T PS -m printermodel
This will use the solaris lpfilter mechanism to convert the printdata to postcscript protocoll.
2) Printing from Windows.
Set up a solaris printqueue with
lpadmin -p printername -v " sunray devicename" -m printermodel
Set up the windows printer with a working windows Postscript driver.
The windows included hplaserjet-postscript driver works. for a hplaserjet printer.
or any printer emulating the HPlaserjet like many Xerox printers do,
This setup will generate the Postscript protocol on the windows PC , and it will merely
"pass-though" the Solaris spooler without change.
So if you need to print from both the SR server and the windows PC you need to define two spooler queues for each printer. Below are two scripts that have existed in various versions on sun-rays.org that I enhanced a bit and ran from the VDI superstructure to make it do what I wanted. For windows printing you then need to pass the printername as an argument to the "uttsc" startup command.
uttsc ......... -r printer $printername .........
# the SCRIPT "set-printer.sh" for printing from a unix desktop
#!/bin/sh
MACAddr=`ls -l $UTDEVROOT | sed 's/.*\.//'`
PrinterName=$MACAddr
PrinterPath=`ls /tmp/SUNWut/units/IEEE802.$MACAddr/dev/printers/* 2>/dev/null|head -1`
if [ -n "$PrinterPath" ] ; then
cat <<.>$HOME/.printers
_default $PrinterName
Message="Current Printer: $PrinterName"
else
Message="No printer assigned"
fi
# Add or remove the printer to the Solaris spooler (choose only the first printer)
if [ -d /etc/lp/printers/$PrinterName ]; then
if [ -z "$PrinterPath" ]; then
pfexec /usr/sbin/lpadmin -x $PrinterName
fi
else
pfexec /usr/sbin/lpadmin -p $PrinterName -v $PrinterPath -A none -o media=A4 -o banner=never -I postscript -T PS -u allow:all
pfexec /usr/bin/enable $PrinterName
pfexec /usr/sbin/accept $PrinterName
fi
zenity --info –text="$Message"
# "set-printer.sh" script for Passthrough printing from a windows PC.
#!/bin/sh
MACAddr=`ls -l $UTDEVROOT | sed 's/.*\.//'`
PrinterName=$MACAddr
PrinterPath=`ls /tmp/SUNWut/units/IEEE802.$MACAddr/dev/printers/* 2>/dev/null|head -1`
if [ -n "$PrinterPath" ] ; then
cat <<.>$HOME/.printers
_default $PrinterName
Message="Current Printer: $PrinterName"
else
Message="No printer assigned"
fi
# Add or remove the printer to the Solaris spooler (choose only the first printer)
if [ -d /etc/lp/printers/$PrinterName ]; then
if [ -z "$PrinterPath" ]; then
pfexec /usr/sbin/lpadmin -x $PrinterName
fi
else
pfexec /usr/sbin/lpadmin -p $PrinterName -v $PrinterPath -A none -o media=A4 -o banner=never -I any -u allow:all
pfexec /usr/bin/enable $PrinterName
pfexec /usr/sbin/accept $PrinterName
fi
zenity --info –text="$Message"
//Lars
Edited by: ltuarn on Aug 28, 2010 10:32 AM

Similar Messages

  • Using USB Printer with EA6500 with IMac

    I've got my network up and running but the router doesn't see my USB printer.  Using the Linksys Smart Wi-Fi software to find USB Devices none show up.  Nor does the 'refresh' bring up my printer.
    Thanks any advice

    What is the brand or model of your printer. It would be best to check the tested printers list for EA6500. although there are some printers that may work even though it is not on the list, but then still it may not work. Also make sure that the printer driver is already installed in that computer and do not use the generic drivers.
    To check the list of tested printers, check this link:
    Title: List of tested USB hard drives and printers for the Linksys Smart Wi-Fi Router, EA6500
    Article ID: 26766
    http://homekb.cisco.com/Cisco2/ukp.aspx?vw=1&docid=04525b6daed244c2acc4901c83f3662e_List_of_tested_U...

  • Using USB Printer on Beige G3 with Localtalk/Serial Port - How?

    I have an Epson Stylus 740 which has both DIN 8/Serial port and USB connections, but the serial quit showing-up, so I want to connect via the USB connector. Is this possible?
    Is there an adapter from DIN 8 Serial/Localtalk connector on Beige G3 to USB for Printer?
    Or do I need to buy a PCI to USB card?
    Other solution?
    thanks

    Russo:
    If you tried to connect an adaptor to the serial port that had a USB connector on the end, it probably won't work since the serial port isn't currently working. You'd need a USB PCI card to connect to the USB.
    I have this same printer, originally used the serial port and then switched to USB when I got the PCI card. This has worked great.
    You should see if something got turned off. Look at these:
    Under the Apple Menu>Control Panel > AppleTalk - make sure the printer port is selected
    Under Apple Menu>Control Panel > Remote Access > Modem (from the drop down menu) - make sure that the printer port isn't selected
    Under Apple Menu > Control Panel > USB Printer sharing - make sure that is turned OFF.
    You might also have to install drivers for the Epson from the disk that came with it. If you insert the CD and choose "custom install" you'll get another screen that allows you to choose the serial driver package.
    Post back if you get it working (or don't).
    HTH.
    A

  • How can I redirect USB from Sun ray to Win2003 terminal server

    Hi
    I am running Sun Ray 4.2 in Solaris with SRWC 2.2 in a Kiosk mod to Windows terminal server 2003 , how can I allow users to use their USB divices from Sun Ray and appear automatically in their Windows desktop ..I try adding the following line to mikioskhdlr_win script
    UTTSCPARMS="-m -b -A 24 -r sound:high" - r disk:M=/tmp/SUNWut/mnt/$USER”
    but it did not work .. please help

    If you are using the USB Drive Daemon or manually specifying the mount then there are no issues with user access. That's only an issue with the the built in USB pass through included with SRSS 5 which is connecting directly to Windows and in essence the physical machine. The former is just mounting a network drive which is user specific.
    Edited by: ot90 on Mar 1, 2010 9:00 AM

  • Sun ray thin client printing issue ?

    Hi Guys,
    i was configured printer to print through sun ray thin client, but when i print its print carbage document, i changed that printer with another printer but still printing same, also i was change driver for that printer but the issue still , anybody advice me what shall i do ?
    Thanks in Advance,
    Basem

    Hi,
    Did you get to solve the problem? I was able to print from an RDP session but get continuous pages of garbage preceded by a banner page. Were you able to print from windows to a DTU attached USB printer?
    Please advise.
    Thank you and
    BR,
    Senka

  • Sun Ray USB Redirector 1.1

    Hi Guys,
    I am using the Sun Ray Redirector 1.1 on my test XP VM machine. I am trying to connect a blackberry device via the DTU's USB slot but it only plugs and plays as a "Sun Ray Generic device".
    Has anybody got this working?
    Many thanks.
    Gavin.

    I tried getting my iphone to connect up. It is recognized but
    there is some kind of error so it doesn't get seen my itunesIt's because iPhone USB device appear as isochronous USB device and Sun Ray Connector USBR feature doesn't support isochronous devices yet. I am not sure if blackberry is also an isochronous USB device or not.

  • AE and USB Print / Scan / Copy with HP PSC-2410

    My Airport Express finds my HP printer immediately upon plugging the printer into the AE USB port. Printing to it from various macs around the house has been wonderful...but...In order to use the HP's other functions, such as scanning and copying, it seems that the printer must be directly connected to a mac in order for these functions to work.
    Another poster said that he could not check his ink levels on an Epson printer through an AE USB connection, but could once he directly connected the printer to his Mac.
    It seems that the AE will only act as a print server and will not allow for any other features to be shared.
    Anyone else find this to be the case? Is there a fix? It is a pain to have to unplug from the AE and plug into the Mac every time I want to scan something.
    Thanks!
    STEVE

    ...but...In order to use the HP's other functions, such as scanning and copying, it seems that the printer must be directly connected to a mac in order for these functions to work.
    That is true. The USB port on the AirPort Express suppports only printing.
    Another poster said that he could not check his ink levels on an Epson printer through an AE USB connection, but could once he directly connected the printer to his Mac.
    That is also true. Those utilities depend on a direct USB connection to the printer. See KB 107430, AirPort Extreme, AirPort Express: Can't use USB printer utilities while printer sharing.
    It seems that the AE will only act as a print server and will not allow for any other features to be shared.
    That is exactly correct.

  • Sun Ray error when connecting to Oracle VDI - No Kiosk Sessions Available

    When the Sun Ray DTUs go to connect to the Oracle VDI cluster at times they will throw the error "Error starting Kiosk session: No Kiosk accounts configured." We have tried going through the steps to confirm that the Kiosk sessions are configured on the two secondary hosts but the problem persists. When the Sun Ray DTUs do connect they will work for a while and then when left idle for a period of time will loose their connection and be unable to restart the connection with the error mentioned. The Screen Blanking option on the Sun Ray DTUs is set to "0" to prevent them from going into power-save mode but this makes no difference. The Sun Ray DTUs are all updated with the latest GUI firmware and there are no custom options set in the Sun Ray Session Servers.
    The thing that bothers me the most is I have not seen any error messages in the logs. I will post up the logs as links in a follow-up post.
    Has anyone had any similar issues while connecting with a Sun Ray DTU?
    Currently we are running Oracle VDI 3.2.1 on the cluster.
    Here are the commands we used to reset the Sun Ray Kiosk accounts:
    # /opt/SUNWkio/bin/kioskstatus -c
    # /opt/SUNWkio/bin/kioskuseradm status
    # /opt/SUNWkio/bin/kioskuseradm delete
    # /opt/SUNWkio/bin/kioskuseradm create -l utku -g utkiosk -i auto -u –c

    I was trying to transfer data from oracle to sql server 2008 on a daily basis.
    I have very hard time connecting to oracle from ssis package on windows server 2008. I am almost dead and cannot find any help. i was able to connect to oracle using import/export 64 bit feature of SQL Server 2008 using Oracle provider for OLEDB. But I am not sure why the same does not work with BIDS?
    Here's the environment info:
    1. Oracle Client 10g
    2. SQL Server 2008
    3. Windows Server 2008
    Appreciate your help. Please save me.
    Thanks,

  • Sun Ray Connector for Windows OS 2.3

    Hi,
    I use Sun Ray Connector for Windows OS 2.3.
    I want to show in windows logon screen ''domain logon'', now show in windows logon screen ''local server logon''.
    What the uttsc parameters I must use?
    I try the use in Sun Ray Connector for Windows in filed parameters:
    for example:
    domain_name_serwer -d my_domain but session sun ray all the time restart.
    If I dont use -d my_domain in Sun Ray Connector for Windows:
    for example:
    domain_name_serwer it´s ok (but show in windows logon local serwer logon).
    Thanks

    The-d option requires the -u option.
    In what way are you using uttsc and what version of Windows are you connecting to?

  • Sun Ray device sharing among DTU

    Hi All,
    Anyone has experience on how to share attached device of a DTU among other DTUs in the same LAN? or perhaps some pointers if any? Thanks in advance.
    Cheers,
    Jonathan

    I tried getting my iphone to connect up. It is recognized but
    there is some kind of error so it doesn't get seen my itunesIt's because iPhone USB device appear as isochronous USB device and Sun Ray Connector USBR feature doesn't support isochronous devices yet. I am not sure if blackberry is also an isochronous USB device or not.

  • USB Print and Storage Center running 100% of cpu

    Macbook Pro 15 in. mid '09, 10.7.4, 8GB DRAM, 500HD.
    Occassionally, I get a very hot computer.  Running Activity Monitor indicates that the USB Print and Storage Center is running the CPU at 100% or in the high 90s. Since I'm not printing or even using USB printing, I haven't figured out what is causing this issue.  Any suggestions?

    Do you have a Belkin router? i have the same problem..
    Found sort of a solution here:
    http://hintsforums.macworld.com/showthread.php?t=140847

  • How to use USB Flash Key Pen Drive in Sun Ray?

    Hello gentlemen,
    Can anyone help me witn USB Flash Key Pen Drive in Sun Ray?
    Every Sun Ray appliance has USB-ports and ammount of them more than default USB-set: Keyboard+mouse.
    The idea: to use one of the rest USB-ports in appliance for USB Flash Key Pen Drive.
    I've tried to find the solution in Sun Ray Documents.
    The result was "zero".
    Can anybody answers the following questions too :
    1. Generaly speaking, is it possible to use USB Flash Key Pen Drive under Solaris/Sun Ray Server Soft?
    2. If exists compatibility list of "Solaris Sun Ray Configurations - USB Flash Key Pen Drive Models" - how can I see it?
    3. Is there anywhere resources on USB Flash Key Pen Drive connection under SPARC-Solaris?
    Thanks in advance!
    Vladimir.

    http://wiki.archlinux.org/index.php/AutoFS_HowTo might be interesting

  • Sun Ray - How to get external USB Card Reader working

    Dear All,
    i have the following problem. Maybe someone could help me or give me a clue to solve it.
    SunRay Software 5 installed
    Window 2003 R2 TerminalServer
    Here my question:
    I use a kiosk session with a smart card to conncet to the windows server - works perfect.
    Login Screen and go.
    Now i have to have to authenticate myself with an external usb card reader and smart
    card (connected to the sun ray) to use a certain application on my win2003 server.
    Via the windows rdp session (from the laptops) everthing is ok. The information from
    the card reader is transferred to the server.
    If i use the Sun Ray nothing happens. So here is my problem:
    How do get the authentication information from the smart card to the server?
    Thanks in advance
    Best regards
    Hans-Peter

    Basically, reinstall the Boot Camp video drivers manually and if that doesn't work then go to the AMD/Radeon website and install the Windows drivers directly for your video card model.
    If you want to do a search you will find others that have pretty good luck doing it either way.

  • USB Video Class Driver on Solaris 10 and Sun Ray

    Hello,
    Is it posible to use the USB Video Class Driver (usbvc) on Solaris 10 and Sun Ray?
    How can I do that?
    Thank you very much.

    It's not possible. The Video Class requires isochronous operation on USB and Sun Ray does not support isochronous mode.
    Even if Sun Ray did support isochronous mode, the libusb library (which is what third-party applications use to interact with USB devices attached to Sun Ray) does not support isochronous transfers. The hard part is the Sun Ray itself. When that gets resolved it probably won't be very hard to add isoc support into libusb.

  • SRS4.1/VDI3.0 Soalris can detect printer forworded form Sun Ray DTU

    Dear all ,
    i need some help on the blow please:
    environment brief:
    i have VM cluster of 8 Servers sun blade 6240 , over this pool of servers there is Virtually 4 VDI 3.0/SRS4.1 servers and pool of windows XP virtual machines , and around 70 Sun Ray 270 DTUs.
    all the VDI/SRS servers are Solaris 10 10/08 Generic_139556-08 i86pc i386 i86pc
    i wanted to configure USB HP LaserJet 2300 Series PCL 6 printer connected to one of the DTUs ,
    So i did the following :
    on solaris
    /usr/sbin/lpadmin -p hp14 /tmp/SUNWut/units/IEEE802.<DTU MAC Addres>/dev/printers/Hewlett-Packard00DP3087F
    /usr/bin/enable hp14
    /user/sbin/accept hp14
    then to connect the printer to windows
    /opt/SUWuttsc/bin/uttsc -r printer:hp14="HP LaserJet 2300 Serise PCL 6"
    the problem is the following the printer gets defined in windows and windows sends the request to the Solaris Sunray server nicely but i cant print .
    the problem in solaris i cant make solaris print any thing on the printer
    in etc/lp/hp14 i found the follwoing the faultMessege file :
    Failed to open the printer port. (No such device)
    also when i try to add the printer from the Solaris print manger it adds it successfully but when i double click on it to show its properties it show the printer port is empty even thwo it exists in the lp/etc/hp14/configuration file and when try to change the printer type for example it give java null point exception.
    i tried another printer diffrent model but it is still the same error message
    i appreciate any help with this.

    Dear all ,
    i need some help on the blow please:
    environment brief:
    i have VM cluster of 8 Servers sun blade 6240 , over this pool of servers there is Virtually 4 VDI 3.0/SRS4.1 servers and pool of windows XP virtual machines , and around 70 Sun Ray 270 DTUs.
    all the VDI/SRS servers are Solaris 10 10/08 Generic_139556-08 i86pc i386 i86pc
    i wanted to configure USB HP LaserJet 2300 Series PCL 6 printer connected to one of the DTUs ,
    So i did the following :
    on solaris
    /usr/sbin/lpadmin -p hp14 /tmp/SUNWut/units/IEEE802.<DTU MAC Addres>/dev/printers/Hewlett-Packard00DP3087F
    /usr/bin/enable hp14
    /user/sbin/accept hp14
    then to connect the printer to windows
    /opt/SUWuttsc/bin/uttsc -r printer:hp14="HP LaserJet 2300 Serise PCL 6"
    the problem is the following the printer gets defined in windows and windows sends the request to the Solaris Sunray server nicely but i cant print .
    the problem in solaris i cant make solaris print any thing on the printer
    in etc/lp/hp14 i found the follwoing the faultMessege file :
    Failed to open the printer port. (No such device)
    also when i try to add the printer from the Solaris print manger it adds it successfully but when i double click on it to show its properties it show the printer port is empty even thwo it exists in the lp/etc/hp14/configuration file and when try to change the printer type for example it give java null point exception.
    i tried another printer diffrent model but it is still the same error message
    i appreciate any help with this.

Maybe you are looking for

  • How to add hint in a text field

    Hello, How do I add a hint in a text field to let the user know what to type in and the hint will disappear when they click on it?

  • Error in Custom Function Module

    Hi, I am working on implementing General Ledger Business content in financial Accounting. We had a requirement of creating a Custom Virtual cube similar to 0FIGL_V10. Hence, we had copied the standard function module RS_BCT_FIGL_DATA_GET_VC10 and cre

  • Trouble with rebuilding the iPhoto library

    Hi, I'd need help for a problem I have found on my dad's Imac. It's a late 2009, 21.5" with Core 2 Duo and 8 GB ram running Snow Leopard and the preinstalled iPhoto (I'm not sure about the version) He told me about some issues with photos in his libr

  • HT3258 Mac OS X v10.6.8 to OS X Mountain Lion

    Is it compatible to Install OS X Mountain lion with my OS X v10.6.8? Clearly I have no idea with how Mac software works, so can anyone kindly give me an answer? Or is snow leopard compatible with my current software?

  • IBook having strange behaviour

    recently, my iBook has been acting weird. without anyone even touching it, the cursor flies around the screen, the trackpad doesn't work and now my mouse is not opening up certain desktop items. i have checked my Sys Prefs a million times but it's no