LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-20-2009, 10:40 PM   #1
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Rep: Reputation: 0
after upgrade to ubuntu 9.10 my lexmark z55 printer prompt is print error


as the SYNAPTIC PACKAGE MNG still indicate that lexmarkz55-cups, and z55llpddk are installed, and printer worked ok before the upgrade, I am a loss what to do next
 
Old 11-21-2009, 03:39 PM   #2
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by jsava22 View Post
as the SYNAPTIC PACKAGE MNG still indicate that lexmarkz55-cups, and z55llpddk are installed, and printer worked ok before the upgrade, I am a loss what to do next
Let's start with the easy stuff:
  • Do the lights on the printer show any errors?
  • Have you checked the paper path? Anypaper jams?
  • Have you checked all cables?
  • What is the exact error message when you print? [paste directly in to your reply, and use code tags-- the little '#' button on the wysiwyg wiki editor]
  • Show your printer queues using
    Code:
    lpq -a
    . Paste the results.
  • Show the status of the print queue that you are trying to print to.
    Code:
    lpstat <queue-name>
    . Paste the results.
You've probably tried most of these, but I've worked help-desk before, and I won't let you go any further before you answer... only because I've wasted innumerable hours of my time when I didn't ask. :-)
 
Old 11-22-2009, 02:01 AM   #3
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
print error-there was a problem processing document 'icd'(job 201)

printer shows no errors, e.g.ready light is on
 
Old 11-22-2009, 02:09 AM   #4
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
bash: syntax error near unexpected token `newline'
john@john-desktop:~$


john@john-desktop:~$ lpq -a
Rank Owner Job File(s) Total Size
1st john 200 output.pdf 19456 bytes
2nd john 201 lcd 578560 bytes
 
Old 11-22-2009, 09:35 AM   #5
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by jsava22 View Post
Code:
john@john-desktop:~$ lpq -a
Rank    Owner   Job     File(s)                         Total Size
1st     john    200     output.pdf                      19456 bytes
2nd     john    201     lcd                             578560 bytes
It looks like job 201 is stuck behind job 200.

Try

Code:
lprm 200
and see if job 201 starts printing. If not, kill 201, start fresh, and tell us what happens. After the print queue is empty, run
Code:
lpstat -a
if you're still having problems.

ps. When you reply, click the 'quote' button, and check the way that the 'CODE' tags are set up. Put your output between code tags, this makes reading your output much easier for us. kthxbai

Last edited by bartonski; 11-22-2009 at 09:38 AM.
 
Old 11-23-2009, 11:20 PM   #6
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bartonski View Post
It looks like job 201 is stuck behind job 200.

Try

Code:
lprm 200
john@john-desktop:~$ lprm 200
lprm: The printer or class was not found.

and see if job 201 starts printing. If not, kill 201, start fresh, and tell us what happens. After the print queue is empty, run
Code:
lpstat -a
if you're still having problems.
john@john-desktop:~$ lpstat -a
Lexmark-Lexmark-Z55 accepting requests since Thu 19 Nov 2009 11:00:11 EST
john@john-desktop:~$

ps. When you reply, click the 'quote' button, and check the way that the 'CODE' tags are set up. Put your output between code tags, this makes reading your output much easier for us. kthxbai
printer still not printing
 
Old 11-25-2009, 12:22 PM   #7
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Code:
lprm -
should remove all jobs in the queue, then you can try re-printing whichever jobs you need to.

also, I'm still interested in seeing the results of lpstat.
 
Old 11-26-2009, 03:40 AM   #8
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
john@john-desktop:~$ lpstat.
No command 'lpstat.' found, did you mean:
Command 'lpstat' from package 'cups-client' (main)
Command 'lpstat' from package 'lprng' (universe)
lpstat.: command not found
john@john-desktop:~$ lpstat
john@john-desktop:~$ lprm
lprm: No active jobs on Lexmark-Lexmark-Z55!
john@john-desktop:~$ lpstat
john@john-desktop:~$

re:LQ Etiquette, am very grateful for your help ,but printer still not working, as all was ok till upgrade to 9.10 , assume printer is ok.
My computer skills are limited,so have no way of solving this myself.
 
Old 11-26-2009, 05:08 PM   #9
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by jsava22 View Post
john@john-desktop:~$ lpstat.
No command 'lpstat.' found, did you mean:
Command 'lpstat' from package 'cups-client' (main)
Command 'lpstat' from package 'lprng' (universe)
lpstat.: command not found
john@john-desktop:~$ lpstat
john@john-desktop:~$ lprm
lprm: No active jobs on Lexmark-Lexmark-Z55!
john@john-desktop:~$ lpstat
john@john-desktop:~$

re:LQ Etiquette, am very grateful for your help ,but printer still not working, as all was ok till upgrade to 9.10 , assume printer is ok.
My computer skills are limited,so have no way of solving this myself.
Ok, it looks like you need the 'cups-client' package. Use

Code:
sudo apt-get install cups-client
Then run 'lpstat' again.

also go to http://localhost:631/ in your web browser, this should give you a web front-end to cups, try re-installing the printer. If something has happened to the drivers, this should re-install them if necessary.

p.s. the "LQ Etiquette" line is simply my signature, it shows up at the bottom of each of my posts. Since we haven't solved your problem yet, don't worry about it. Even if and when we do solve your problem, don't feel obligated to do anything, it's just a suggestion.

Last edited by bartonski; 11-26-2009 at 05:11 PM.
 
Old 11-27-2009, 03:35 AM   #10
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
[QUOTE=bartonski;3770750]Ok, it looks like you need the 'cups-client' package. Use

Code:
sudo apt-get install cups-client
john@john-desktop:~$ sudo apt-get install cups-client
[sudo] password for john:
Sorry, try again.
[sudo] password for john:


Then run 'lpstat' again.


unable to go past (sudo), have no other password
 
Old 11-27-2009, 01:15 PM   #11
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by jsava22 View Post
unable to go past (sudo), have no other password
You should be able to use the password for your user account.
 
Old 11-28-2009, 05:38 AM   #12
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bartonski View Post
You should be able to use the password for your user account.
sudo apt-get install cups-client

john@john-desktop:~$ sudo apt-get install cups-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
cups-client is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
john@john-desktop:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
john@john-desktop:~$
 
Old 11-28-2009, 05:50 AM   #13
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
forgot the last bit

john@john-desktop:~$ lpstat
john@john-desktop:~$

after all this my printer is still out of action.
am also aware that printer is not the latest, but as mentioned before, it worked ok before the upgrade. is it no longer supported by 9.10 version???
 
Old 12-12-2009, 12:26 AM   #14
jsava22
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Re: PRINTER: Lexmark Z55 worked in 9.04, doesn't work in 9.10
SOLUTION FOUND:

I checked the CUPS error logs, and the problem was libstdc++5 was missing. This was not available in the karmic repositories, so I had to use the one from jaunty. I installed the .deb for libstdc++5 from Jaunty and the printer worked. Don't know if this was the best solution, but hey, its printing, so I don't care.
Last edited by isntthatamusing; 1 Week Ago at 03:08 AM.. Reason: solution found

found the above in the UBUNTU FORUM, AND IT SOLVED MY PROBLEM.
So many thanks to"isntthatamusing;"
 
1 members found this post helpful.
  


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
How do I set up my Lexmark printer to print in Kubuntu? sashag Linux - Newbie 2 05-07-2008 05:08 AM
Lexmark X1195 printer installs but doesn't print. aal Linux - Hardware 1 07-28-2006 07:53 PM
Lexmark Z55 driver problems mbtwenty3ib Linux - Hardware 1 01-14-2005 05:12 PM
Mandrake 10 can't print to Lexmark USB printer lewisdw Mandriva 7 07-07-2004 05:42 PM
Slackware 9.1 and Lexmark Z55 deltaryb Slackware 1 10-20-2003 03:12 PM

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

All times are GMT -5. The time now is 05:51 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