[X2go-dev] Windows X2Go printing

Oleksandr Shneyder oleksandr.shneyder at obviously-nice.de
Wed May 19 08:34:27 CEST 2010


John A. Sullivan III schrieb:
> On Tue, 2010-05-18 at 13:08 -0400, John A. Sullivan III wrote:
>> Hello, all.  We are trying to finish off the punch list for our first
>> major X2Go deployment so I expect to be sending lots of smaller issues
>> to the list.
>>
>> One not so small issue is a problem with using the X2Go client printing
>> on Windows stations.  The portability of this solution is magnificent
>> but we are noticing that the windows client cannot directly print to the
>> local printers.  Whenever we send a print job from the X2Go server to
>> the Windows X2Go client (3.0.1-4), the print dialog properly displays.
>> However, no matter which local printer we choose, whichever application
>> Windows has associated with PDF files opens instead and displays the PDF
>> rather than printing it.
>>
>> Has anyone else seen this behavior? It is 100% reproducible for us.  Why
>> is this happening? Is there a workaround? We're about to dive into the
>> code to see what we can find but really don't know what we are looking
>> at or for so any guidance would be greatly appreciated - John
> <snip>
> Hmm . . . I'm noticing huge ifndef Q_OS_WIN sections eliminating almost
> all of the cupsprintersettingsdialog.cpp and cupsprint.cpp files.  Am I
> beating my head against the wall trying to get the Windows client to use
> the listed printers? As far as I can tell, one can't even access the
> printer settings no less print to them.
> 
> Does it print only to the PDF application by design? If so, why do we
> bother to display all the other printers? It is very misleading to the
> users. I would think there should only be a view as PDF option.  Thanks
> - John
> 
> _______________________________________________
> X2go-dev mailing list
> X2go-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev

Hello John,

Windows Client have not support for CUPS, it using Win API function
"ShellExecute" with parameters "print", printer name and PDF file. In
this case Windows should send this file to application that associated
with the file type "PDF". It is a task of specified application to print
this file. On my windows testing machine Adobe Acrobat 5.0 doing this
job well. However, after the document will be printed on specified
printer Adobe Acrobat open this document in "view" mode.


You can also specify your own print command in printing dialog of
x2goclient. For example, you can install Ghostprint and Ghostview and
print using "gsprint.exe -query"
-query - saying gsprint to show printers list



-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  oleksandr.shneyder at obviously-nice.de
web: www.obviously-nice.de

--> X2go - everywhere at home

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20100519/56f6e884/attachment.pgp>


More information about the x2go-dev mailing list