LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2021, 02:29 PM   #1
cybervulcan
Member
 
Registered: Dec 2017
Posts: 51

Rep: Reputation: Disabled
PDF printer driver stopped working


I use Feren OS classic (which is basically a twin of Linux Mint) and I had the PDF printer driver working all of a sudden it prints but no PDF is created anywhere. I have tried all the standard stuff of removing and reinstalling the driver the PPD is present nothing so far
 
Old 08-01-2021, 03:59 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,787

Rep: Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773
Have you set the destination for the PDF files?
On that file system how much space is free?
Have you checked the logs for errors or messages that pertain?
Is CUPS running?
 
Old 08-01-2021, 04:46 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,822

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
I assume by PDF printer driver you are referring to cups-pdf?

Does the output of the command lpstat -p show the cups-pdf printer enabled?

As posted check the cups log files for errors.
 
Old 08-01-2021, 07:51 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,403
Blog Entries: 28

Rep: Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166
When you say "PDF printer," are you referring to a physical printer or some sort of software save to PDF thing.

What is the name of the driver you mention?
 
Old 08-02-2021, 12:19 PM   #5
cybervulcan
Member
 
Registered: Dec 2017
Posts: 51

Original Poster
Rep: Reputation: Disabled
To address all your responses

1. I am not sure where to set the destination
2. several hundred Gigabytes
3. No I have not yet only know printing occurs no new PDF file is created
4. As far as I know

1. yes

1. yes PDF printer is software that emulates a printer driver creating a new PDF for each print job
 
Old 08-02-2021, 12:37 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,822

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
I assume by the way you answered the questions that you are using cups-pdf.

Quote:
PDF printer driver working all of a sudden it prints but no PDF is created anywhere.
If it was working where did you normally find the PDF files? Are you printing as your regular user?

Did you update the system or make any changes lately?

Again, check the cups log files usually at /var/log/cups/. There should be an error.log file that might have something useful.
 
Old 08-02-2021, 12:47 PM   #7
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by cybervulcan View Post
To address all your responses

1. I am not sure where to set the destination
On mine when I tell the system to print, I select "print to pdf" then it asks where to save it.

Quote:
3. No I have not yet only know printing occurs no new PDF file is created
As in answer to #1, I have to add the file name to save it as.

Quote:
1. yes PDF printer is software that emulates a printer driver creating a new PDF for each print job
See these images.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-08-02 12-42-38.jpg
Views:	9
Size:	159.0 KB
ID:	36885   Click image for larger version

Name:	Screenshot from 2021-08-02 12-44-01.png
Views:	10
Size:	59.0 KB
ID:	36886  
 
Old 08-02-2021, 01:02 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,822

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
computersavvy, does have a good point and my assumption could be wrong since you were vague as to what questions you were actually answering.

There is a "Print to File" selection feature of the desktop print dialog box that creates a PDF file and is separate from cups. The destination directory of the PDF file is where ever you choose it to be.

cups-pdf is special virtual print driver that looks like a regular printer but saves a PDF file to a specific directory and works through cups printing system. cups-pdf is not installed by default but is found in most repositories. With the Print to File feature found in just about all desktops now days its almost obsolete in all but some special cases.
 
Old 08-02-2021, 03:24 PM   #9
cybervulcan
Member
 
Registered: Dec 2017
Posts: 51

Original Poster
Rep: Reputation: Disabled
On my system I am asked where to save the file and the name it used to be save to my PDF folder now it is not there just is no PDF created anywhere. Ye I am using cups.PDF. By destination I though you meant where are the PDFs created and stored which used to be /home/cmdr/PDF the output of lpstat -p is printer PDF is idle. enabled since Sun 01 Aug 2021 03:22:02 PM EDT it was installed long before this date. yes this system changes as this was a fresh install of several weeks ago and the standard user is in use. cups-PDF log files show no error
 
Old 08-02-2021, 04:32 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,822

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
By default PDFS are saved to your /home/username/PDF directory and if there is no name associated with the print job the file will be saved in the /var/spool/cups-pdf/ANONYMOUS directory. Unless you changed the defaults in the cups-pdf.conf file. Have you checked the ANONYMOUS directory?

In the /var/log/cups/access_log there should be something like the below if everything worked.
localhost - - [ date time ] "POST /printers/PDF HTTP/1.1" 200 355 Create-Job successful-ok
localhost - - [ date time ] "POST /printers/PDF HTTP/1.1" 200 343 Send-Document successful-ok

What type of stuff are you trying to print? text, graphics etc and from what application?
 
Old 08-02-2021, 05:20 PM   #11
cybervulcan
Member
 
Registered: Dec 2017
Posts: 51

Original Poster
Rep: Reputation: Disabled
Firefox web pages, the anonymous folder is empty, yes the log file lines you mention are present
 
Old 08-02-2021, 05:54 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,822

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
The raw print data should be in /var/spool/cups/, any file that begins with d. Assuming that cups is configured to not delete print data.
Since the standard output from the desktop is a PDF that should be the data as captured by cups.

/var/spool/cups should be only accessible via sudo. You can access a root shell via sudo -s to make it easier to navigate and see the files. When finished type exit to go back to your regular user.
 
Old 08-02-2021, 05:55 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,822

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
The raw print data should be in /var/spool/cups/, any file that begins with d. Assuming that cups is configured to not delete print data.
Since the standard output from the desktop is a PDF that should be the data as captured by cups.

/var/spool/cups should be only accessible via sudo. You can access a root shell via sudo -s to make it easier to navigate and see the files. When finished type exit to go back to your regular user.
 
Old 08-03-2021, 11:42 AM   #14
cybervulcan
Member
 
Registered: Dec 2017
Posts: 51

Original Poster
Rep: Reputation: Disabled
The /var/spool/cups folder is empty except for a TMP folder which is also empty
 
Old 08-03-2021, 02:10 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,822

Rep: Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960Reputation: 5960
Not much help there. Typically control files (c0001) are cleaned out after 500 jobs and data files (d0001) are deleted. Not sure how Feren configures cups but I would of expected some control files.

Just of curiosity does printing to a real printer work?
 
  


Reply

Tags
cups, pdf printer, printer driver



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
[SOLVED] Cups-pdf printer prints a blank pdf after ghostscript-9.54.0 update. Paulo2 Slackware 3 02-11-2022 03:58 PM
[SOLVED] My HP 2600 printer stopped printing and their isn't a printer model now in the settings? the error message says the printer is paused? sudo1 Linux - Server 6 04-02-2019 06:14 AM
[SOLVED] Open PDF file in viewer automatically after creating by PDF printer. Howling-Wolf Linux - Software 8 11-03-2017 02:44 PM
My cups-pdf pdf printer is not working. sgsawant Linux - Software 1 03-16-2010 02:35 AM
Printer? How resume Jobs if Printer Stopped: jobs stopped? Reluctant Linux - General 0 06-03-2006 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:37 AM.

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