Cannot print PDF-files [Solved]

Discussions Regarding Software

Moderator: Moderators

Cannot print PDF-files [Solved]

Postby Archdevil » Fri Nov 01, 2013 23:16

I have issues printing PDF-files using Okular and Cups.

When I print, I get no error message but nothing happens.

In /var/log/cups/error_log I see this:

D [01/Nov/2013:23:03:50 +0100] [Job 16] GPL Ghostscript 9.07 (2013-02-14)
D [01/Nov/2013:23:03:50 +0100] [Job 16] Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
D [01/Nov/2013:23:03:50 +0100] [Job 16] This software comes with NO WARRANTY: see the file PUBLIC for details.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusSanL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file NimbusSanL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusSanL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file NimbusSanL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Querying operating system for font files...
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusSanL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file NimbusSanL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Didn't find this font on the system!
D [01/Nov/2013:23:03:50 +0100] [Job 16] %%[NimbusSanL-Regu not found, substituting Courier]%%
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file NimbusMonL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Can't find (or can't open) font file NimbusMonL-Regu.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Didn't find this font on the system!
D [01/Nov/2013:23:03:50 +0100] [Job 16] Unable to substitute for font.
D [01/Nov/2013:23:03:50 +0100] [Job 16] %%[ Error: invalidfont; OffendingCommand: findfont ]%%
D [01/Nov/2013:23:03:50 +0100] [Job 16] GPL Ghostscript 9.07: Unrecoverable error, exit code 1
D [01/Nov/2013:23:03:50 +0100] [Job 16] PID 6509 (/usr/libexec/cups/filter/pstotiff) exited with no errors.
D [01/Nov/2013:23:03:50 +0100] [Job 16] Page = 595x842; 10,36 to 585,833
D [01/Nov/2013:23:03:50 +0100] [Job 16] Set job-printer-state-message to "Unable to open image file for printing!", current level=ERROR
D [01/Nov/2013:23:03:50 +0100] [Job 16] PID 6510 (/usr/libexec/cups/filter/imagetopdf) stopped with status 1.



Suggestions?

Thanks!

Archie :twisted:
Last edited by Archdevil on Sun Nov 03, 2013 19:39, edited 1 time in total.
Archdevil
Baby Hen
 
Posts: 6
Joined: Sun Oct 20, 2013 16:37

Re: Cannot print PDF-files

Postby sqlpython » Sat Nov 02, 2013 8:46

Looks like your Printer is begging for the font NimbusSanL-Regu
There is a Nimbus theme.. perhaps if you install it.
Also look at your printers available drivers. Many printers have more then one working driver available.
Criticism accepted for Solutions that work. ;^)
Sabayon 13-DEBIAN 8- #! -Sid-Slackware 14-Calculate 13-Bridge
sqlpython
Technological Hen
 
Posts: 386
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Cannot print PDF-files

Postby lxnay » Sat Nov 02, 2013 11:36

For starters, install ghostscript-gpl?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3595
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Cannot print PDF-files

Postby sqlpython » Sat Nov 02, 2013 16:42

^ See now I did notice the error but didn't associate that with no ghostscript-gpl.

I don't run into that problem as I work with PDF daily and always install cups_pdf ..
Criticism accepted for Solutions that work. ;^)
Sabayon 13-DEBIAN 8- #! -Sid-Slackware 14-Calculate 13-Bridge
sqlpython
Technological Hen
 
Posts: 386
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Cannot print PDF-files

Postby Archdevil » Sat Nov 02, 2013 19:10

Hi all,

thanks for the quick reactions.
I tried installing the HPIJS driver instead of the HPCUPS driver. No differnce.
I tried installing the Nimbus theme. No solution.
Ghostscript-gpl was already installed.
Cups-pdf is used to create PDF-documents with cups. I guess that will not solve my issue.

Other suggestions?
Archdevil
Baby Hen
 
Posts: 6
Joined: Sun Oct 20, 2013 16:37

Re: Cannot print PDF-files

Postby lxnay » Sun Nov 03, 2013 0:07

Have you tried to google "Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusSanL-Regu." ? It seems to be a common bug...
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3595
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Cannot print PDF-files

Postby apaz » Sun Nov 03, 2013 10:34

Same issue for me.
In "/usr/share/ghostscript/9.07/Resource/" I have no "/Font" directory.
Is this the problem? How fix it?
Reinstall ghostscript don't resolve.

Sorry for my english.

Andrea
apaz
Simple Hen
 
Posts: 80
Joined: Wed Apr 07, 2010 19:04

Re: Cannot print PDF-files

Postby apaz » Sun Nov 03, 2013 11:09

There is a thread:

https://forum.sabayon.org/viewtopic.php?f=59&t=30784

But I have no "svn" command.

Andrea
apaz
Simple Hen
 
Posts: 80
Joined: Wed Apr 07, 2010 19:04

Re: Cannot print PDF-files

Postby lxnay » Sun Nov 03, 2013 11:26

I see this in the ebuild (and it looks suspicious):
Code: Select all
# remove internal urw-fonts
rm -rf "${S}"/Resource/Font
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3595
Joined: Thu Oct 13, 2005 23:16
Location: Italy


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest