Doesn't force the media option as -sPAPERSIZE for gs

Bug #192717 reported by Ignacy Gawędzki
2
Affects Status Importance Assigned to Milestone
foomatic-filters (Ubuntu)
Invalid
Undecided
Lars Karlitski

Bug Description

Binary package hint: foomatic-filters

Apparently foomatic-rip doesn't pass media information as -sPAPERSIZE to ghostscript, so that the latter eventully looks into /etc/papersize (through libpaper?) and doesn't always get the right parameter.

Revision history for this message
Ignacy Gawędzki (iazz) wrote :

I forgot to say that this only poses a problem when the original postscript file has its bounding box modified by the pstops filter in CUPS, since then gs doesn't know how to position the print on the sheet. It should be pretty easy to "force" the papersize to gs via the PPD or foomatic-rip, at least for the maintainer(s).

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Note that with practically all drivers the paper size is supplied to Ghostscript, as all PPDs have a "PageSize" option. They do not all use the "-sPAPERSIZE" option for Ghostscript, most embed PostScript commands into the job data to set the paper size, some others use "-sDEVICEHEIGHTPOINTS" and "-sDEVICEWIDTHPOINTS".

To find out what your problem is more information is needed. Which printer do you have? Which driver are you using? Which files did you send to the printer?

Can you attach the PPD file for your printer (from /etc/cups/ppd) and also files which you tried to print and which came out broken?

Changed in foomatic-filters:
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

One update: To make it possible that foomatic-rip can also feed PDF instead of PostScript into Ghostscript we have changed most PPDs to use "-sDEVICEHEIGHTPOINTS" and "-sDEVICEWIDTHPOINTS" to supply the dimensions of the paper to Ghostscript without foomatic-rip needing to convert the PDF to PostScript first.

iazz , please still supply us with everything which I have asked you in the previous comment.

Changed in foomatic-filters:
assignee: nobody → larsuebernickel
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

No reaction from original poster for months, closing ...

Changed in foomatic-filters:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.