Created attachment 942661 [details] log of 'echo test|lpr' Description of problem: As long as I try to print something other than 'cups test page' I have blank page coming from printer. Version-Release number of selected component (if applicable): bluez-cups.x86_64 5.23-1.fc22 cups.x86_64 1:1.7.5-7.fc22 cups-client.x86_64 1:1.7.5-7.fc22 cups-devel.x86_64 1:1.7.5-7.fc22 cups-filesystem.noarch 1:1.7.5-7.fc22 cups-filters.x86_64 1.0.59-1.fc22 cups-filters-libs.x86_64 1.0.59-1.fc22 cups-libs.i686 1:1.7.5-7.fc22 cups-libs.x86_64 1:1.7.5-7.fc22 cups-pk-helper.x86_64 0.2.5-5.fc22 gutenprint-cups.x86_64 5.2.10-8.fc22 python-cups.x86_64 1.9.67-2.fc22 python3-cups.x86_64 1.9.67-2.fc22 How reproducible: always Steps to Reproduce: 1. echo test | lpr or 1. open pdf in okular 2. print it Actual results: blank page Expected results: proper printout Additional info: cups debugging suxx. I did "cupsctl LogLevel=debug2" and one job gave me some debug and next did not.
wrz 30 12:25:31 puchatek cupsd[952]: [Job 233] Error: /invalidfont in /findfont wrz 30 12:25:31 puchatek cupsd[952]: [Job 233] Operand stack: wrz 30 12:25:31 puchatek cupsd[952]: [Job 233] Helvetica Looks like bug #921706. What do these commands say?: rpm -q urw-fonts rpm -V urw-fonts grep -l Nimbus /var/cache/fontconfig/*
13:02 hrw@puchatek:~$ rpm -q urw-fonts urw-fonts-1.10-1.fc22.noarch 13:02 hrw@puchatek:~$ rpm -V urw-fonts 13:02 hrw@puchatek:~$ grep -l Nimbus /var/cache/fontconfig/* /var/cache/fontconfig/b79f3aaa7d385a141ab53ec885cc22a8-le64.cache-4
13:20 root@puchatek:del# rpm -q ghostscript urw-fonts fontconfig ghostscript-9.15-1.fc22.x86_64 urw-fonts-1.10-1.fc22.noarch fontconfig-2.11.1-5.fc22.x86_64 fontconfig-2.11.1-5.fc22.i686 13:22 root@puchatek:del# gs -sDEVICE=nullpage -dBATCH -c '(Helvetica) findfont' GPL Ghostscript 9.15 (2014-09-22) Copyright (C) 2014 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Can't find (or can't open) font file /usr/share/ghostscript/9.15/Resource/Font/NimbusSanL-Regu. Can't find (or can't open) font file NimbusSanL-Regu. Can't find (or can't open) font file /usr/share/ghostscript/9.15/Resource/Font/NimbusSanL-Regu. Can't find (or can't open) font file NimbusSanL-Regu. Querying operating system for font files... Can't find (or can't open) font file /usr/share/ghostscript/9.15/Resource/Font/NimbusSanL-Regu. Can't find (or can't open) font file NimbusSanL-Regu. Didn't find this font on the system! Substituting font Courier for NimbusSanL-Regu. Can't find (or can't open) font file /usr/share/ghostscript/9.15/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Can't find (or can't open) font file /usr/share/ghostscript/9.15/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Didn't find this font on the system! Unable to substitute for font. Error: /invalidfont in /findfont Operand stack: Helvetica Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1887 1 3 %oparray_pop Dictionary stack: --dict:1179/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- Current allocation mode is local Last OS error: Not a directory GPL Ghostscript 9.15: Unrecoverable error, exit code 1
Thanks. And this?: strings /var/cache/fontconfig/* | grep default/Type1
13:24 hrw@puchatek:fonts$ strings /var/cache/fontconfig/* | grep default/Type1 /usr/share/fonts/default/Type1 /usr/share/fonts/default/Type1 /usr/share/fonts/default/Type1/a010013l.pfb /usr/share/fonts/default/Type1/a010015l.pfb /usr/share/fonts/default/Type1/a010033l.pfb /usr/share/fonts/default/Type1/a010035l.pfb /usr/share/fonts/default/Type1/b018012l.pfb /usr/share/fonts/default/Type1/b018015l.pfb /usr/share/fonts/default/Type1/b018032l.pfb /usr/share/fonts/default/Type1/b018035l.pfb /usr/share/fonts/default/Type1/c059013l.pfb /usr/share/fonts/default/Type1/c059016l.pfb /usr/share/fonts/default/Type1/c059033l.pfb /usr/share/fonts/default/Type1/c059036l.pfb /usr/share/fonts/default/Type1/d050000l.pfb /usr/share/fonts/default/Type1/n019003l.pfb /usr/share/fonts/default/Type1/n019004l.pfb /usr/share/fonts/default/Type1/n019023l.pfb /usr/share/fonts/default/Type1/n019024l.pfb /usr/share/fonts/default/Type1/n019043l.pfb /usr/share/fonts/default/Type1/n019044l.pfb /usr/share/fonts/default/Type1/n019063l.pfb /usr/share/fonts/default/Type1/n019064l.pfb /usr/share/fonts/default/Type1/n021003l.pfb /usr/share/fonts/default/Type1/n021004l.pfb /usr/share/fonts/default/Type1/n021023l.pfb /usr/share/fonts/default/Type1/n021024l.pfb /usr/share/fonts/default/Type1/n022003l.pfb /usr/share/fonts/default/Type1/n022004l.pfb /usr/share/fonts/default/Type1/n022023l.pfb /usr/share/fonts/default/Type1/n022024l.pfb /usr/share/fonts/default/Type1/p052003l.pfb /usr/share/fonts/default/Type1/p052004l.pfb /usr/share/fonts/default/Type1/p052023l.pfb /usr/share/fonts/default/Type1/p052024l.pfb /usr/share/fonts/default/Type1/s050000l.pfb /usr/share/fonts/default/Type1/z003034l.pfb 13:25 hrw@puchatek:fonts$ fc-list "Nimbus Sans" /usr/share/fonts/default/Type1/n019023l.pfb: Nimbus Sans:style=Italic /usr/share/fonts/default/Type1/n019003l.pfb: Nimbus Sans:style=Regular /usr/share/fonts/default/Type1/n019004l.pfb: Nimbus Sans:style=Bold /usr/share/fonts/default/Type1/n019024l.pfb: Nimbus Sans:style=Bold Italic 13:25 hrw@puchatek:fonts$ fc-list "Nimbus Mono" /usr/share/fonts/default/Type1/n022004l.pfb: Nimbus Mono:style=Bold /usr/share/fonts/default/Type1/n022024l.pfb: Nimbus Mono:style=Bold Oblique /usr/share/fonts/default/Type1/n022003l.pfb: Nimbus Mono:style=Regular /usr/share/fonts/default/Type1/n022023l.pfb: Nimbus Mono:style=Oblique
Ah... has the font family changed named? On Fedora 21 it's 'Nimbus Sans L': $ fc-list "Nimbus Sans" $ fc-list "Nimbus Sans L" /usr/share/fonts/default/Type1/n019003l.pfb: Nimbus Sans L:style=Regular /usr/share/fonts/default/Type1/n019023l.pfb: Nimbus Sans L:style=Regular Italic /usr/share/fonts/default/Type1/n019024l.pfb: Nimbus Sans L:style=Bold Italic /usr/share/fonts/default/Type1/n019004l.pfb: Nimbus Sans L:style=Bold /usr/share/fonts/default/Type1/n019044l.pfb: Nimbus Sans L:style=Bold Condensed /usr/share/fonts/default/Type1/n019063l.pfb: Nimbus Sans L:style=Regular Condensed Italic /usr/share/fonts/default/Type1/n019064l.pfb: Nimbus Sans L:style=Bold Condensed Italic /usr/share/fonts/default/Type1/n019043l.pfb: Nimbus Sans L:style=Regular Condensed $ rpm -q urw-fonts urw-fonts-2.4-19.fc21.noarch If it's changed name, the references to 'Nimbus Sans L' etc in /etc/fonts/conf.d/* will also need to be updated. Changing component to urw-fonts for further investigation by its maintainer.
13:33 hrw@puchatek:fonts$ fc-list "Nimbus Sans L" 13:33 hrw@puchatek:fonts$ fc-list "Nimbus Mono L" 13:33 hrw@puchatek:fonts$
13:46 hrw@puchatek:~$ rpm -q okular okular-4.14.1-1.fc22.x86_64
(In reply to Tim Waugh from comment #6) > Ah... has the font family changed named? On Fedora 21 it's 'Nimbus Sans L': https://bugzilla.redhat.com/show_bug.cgi?id=1140865#c3 http://pkgs.fedoraproject.org/cgit/ghostscript.git/tree/ghostscript.spec#n242 > If it's changed name, the references to 'Nimbus Sans L' etc in > /etc/fonts/conf.d/* will also need to be updated. https://bugs.freedesktop.org/show_bug.cgi?id=85225
*** This bug has been marked as a duplicate of bug 1160132 ***