LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-27-2015, 10:33 AM   #1
jankom
Member
 
Registered: Jan 2004
Distribution: Fedora
Posts: 31

Rep: Reputation: 15
Question Debugging cups printing


Fedora 3: trying to make Lexmark Z24020 print (btw, I could not install driver on xubuntu >11 either because it is on a 64bit machine and the Lexmark driver is for 32bit only). It did work on same FC3 installation, when I compiled all sorts of updates and mangled the original FC3 system. Now I restored FC3 to its original state and printing aborts when sent to the installed Lexmark printer (HP LaserJet P1102w works already). Cups error log indicates that printdriver component of the Lexmark software is started, next cups socket is started, but then printdriver stops in error and cups aborts. ldd printdriver is all satisfied. This is with cups 1.1.22.0. Previously, with my mangled FC3 cups was 1.4.6. So the question is: how do I go about debugging, finding out what is incompatible now? Wrote a simple script to start printdriver with ltrace, but this only works if I execute printdriver (which starts the renamed original printdriver) from shell, but ltrace is not working if my printdriver script is called from the cups process. Enough said, and thanks for any ideas.
 
Old 11-27-2015, 07:30 PM   #2
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,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
FC3 reached end of life nine years ago and no longer receives updates, including security updates. Why not upgrade to something supported?
 
Old 11-27-2015, 08:23 PM   #3
jankom
Member
 
Registered: Jan 2004
Distribution: Fedora
Posts: 31

Original Poster
Rep: Reputation: 15
FC3 outdated

This is my sandbox that helps me learn the intricacies of the unix/linux philosophy. I do have a current system on both my 64bit laptop and on the same desktop where I can chose which way to boot. And, alas, Lexmark does not have driver for that printer model usable on 64bit linux. So this is just a challenge to me to make it work, and more importantly, to learn more about debugging. Thanks for reading my question - jankom
 
Old 11-27-2015, 09:28 PM   #4
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Odd. Lexmark has 32-bit and 64-bit Windows XP Drivers, however all of the drivers are the Linux distros are only 32-bit. Most haven't been updated since 2012??!??!

So it goes to show that you still have to do research on whether the vendor will have drivers for Linux when you purchase hardware. Maybe contact their support?
 
Old 12-07-2015, 08:28 AM   #5
jankom
Member
 
Registered: Jan 2004
Distribution: Fedora
Posts: 31

Original Poster
Rep: Reputation: 15
Wink Problem solved, still a question

The problem of making Lexmark print is solved by compiling cups 1.2 (which is indicated in the Lexmark packaged ppd file as the version of cups) and compiling qgostscript 9.02. Apparently the Lexmark printdriver does not work with earlier versions of cups and ghostscript. This was a brute force, trial-and error, hunch based solution. The question still remains, how to do a debug in this case, how to find the point where the process breaks down.
 
  


Reply

Tags
cups-filters, debugging, lexmark



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
CUPS printing a test page or document over multiple pages - CUPS 1.5.4 Asjas SUSE / openSUSE 3 08-14-2015 02:17 AM
CUPS printing error: ="/usr/local/libexec/cups/filter/rastertosamsungspl failed ted_chou12 Linux - Software 0 08-04-2012 05:22 AM
[SOLVED] printing problems cups okular printing jobs debian squeeze epson stylus sx 410 Foxbat1155 Linux - Newbie 4 02-22-2012 02:49 PM
Whats the difference between CUPS printing and Samba shared printing? depam Linux - Software 1 03-17-2006 01:56 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM

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

All times are GMT -5. The time now is 12:39 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
Open Source Consulting | Domain Registration