[cups] PDF workflow with old server?

Johan Bengtsson elijah at chalmers.se
Thu Apr 16 03:41:08 PDT 2015


On Thu, 16 Apr 2015, Helge Blischke wrote:

>>> pdftops						Perl script (needed at least Perl 5.8.3)
>>> 			to be put into /usr/lib/cups/filter
>>> pdftops.conf					configuration file, needed for the xpdf utility from footballs.com
>>> 			to be put into /etc/cups (the Perl scripts reads it from there)
>>> 
>>> The configuration file can be empty if you use the pdftops utility from poppler-utils.
>> 
>> OK, I tried now, printing is fast enough. But unfortunately tray selection is
>> ignored.
> Looking into the sources of cuts-1.4.x, I see that the „mime.convs“ file as generated
> by the configure script contains the line
> application/pdf		application/vnd.cups-postscript	66	pdftops
> For use with the pdftops filter from me, replace it by
> application/pdf		application/postscript			66	pdftops
> to make sure that the PostScript created by this pdftops filter is fed
> through the stops filter, which honours all of the PDF default settings.
> (The original 1.4.x pdftops filter calls the stops filter internally).
>
> If you prefer not to modify the mime.cons file, I could easily modify my
> filter script to mimic the behavior of the original pdftops filter. Let me know.

OK, it works now after modifying the mime.convs file.:-) This is just a lab 
server I'm working with, I don't know if we need the original behaviour yet...

This line in the pdftops.conf file, is it something I need to worry about?
#
# Where to search for fonts not embedded in the PDF (currently, Type1 fonts 
only)
#
fontDir /PostScript/pfa

[root at vmtest002 log]# locate pfa
/usr/bin/pfb2pfa
/usr/bin/pfbtopfa
/usr/bin/wftopfa
/usr/local/redhat/BUILD/gnutls-1.4.1/gl/m4/sockpfaf.m4
/usr/local/redhat/BUILD.appro/gnutls-1.4.1/gl/m4/sockpfaf.m4
/usr/local/share/ghostscript/8.15/lib/pfbtopfa.ps
/usr/local/share/ghostscript/8.15/lib/wftopfa.ps
/usr/share/X11/fonts/Type1/UTBI____.pfa
/usr/share/X11/fonts/Type1/UTB_____.pfa
/usr/share/X11/fonts/Type1/UTI_____.pfa
/usr/share/X11/fonts/Type1/UTRG____.pfa
/usr/share/X11/fonts/Type1/cour.pfa
/usr/share/X11/fonts/Type1/courb.pfa
/usr/share/X11/fonts/Type1/courbi.pfa
/usr/share/X11/fonts/Type1/couri.pfa
/usr/share/X11/fonts/Type1/cursor.pfa
/usr/share/X11/fonts/Type1/l047013t.pfa
/usr/share/X11/fonts/Type1/l047016t.pfa
/usr/share/X11/fonts/Type1/l047033t.pfa
/usr/share/X11/fonts/Type1/l047036t.pfa
/usr/share/X11/fonts/Type1/l048013t.pfa
/usr/share/X11/fonts/Type1/l048016t.pfa
/usr/share/X11/fonts/Type1/l048033t.pfa
/usr/share/X11/fonts/Type1/l048036t.pfa
/usr/share/X11/fonts/Type1/l049013t.pfa
/usr/share/X11/fonts/Type1/l049016t.pfa
/usr/share/X11/fonts/Type1/l049033t.pfa
/usr/share/X11/fonts/Type1/l049036t.pfa
/usr/share/a2ps/fonts/pcfont.pfa
/usr/share/doc/libcap-1.10/capfaq-0.2.txt
/usr/share/doc/systemtap-client-1.8/examples/memory/pfaults.meta
/usr/share/doc/systemtap-client-1.8/examples/memory/pfaults.stp
/usr/share/fonts/default/ghostscript/bchb.pfa
/usr/share/fonts/default/ghostscript/bchbi.pfa
/usr/share/fonts/default/ghostscript/bchr.pfa
/usr/share/fonts/default/ghostscript/bchri.pfa
/usr/share/fonts/default/ghostscript/hrger.pfa
/usr/share/fonts/default/ghostscript/hrgrr.pfa
/usr/share/fonts/default/ghostscript/hritr.pfa
/usr/share/fonts/default/ghostscript/hrpld.pfa
/usr/share/fonts/default/ghostscript/hrpldi.pfa
/usr/share/fonts/default/ghostscript/hrplt.pfa
/usr/share/fonts/default/ghostscript/hrplti.pfa
/usr/share/fonts/default/ghostscript/hrscc.pfa
/usr/share/fonts/default/ghostscript/hrscs.pfa
/usr/share/fonts/default/ghostscript/putb.pfa
/usr/share/fonts/default/ghostscript/putbi.pfa
/usr/share/fonts/default/ghostscript/putr.pfa
/usr/share/fonts/default/ghostscript/putri.pfa
/usr/share/ghostscript/8.70/lib/pfbtopfa.ps
/usr/share/ghostscript/8.70/lib/wftopfa.ps
/usr/share/groff/1.18.1.1/font/devps/symbolsl.pfa
/usr/share/groff/1.18.1.1/font/devps/zapfdr.pfa
/usr/share/man/de/man1/wftopfa.1.gz
/usr/share/man/man1/pfb2pfa.1.gz
/usr/share/man/man1/pfbtopfa.1.gz
/usr/share/man/man1/wftopfa.1.gz
/usr/share/ogonkify/fonts/pcrb-o.pfa
/usr/share/ogonkify/fonts/pcrbo-o.pfa
/usr/share/ogonkify/fonts/pcrr-o.pfa
/usr/share/ogonkify/fonts/pcrro-o.pfa
/usr/share/ogonkify/fonts/phvb-o.pfa
/usr/share/ogonkify/fonts/phvbo-o.pfa
/usr/share/ogonkify/fonts/phvr-o.pfa
/usr/share/ogonkify/fonts/phvro-o.pfa
/usr/share/ogonkify/fonts/ptmb-o.pfa
/usr/share/ogonkify/fonts/ptmbi-o.pfa
/usr/share/ogonkify/fonts/ptmr-o.pfa
/usr/share/ogonkify/fonts/ptmri-o.pfa
/usr/share/texmf/tex/generic/ukrhyph/ukrhypfa.tex
[root at vmtest002 log]#

Johan Bengtsson/Chalmers IT-service


More information about the cups mailing list