https://bugzilla.novell.com/show_bug.cgi?id=822102
https://bugzilla.novell.com/show_bug.cgi?id=822102#c1
Johannes Meixner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Platform|x86-64 |All
Found By|--- |Community User
Resolution| |INVALID
--- Comment #1 from Johannes Meixner 2013-06-04 06:50:06 CEST ---
I do not have a Minolta Magicolor 3300 printer.
Therefore I cannot reproduce your particular issue.
What I did on my openSUSE 12.3 system to try to reproduce it
as far as possible was:
1.)
I added a "FileDevice yes" line to /etc/cups/cupsd.conf
and restarted the cupsd.
2.)
I set up a print queue for a Minolta Magicolor 3100 printer
that outputs into a file using the command:
# lpadmin -p testy \
-v file:///tmp/testy.prn \
-m OpenPrintingPPDs/postscript/Minolta-magicolor_3100.Postscript.ppd.gz \
-E
3.)
I printed your attachment #541631
via this print queue into the file /tmp/testy.prn using the command:
$ lp -d testy bug-822102_cv_range.pdf
4.)
Because the Minolta Magicolor 3100 is a PostScript printer,
the printout in /tmp/testy.prn is a PostScript file
so that one can view it using Ghostscript via the command:
$ gs -r75 /tmp/testy.prn
5.)
To compare the printout in /tmp/testy.prn with the original PDF
I viewed also your attachment #541631
using the Adobe Reader (i.e. via the "acroread" command).
I don't see a visual difference between the printout
as shown by Ghostscript compared to the original PDF
as shown by "acroread".
Therefore - from my point of view - the printout is correct.
I cannot reproduce how the printout gets printed off-center on your
particular Minolta Magicolor 3300 printer.
Perhaps it helps when you print it using the "fitplot" or "fit-to-page"
printing option in CUPS as described in
http://en.opensuse.org/SDB:Landscape_Printing
For printing it is crucial that the content of the original PDF page
fits in the printable area of the paper of your particular printer.
When printing an arbitrary PDF page with plain "lpr" there is no
automated functionality that fits the content on the paper.
The command
$ gs -sDEVICE=bbox -dBATCH -dNOPAUSE bug-822102_cv_range.pdf \
| grep '%BoundingBox'
results "%%BoundingBox: 0 0 632 519".
This shows that the content of your original PDF page
does not fit on usual A4 paper because
A4 paper has those dimesions (see your PPD file)
PaperDimension A4/A4: "595 842"
The Minolta-magicolor_3100.Postscript.ppd.gz file shows those
printable area for A4 paper:
ImageableArea A4/A4: "14.17 14.17 580.83 827.83"
Because the content of your original PDF page does not fit in
the printable area of the paper of your particular printer,
it cannot print correctly using plain "lpr".
Therefore the issue is no bug and I close it as "invalid".
I don't know why it worked for you with older openSUSE versions.
When it worked with older openSUSE versions it was only by luck.
See
http://en.opensuse.org/SDB:Landscape_Printing
for some more information.
Background information:
The reason that you can print via the Adobe Reader is:
When you print a PDF from the Adobe Reader, the Adobe Reader itself
converts the PDF to PostScript so that the Adobe Reader sends
PostScript to CUPS.
The Adobe Reader provides "Autorotate Scale and Center" features
to make the the content of the original PDF page fit on paper
and that is the reason why the printout is centered when
printing from the Adobe Reader.
In contrast when you print a PDF not via the Adobe Reader,
CUPS runs first of all /usr/lib/cups/filter/pdftops which is
a wrapper that calls /usr/bin/pdftops that actually converts PDF
to PostScript (/usr/bin/pdftops belongs to the poppler-tools RPM).
Perhaps there is no automated "Autorotate Scale and Center" feature
in /usr/bin/pdftops and then it does not print centered.
When CUPS gets PDF it must convert it into PostScript because
CUPS needs PostScript so that CUPS can add the PostScript snippets
from the PPD file to enable this or that printer-specific option, see
https://en.opensuse.org/Concepts_printing
and
https://en.opensuse.org/SDB:CUPS_in_a_Nutshell#PPD_Files
Furthermore there is /usr/bin/pdf2ps (/usr/bin/pdf2ps belongs to
the ghostscript RPM) that also converts PDF to PostScript which is
a bash script that calls Ghostscript to actually do the conversion.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.