[CentOS] Windows PC PostScript printer driver -> CUPS data import fails

m.roth at 5-cent.us m.roth at 5-cent.us
Thu Apr 12 15:06:06 UTC 2018


Yan Li wrote:
> On 04/12/2018 03:08 AM, Gary Stainburn wrote:
>> The PDF contains:
>>
>> ERROR: invalidfileaccess
>> OFFENDING COMMAND: .findfont
>> OPERAND STACK:
>> r
>> /usr/share/X11/fonts/Type1/UTBI____.pfa
>> --nostringval--
>> true
>> NimbusMonL-Regu
>> Courier
>> --nostringval--
>> Courier
>> 4544317
>> Courier
>> Font
>> Courier
> It seems that .findfont can't find a font file that the PS file is
> asking for. Is it possible that your Windows 10 is printing using some
> new fonts that your CentOS doesn't have?
>
> I'd try:
> 1. Use ps2ascii instead of ps2pdf+pdftotext.
>
> 2. Copy all font files from Windows 10 to your CentOS. Maybe put them in
> ~/.fonts and see if that could make ps2pdf happy.
>
I'd recommend, to start, installing msttcorefonts, and see if that helps.

        mark




More information about the CentOS mailing list