-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reverse printing in landscape, nup, and other configurations is broken #1725
Comments
CUPS.org User: david.gelphman Actually the fix should be: doc_puts(doc, "userdict/ESPsave get restore\n") instead of doc_puts(doc, "userdict/ESPsave get restore") |
CUPS.org User: mike Actually, it looks like the problem is much larger than this - we need to update the WriteLabels function to accept a cups_file_t * argument so that the labels go to the temp file as well... Working on it... |
CUPS.org User: mike Fixed in Subversion repository. Please verify the attached patch... |
"str1725.patch": Index: pstops.c--- pstops.c (revision 5595)
/* /*
switch (doc->number_up)
@@ -1878,7 +1880,7 @@
+/*
|
Version: 1.2-current
CUPS.org User: david.gelphman
When end_nup is called and the code needs to emit "userdict/ESPsave get restore", that code is written using puts rather than doc_puts, which puts all the data before any page rather than as part of a given page.
Diffs for the fix are below:
diff filter/pstops.c /XSource/easysw/cups/filter/pstops.c
2c2
< * "$Id: pstops.c 164 2006-05-23 17:38:13Z jlovell $"
The text was updated successfully, but these errors were encountered: