LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-21-2011, 05:57 AM   #1
buddy_87
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
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!
 
Old 03-21-2011, 06:46 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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.
 
Old 03-21-2011, 09:09 AM   #3
buddy_87
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 03-21-2011, 10:44 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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

Last edited by jschiwal; 03-21-2011 at 11:48 AM.
 
Old 03-21-2011, 01:21 PM   #5
buddy_87
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0
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...
 
Old 03-26-2011, 04:24 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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?
 
  


Reply


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
Okular doesn't print PDF files? michalng Debian 2 02-21-2010 10:20 AM
Problem printing pdf files (okular 0.8.4 KDE 4.2.4) on openSuse 11.1 Kapten Beard Linux - Newbie 3 02-04-2010 09:06 AM
Direct opening of pdf files with okular giving error. raju.mopidevi SUSE / openSUSE 0 11-26-2009 08:21 PM
[SOLVED] how to set okular as default pdf reader after installing adobereader? (KDE4) zyli2006 Slackware 2 10-02-2009 03:33 PM
Why Do I Need KDE for Okular PDF Reader?? taurusx5 Linux - Software 1 04-03-2008 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration