LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   after upgrade to ubuntu 9.10 my lexmark z55 printer prompt is print error (https://www.linuxquestions.org/questions/linux-newbie-8/after-upgrade-to-ubuntu-9-10-my-lexmark-z55-printer-prompt-is-print-error-770551/)

jsava22 11-20-2009 10:40 PM

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

bartonski 11-21-2009 03:39 PM

Quote:

Originally Posted by jsava22 (Post 3764587)
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. :-)

jsava22 11-22-2009 02:01 AM

print error-there was a problem processing document 'icd'(job 201)

printer shows no errors, e.g.ready light is on

jsava22 11-22-2009 02:09 AM

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

bartonski 11-22-2009 09:35 AM

Quote:

Originally Posted by jsava22 (Post 3765450)
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

jsava22 11-23-2009 11:20 PM

Quote:

Originally Posted by bartonski (Post 3765763)
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

bartonski 11-25-2009 12:22 PM

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.

jsava22 11-26-2009 03:40 AM

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.

bartonski 11-26-2009 05:08 PM

Quote:

Originally Posted by jsava22 (Post 3770138)
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.

jsava22 11-27-2009 03:35 AM

[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

bartonski 11-27-2009 01:15 PM

Quote:

Originally Posted by jsava22 (Post 3771145)
unable to go past (sudo), have no other password

You should be able to use the password for your user account.

jsava22 11-28-2009 05:38 AM

Quote:

Originally Posted by bartonski (Post 3771680)
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:~$

jsava22 11-28-2009 05:50 AM

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???

jsava22 12-12-2009 12:26 AM

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;"


All times are GMT -5. The time now is 10:35 PM.