apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.95k stars 464 forks source link

PageSize reset to [612, 792] #1691

Closed michaelrsweet closed 18 years ago

michaelrsweet commented 18 years ago

Version: 8.15.2 CUPS.org User: panic

Unable to print to a printer not supporting Letter size, because gs-driver first sets PageSize correctly, but then resets it to [612, 792]. Evidence of this can be seen in the foomatic-rip.log file.

OS: Linux Fedora Core 5 Arch: x86_64

Attached:

michaelrsweet commented 18 years ago

CUPS.org User: mike

Please verify the version number - you had picked 1.1.23 which is not valid for ESP Ghostscript...

michaelrsweet commented 18 years ago

CUPS.org User: panic

Sorry. My ghostscript version is 8.15.2 (Fedora RPM release 1-1 of 2006-04-25)

michaelrsweet commented 18 years ago

CUPS.org User: panic

What is the status of fixes for this bug? I still have the same problem...

michaelrsweet commented 18 years ago

CUPS.org User: panic

What is the status of this bug? It seems that if no devicewidth or height is specified as switches, gs picks the default letter size DESPITE the fact that a different size might be specified in the PostScript stream.

michaelrsweet commented 18 years ago

CUPS.org User: panic

No activity since 15th May; anybody considering this bug???

michaelrsweet commented 18 years ago

CUPS.org User: mike

Keep in mind that you are getting support FOR FREE, and in our spare time.

Right now CUPS is keeping me pretty busy and I haven't had a chance to look at this issue further.

michaelrsweet commented 18 years ago

CUPS.org User: krumboeck

Please download source and compile it yourself. Some distributors have their own imagination how to preconfigure and package software.

My experiences:

I already used this driver with SuSE 8.2, Debian 3.1, Ubuntu 5.1 and Dapper Drake.

Input format: PDF (pdflatex) Printer: Brother pTouch QL-500 (and also another pTouch model)

SuSE 8.2: Worked almost perfect out of the box.

Debian 3.1: You have to modify /etc/cups/pdftops.conf: -psPaperSize letter +psPaperSize match

Ubuntu 5.1: (don't know exactly, but I think it was the same psPaperSize proplem we already had with Debian)

Ubuntu Dapper Drake: No chance to get it work! pdftops implementation is completly broken. No real chance to fix it without recompile anything. My quick and dirty solution was to copy pdftops filter from SuSE. :(

Maybe redhat use a patch which damage ghostscript? Maybe it has something to do with http://www.cups.org/espgs/str.php?L1641

Please try to figure out if ghostscript is the problem. --> maybe your distributor did the mistake.

best regards! Bernd

michaelrsweet commented 18 years ago

CUPS.org User: mike

Based on the files and your information, it appears that the problem is in fact foomatic, not in ESP Ghostscript...