Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-07-2011, 04:00 PM   #1
Registered: May 2007
Posts: 43

Rep: Reputation: 0
cups-pdf in OpenSuse 11.2 doesn't create pdf


I have installed the cups-pdf package from the opensue 11.2 site and found an second printer in the config page od cups. I tried to print to this PDF called printer, but the cups-pdf printer doesn't create any files or user dirs in the default spool directory /var/spool/cups-pdf. CUPS respoces that jobs finished without errors. I have no idea what I made wrong.

Can anybody help?

I [07/Mar/2011:22:58:21 +0100] Listening to (IPv4)
I [07/Mar/2011:22:58:21 +0100] Listening to :::631 (IPv6)
I [07/Mar/2011:22:58:21 +0100] Listening to ::1:631 (IPv6)
I [07/Mar/2011:22:58:21 +0100] Listening to (IPv4)
I [07/Mar/2011:22:58:21 +0100] Listening to /var/run/cups/cups.sock (Domain)
I [07/Mar/2011:22:58:21 +0100] Remote access is enabled.
I [07/Mar/2011:22:58:21 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [07/Mar/2011:22:58:21 +0100] Using default TempDir of /var/spool/cups/tmp...
I [07/Mar/2011:22:58:21 +0100] Configured for up to 100 clients.
I [07/Mar/2011:22:58:21 +0100] Allowing up to 100 client connections per host.
I [07/Mar/2011:22:58:21 +0100] Full reload is required.
I [07/Mar/2011:22:58:21 +0100] Loaded MIME database from '/etc/cups': 37 types, 41 filters...
I [07/Mar/2011:22:58:21 +0100] Loading job cache file "/etc/cups/yes/job.cache"...
I [07/Mar/2011:22:58:21 +0100] Full reload complete.
I [07/Mar/2011:22:58:21 +0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [07/Mar/2011:22:58:21 +0100] Listening to on fd 4...
I [07/Mar/2011:22:58:21 +0100] Listening to :::631 on fd 16...
E [07/Mar/2011:22:58:21 +0100] Unable to bind socket for address ::1:631 - Address already in use.
E [07/Mar/2011:22:58:21 +0100] Unable to bind socket for address - Address already in use.
I [07/Mar/2011:22:58:21 +0100] Listening to /var/run/cups/cups.sock on fd 17...
I [07/Mar/2011:22:58:21 +0100] Resuming new connection processing...
I [07/Mar/2011:22:58:46 +0100] [Job ???] Request file type is application/postscript.
I [07/Mar/2011:22:58:46 +0100] [Job 10] Adding start banner page "none".
I [07/Mar/2011:22:58:46 +0100] [Job 10] Adding end banner page "none".
I [07/Mar/2011:22:58:46 +0100] [Job 10] File of type application/postscript queued by "albert".
I [07/Mar/2011:22:58:46 +0100] [Job 10] Queued on "PDF" by "albert".
I [07/Mar/2011:22:58:46 +0100] [Job 10] Started filter /usr/lib64/cups/filter/pstops (PID 9503)
I [07/Mar/2011:22:58:46 +0100] [Job 10] Completed successfully.
Attached Thumbnails
Click image for larger version

Name:	cups.png
Views:	11
Size:	61.8 KB
ID:	6344  
Old 03-09-2011, 10:53 AM   #2
Registered: May 2007
Posts: 43

Original Poster
Rep: Reputation: 0
Solution found: cups-pdf Program was in wrong directory

I have found the solution by myself and I leave it here for others which might get into the same situation.

The problem was:

The file cups-pdf was copied by the installer to /var/lib/cups/backend but it is expected at /usr/lib64/cups/backend

The solution:

Copy the file from /var/lib/cups/backend to /usr/lib64/cups/backend

After this operation a restart of the cups-System is required and the printer can be configured as mentions in severals docs you can found in the www.

I use a 64Bit installation. The file from the installer was also 64Bit ELF binary.

To check if it is available use lpinfo -v:

# lpinfo -v
network socket
network beh
file cups-pdf:/
direct pipe
direct hal
direct hpfax
direct hp
network http
network ipp
network lpd
direct scsi
network smb
Old 03-09-2011, 10:53 AM   #3
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
The one time that I used the CUPS PDF printer it created a directory $HOME/PDF and put the pdf file in there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
My cups-pdf pdf printer is not working. sgsawant Linux - Software 1 03-16-2010 02:35 AM
CUPS, and CUPS-PDF error when restarting, or starting process Predatorian Linux - Desktop 0 10-28-2009 09:21 AM
How to wget a webpage, and save as PDF (like cups-pdf) ? frenchn00b Programming 3 11-18-2008 03:48 PM
LXer: Linux PDF editor for manipulating PDF documents LXer Syndicated Linux News 0 12-19-2007 09:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration