[X2Go-User] cups-x2go problem printing multiple copies from windows terminal server. Fix inside ( i guess )

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Thu Mar 8 22:21:17 CET 2012


Hi all,

On Do 08 Mär 2012 16:26:31 CET Helmer Teles wrote:

> Hello, ML.
>
>
> I've found a bug when i try to print multiple copies from a Windows Terminal
> Server to x2go-printer if the document has only one page, it only prints one
> copy. Strangely this does not happen if the document has more than one page.
>
> How to reproduce
>
> Open a x2go-session, open Freerdp to a windows terminal server, write a new
> Word Document with only one page. Now print the document with more than 1
> copy.
>
>
> Steps to correct it:
>
> I've changed the line in /usr/lib/cups/backend/cups-x2go to:
>
> # PS2PDF command
> my $ps2pdf = "/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -
> dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s.pdf\"  
> -dAutoRotatePages=/PageByPage
> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -
> dPDFSETTINGS=/printer -dDoNumCopies  -c .setpdfwrite -f \"%s\"";
>
> FROM:
>
> # PS2PDF command
> my $ps2pdf = "/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -
> dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s.pdf\"  
> -dAutoRotatePages=/PageByPage
> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -
> dPDFSETTINGS=/prepress -c .setpdfwrite -f \"%s\"";

Just for the record, this change suggestion is heavily discussed on  
x2go-dev. Please read the postings on GMANE if interested.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20120308/f17ed669/attachment.pgp>


More information about the x2go-user mailing list