Ghostscript / CUPS-PDF default font problem

Chris thwiang at comcast.net
Fri Dec 18 09:47:24 PST 2009


I'm using CUPS-PDF with Ubuntu 9.10 to take anything I print to the CUPS-PDF printer and send it to a folder with a filename format of (Jobname_YYYYMMDD_HHMMSS.pdf).

I've got everything working through configuring the "CUPS-PDF.conf" and making a few changes to the "apparmor.d/usr.sbin.cupsd" file, although I'm pretty sure I set apparmor to ignore cups altogether.

To add another twist to all this I'm using an xinetd.d LPR daemon to take print jobs from an HP3000 mainframe running MPE/iX.

Anyway, I've got the PDFs naming correctly and showing up in the directory I want them to, but here's the problem:

The PDFs are not searchable, I'm not too sure why. The pages aren't images, they are created using FreeMono and FreeMonoBold embedded fonts. I'm wondering if font encoding could be my problem. When I select a line of text from the PDF and try to paste it (In Windows) I get "special" characters like windows has no idea what font to use -> 􀁗􀁈􀁖􀁗

So, here's the question... Does anyone know how to change the default font that Ghostscript / CUPS-PDF will use to create a PDF from an LPR text stream? I think I need to go from a default of FreeMono and FreeMonoBold to Courier_New and Courier_New_Bold, but I don't know where to change that...

Any help would be appreciated
Thanks,




More information about the cups mailing list