[cups] Printed output has umlaut instead of capital P

Johannes Meixner jsmeix at suse.de
Fri Jun 27 06:16:09 PDT 2014


Hello Helge,

many thanks for your detailed background information.
Now I understand it and I can prove that you are right!

On Jun 27 11:38 Helge Blischke wrote (excerpt):
> On the other hand, qpdfview or evince (probably) converts
> the PDF to PostScript, which will bi again converted to PDF
> by tne pstopdf filter of the cups-filters package.

On openSUSE 13.1 evince produces PDF as printout data format
in compliance with the general move away from PostScript
to PDF as the standard print job format, see
http://www.linuxfoundation.org/collaborate/workgroups/openprinting
-------------------------------------------------------------------
PDF is the standard print job format from CUPS 1.6.x on
All important desktop applications (GTK/GNOME, Qt/KDE, 
LibreOffice/OpenOffice.org, Firefox, Thunderbird, ...)
send print jobs in PDF and not in PostScript any more by default. 
-------------------------------------------------------------------

But a test shows that the PDF printout data from evince
is not the original PDF input file:
-------------------------------------------------------------------
# lpadmin -p testy -v file:/dev/null -E

# cupsdisable testy

# echo hello | a2ps -1 -M letter -o- | ps2pdf - >/tmp/hello.pdf

$ evince /tmp/hello.pdf
[printing from evince into the testy print queue
  results /var/spool/cups/d00265-001]

# cp /var/spool/cups/d00265-001 /tmp/hello.evince.printout.pdf

# ls -ltr /tmp/hello*pdf
... 10904 Jun 27 14:52 /tmp/hello.pdf
... 25911 Jun 27 14:54 /tmp/hello.evince.printout.pdf

# pdfinfo /tmp/hello.pdf
Title:          stdin
Author:         root
Creator:        a2ps version 4.13
Producer:       GPL Ghostscript 9.07
CreationDate:   Fri Jun 27 14:52:02 2014
ModDate:        Fri Jun 27 14:52:02 2014
Tagged:         no
Form:           none
Pages:          1
Encrypted:      no
Page size:      612 x 792 pts (letter)
Page rot:       0
File size:      10904 bytes
Optimized:      no
PDF version:    1.4

# pdfinfo /tmp/hello.evince.printout.pdf
Creator:        cairo 1.12.16 (http://cairographics.org)
Producer:       cairo 1.12.16 (http://cairographics.org)
Tagged:         no
Form:           none
Pages:          1
Encrypted:      no
Page size:      612 x 792 pts (letter)
Page rot:       0
File size:      25911 bytes
Optimized:      no
PDF version:    1.5
-------------------------------------------------------------------

evince converts the original PDF into a new PDF by using cairo.

This proves that it makes a difference whether or not the original
PDF file is submitted unchanged to CUPS via the "lp" command
or submitted as a new (different) PDF to CUPS via evince/cairo.


> LaTeX generated PDFs tend to use the same font
> with rapidly changing encoding vectors

Good grief!


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer



More information about the cups mailing list