Re: Critical BUG: can not print to Mac 10.6.6

Peter Åstrand <[email protected]> Tue, 12 Apr 2011 14:04:52 +0200 (CEST)
Newsgroups gmane.network.rdesktop.user
Message-ID <[email protected]>
> On 03/10/2011 11:03 AM, Beaumont, Kevin wrote:
>>> CoRD prints fine.  rdesktop's window exits when you press print on two
>> different osx 10.6.6 computers. My other Mac customers with prior
>> version of osx 10.6.6 print fine from rdesktop.
>>
>> Do they have different types of printers?  Maybe it's that.
>
> More information.  One of my customers on Mac OS 10.6.6 suddenly
> developed the problem.  What transpired was that the customer does not
> like Epson printers, so she handed it down to another Windows user and
> got herself a brand new shiny HP Office Jet 7500A attached on the
> USB bus.  No Ethernet connection.  And it is her only locally
> attached printer.

Hi, I managed to reproduce the problem by using the command line you gave 
in the original email. Technically, the problem is that rdesktop prints by 
calling the "lpr" command. If this command terminates very quickly, 
rdesktop will recieve the SIGPIPE signal when it writes the printer data 
to the "lpr" pipe. This causes rdesktop to exit.

I just checked in a fix which prevents this. Your real problem, however, 
is that the "lpr" command terminates instead of accepting printer data. 
When I tested with your command line, the reason is obvious: I do not have 
any printer called HP_Color_Laser_2840_143703_ . In your case, it may be 
something else. You may want to try to manually print using a lpr command 
such as:

lpr -P HP_Color_Laser_2840_143703_ somefile.txt


Regards, 
---
Peter Åstrand		ThinLinc Chief Developer
Cendio AB		http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping	Phone: +46-13-21 46 00

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo

_______________________________________________
rdesktop-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-users