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: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgplxw7vLbZcW.pgp
Description: Digitale PGP-Unterschrift

_______________________________________________
X2Go-User mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-user

Reply via email to