Re: [Thinstation-general] lpr not functioning in 2.2.2c/d?
Brought to you by:
doncuppjr
|
From: Steve G. <sg...@gm...> - 2010-04-29 07:39:29
|
Joey, I was having a similar problem in that the Citrix universal driver was being used. I got around the problem by enabling lp_server, lpr and lprng in build.conf.buildtime and and adding: PRINTER_0_NAME="HP Deskjet 880C" PRINTER_0_DRIVER="HP Deskjey 880C" PRINTER_0_DEVICE=/dev/usb/lp0 PRINTER_0_TYPE=U To the thinstation.conf.network file Remember that the driver name and driver must be exactly as it is seen in Citrix. This will then bring up 2 printers in your Citrix session - one of which will be with the universal print driver and one with the correct driver. You can then use a Citrix print policy to get rid of the printer with the universal driver. We are using some local printers on thinstations with great success using this method - if you need anymore info on configs etc then drop me a mail.. Steve > ----- Original Message ----- > From: Mike Eriksen > Sent: 28/04/10 06:59 PM > To: Joey Vandegrift > Subject: Re: [Thinstation-general] lpr not functioning in 2.2.2c/d? > On Wed, Apr 28, 2010 at 6:55 PM, Joey Vandegrift <ye...@ho...> wrote: > Mike, > Thanks to your suggestion I'm now getting closer to having a working local > printer. ;) After enabling lprng I can now see the printer in citrix. > However, the problem I have now is that it is ignoring my printer driver > specification. Here is my config from the thinstation.conf-macadrress file: > PRINTER_0_NAME="HP Deskjet 880C" > PRINTER_0_DEVICE=/dev/usb/lp0 > PRINTER_0_TYPE=U > In my citrix session the printer is using the HP Color Laserjet PS driver > (which is one of the standard Universal Printer Drivers provided by citrix) > no matter what I specify in the config file. It is printing, but since it > is using the post script driver it is printing garbage. Is there something > else I need to specify in the configuration file when using lprng to get > this to map the correct windows driver? > -Joey I have zero experience with ICA, so others have to help you out here. Mike > > >> Date: Wed, 28 Apr 2010 03:11:57 +0200 >> Subject: Re: [Thinstation-general] lpr not functioning in 2.2.2c/d? >> From: thi...@gm... >> To: ye...@ho... >> CC: thi...@li... >> >> On Wed, Apr 28, 2010 at 2:22 AM, Joey Vandegrift <ye...@ho...> >> wrote: >> > Ok, so I am still trying to get a local usb printer (i am testing an HP >> > Deskjet 880C) to work using lpr. I recompiled my image using >> > thinstation >> > 2.2.2d and I still get nothing. I have attached my original message >> > below >> > detailing my issue. Is anyone using local printers with thinstation >> > 2.2.2c/d currently and with success? Everything else is working >> > perfectly >> > and this lpr issue is the only thing holding me back from rolling out >> > the >> > new version to my thin clients. >> > >> > Here is what I am seeing from /var/log/messages: >> > >> > User.info kernel: drivers/usb/class/usblp.c: Disabling reads from >> > problem >> > bidirectional printer on usblp0 >> > User.info kernel: drivers/usb/class/usblp.c: usblp0: USB Unidirectional >> > printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0104 >> > lpr.info lpd [3059]: restarted >> > User.info pcsd: pcsdaemon.c: 464: main () pcsc-lite 1.3.1 daemon ready >> > User.info pcsd: hotplug_libusb.c: 105: HPReadBundleValues () Cannot open >> > PC/SC drivers directory: /usr/lib/pcsc/drivers >> > User.info pcsd: hotplug_libusb.c: 106: HPReadBundleValues () Disabling >> > USB >> > Support for pcsd >> > >> > Can anyone help me determine what this means? Is there supposed to be a >> > /usr/lib/pcsc/drivers directory? I am building my image using Fedora >> > Core >> > 6... could this be my problem or does that matter? >> >> No, that doen't matter, but that's truely an antique distro :-) >> >> Give lprng a try instead. Works here like a charm: >> >> build.conf: >> package lprng >> >> thinstation.conf* >> #Using HP JetDirect on port 9100: >> PRINTER_0_NAME=hp3020 >> PRINTER_0_DEVICE=10.0.0.99%9100 #printer_id%9100 >> PRINTER_0_TYPE=N >> >> No reason why a USB printer shouldn't work too. I always found lpr odd >> myself and lprng way more mature. >> >> Mike >> -- >> Operator of the Danish TS-O-Matic. >> http://thinstation.org >> - a light, full featured linux based thin client OS > -- Operator of the Danish TS-O-Matic. http://thinstation.org - a light, full featured linux based thin client OS ------------------------------------------------------------------------------ _______________________________________________ Thinstation-general mailing list Thi...@li... https://lists.sourceforge.net/lists/listinfo/thinstation-general |