LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems printing pdf with okular or with acroread (https://www.linuxquestions.org/questions/linux-newbie-8/problems-printing-pdf-with-okular-or-with-acroread-869942/)

buddy_87 03-21-2011 04:57 AM

Problems printing pdf with okular or with acroread
 
First of all I must admit that I am quite new with linux, and maybe the problem I am experiencing is something trivial. Nevertheless I don't have any idea about how to handle it.

When I try to print a file with Okular or with Acroread what happens is that the applications crashes and I have to terminate it, and the file is not printed.

The message that I get is the following:

The window "notes1_2.pdf – Okular ‎" is not responding. It belongs to the application okular (Process ID = 26252, hostname = localhost).

Did anybody have the same problem? or does know how to solve it?

Thank you in advance!

jschiwal 03-21-2011 05:46 AM

Can you print from the terminal? Try using enscript or lpr to print a page of text.

Do you have cups configured?

It sounds like it is printing itself that needs configuring, and not the applications you mentioned. They are waiting for a response that doesn't come.

buddy_87 03-21-2011 08:09 AM

Yes I have tried printing from the shell with lpr, and the result was very strange, since the first file I tried was printed, but the next ones were not printed and I got a sheet with some "PCL XL ERROR" report...

I also tried printing the test page and it worked.

In any case I have CUPS installed.

Any Idea?

jschiwal 03-21-2011 09:44 AM

Let us know which printer you have. Are you using a USB interface or is it a network printer?
Check the cups error log in /var/log/cups.

I sounds like the first job isn't finishing properly. Run "lpq -a" to see if the other jobs are waiting. It may be a problem with the PPD file you are using.

This site may help, with troubleshooting and checking the ppd file you use:
http://www.linuxfoundation.org/colla...s/openprinting

buddy_87 03-21-2011 12:21 PM

I [21/Mar/2011:12:40:59 +0100] [Job ???] Request file type is application/pdf.
I [21/Mar/2011:12:40:59 +0100] [Job 146] Adding start banner page "none".
I [21/Mar/2011:12:40:59 +0100] [Job 146] Adding end banner page "none".
I [21/Mar/2011:12:40:59 +0100] [Job 146] File of type application/pdf queued by "ciro".
I [21/Mar/2011:12:40:59 +0100] [Job 146] Queued on "hp8thfloor" by "ciro".
I [21/Mar/2011:12:40:59 +0100] [Job 146] Started filter /usr/lib64/cups/filter/pdftops (PID 1494)
I [21/Mar/2011:12:40:59 +0100] [Job 146] Started filter /usr/lib64/cups/filter/foomatic-rip-hplip (PID 1495)
I [21/Mar/2011:12:40:59 +0100] [Job 146] Started backend /usr/lib64/cups/backend/lpd (PID 1496)
I [21/Mar/2011:12:41:09 +0100] [Job 146] Completed successfully.
I [21/Mar/2011:13:15:10 +0100] [Job ???] Request file type is application/pdf.
I [21/Mar/2011:13:15:10 +0100] [Job 147] Adding start banner page "none".
I [21/Mar/2011:13:15:10 +0100] [Job 147] Adding end banner page "none".
I [21/Mar/2011:13:15:10 +0100] [Job 147] File of type application/pdf queued by "ciro".
I [21/Mar/2011:13:15:10 +0100] [Job 147] Queued on "hp8thfloor" by "ciro".
I [21/Mar/2011:13:15:10 +0100] [Job 147] Started filter /usr/lib64/cups/filter/pdftops (PID 1914)
I [21/Mar/2011:13:15:10 +0100] [Job 147] Started filter /usr/lib64/cups/filter/foomatic-rip-hplip (PID 1915)
I [21/Mar/2011:13:15:10 +0100] [Job 147] Started backend /usr/lib64/cups/backend/lpd (PID 1916)
I [21/Mar/2011:13:15:22 +0100] [Job ???] Request file type is application/pdf.
I [21/Mar/2011:13:15:22 +0100] [Job 148] Adding start banner page "none".
I [21/Mar/2011:13:15:22 +0100] [Job 148] Adding end banner page "none".
I [21/Mar/2011:13:15:22 +0100] [Job 148] File of type application/pdf queued by "ciro".
I [21/Mar/2011:13:15:22 +0100] [Job 148] Queued on "hp8thfloor" by "ciro".
I [21/Mar/2011:13:15:36 +0100] [Job 147] Completed successfully.
I [21/Mar/2011:13:15:36 +0100] [Job 148] Started filter /usr/lib64/cups/filter/pdftops (PID 1940)
I [21/Mar/2011:13:15:36 +0100] [Job 148] Started filter /usr/lib64/cups/filter/foomatic-rip-hplip (PID 1941)
I [21/Mar/2011:13:15:36 +0100] [Job 148] Started backend /usr/lib64/cups/backend/lpd (PID 1942)
I [21/Mar/2011:13:16:45 +0100] [Job 148] Completed successfully.


This is a very ugly sample of the error log that I get...
But the point is that now I tried to print again something using okular and the application crashed, while the log was not updated.

when I run lpq -a I get no entries...

jschiwal 03-26-2011 03:24 AM

Could you provide information on which printer you have and the type of interface used?

Did you configure the printer using the cups web interface?


All times are GMT -5. The time now is 12:58 AM.