Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-27-2015, 10:33 AM   #1
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 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
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,779
Blog Entries: 28

Rep: Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979Reputation: 5979
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
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
Senior Member
Registered: Jan 2004
Posts: 1,415
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
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.


cups-filters, debugging, lexmark

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
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 > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration