Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 01:05
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
Lexmark 710 Pro cannot print from ePDF
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Cadejo

Joined: 29 Jun 2009
Posts: 55

PostPosted: Sat 13 Jul 2013, 17:52    Post_subject:  Lexmark 710 Pro cannot print from ePDF  

All,

This is odd, I get the following error in CUPS when I try to print from ePDF. Other document readers work.

This is on a Lexmark 710 Pro.

"/usr/lib/cups/filter/fax-pnh-filter failed"


Thanks in advance.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9200
Location: Stratford, Ontario

PostPosted: Sat 13 Jul 2013, 19:32    Post_subject:  

You need to provide more information.

1. What Puppy version are you using?

2. What printer driver package are you using?

3. Where did you get the package? Provide a link.

4. Does the unit print a test page from CUPS?
Back to top
View user's profile Send_private_message 
Cadejo

Joined: 29 Jun 2009
Posts: 55

PostPosted: Sun 14 Jul 2013, 03:16    Post_subject:  

Thanks for looking at this!

1. What Puppy version are you using?
Precise 5.6.1, though I confirmed this in Precise 5.5 with the same drivers

2. What printer driver package are you using?
I am using the Lexmark package for Ubuntu 12.04.

3. Where did you get the package? Provide a link.
http://support.lexmark.com:80/lexmark/index?page=content&locale=EN&docLocale=en_US&segType=recommendedSegmentLINUX_UNIX&userlocale=EN_US&id=DR21222

4. Does the unit print a test page from CUPS?
Yes, full color. The issue comes in with PDF documents:
a. I cannot print from ePDF. Error above.
b. Adobe will print, but just one page at a time, I cannot insert a range.
c. FoxitPDF will work but it prints verry slow.
d. Other documents from libreoffice or leafpad work fine.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9200
Location: Stratford, Ontario

PostPosted: Sun 14 Jul 2013, 06:59    Post_subject:  

These Lexmark Debian packages are a nightmare. Since you haven't described how you installed it, it's difficult for me to comment.

As usual, your first source for printer drivers should have been here. It has a link to a whole page of Lexmark driver packages in PET form, some of which support your Pro710.

Your printer appears to be Postscript-capable. There is a section that discusses this.
Back to top
View user's profile Send_private_message 
Cadejo

Joined: 29 Jun 2009
Posts: 55

PostPosted: Mon 15 Jul 2013, 15:14    Post_subject:  

For the Lexmark package I installed it as the default .deb from the site.

Interestingly enough, the Lexmark Valuewriter 300 - CUPS+Gutenprint v5.2.8-pre1 works fine with ePDF! I could not get the Pro700 drivers to print though.

I don't mind having 2 printers set up in CUPS, one for color/other utilities, another for B&W PDF.

I'm going to send a hate-mail to the lexmark folks to see what they say about the driver not liking PDF's.

Thanks for your (free) time and instant feedback.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9200
Location: Stratford, Ontario

PostPosted: Mon 15 Jul 2013, 15:39    Post_subject:  

Cadejo wrote:
For the Lexmark package I installed it as the default .deb from the site.

How did you install it? By clicking on the .deb? Then how did you install it in CUPS?

The driver fails with ePDFview because it sees the print job in Postscript form and thinks that it is a fax job. Hence the error message. Modern Linux applications send their print jobs to CUPS in PDF form.

Did you try any of my suggestions?

Quote:
I'm going to send a hate-mail to the lexmark folks to see what they say about the driver not liking PDF's.

That would be pointless. If you installed the driver in the environment for which it was designed, it would probably work.
Back to top
View user's profile Send_private_message 
Cadejo

Joined: 29 Jun 2009
Posts: 55

PostPosted: Mon 15 Jul 2013, 16:17    Post_subject:    

I see what you're asking now.

After installing the .Deb, the PPD's are automatically available to puppy on the CUPS model selection screen. I provided a snip.

I did try the Lexmark Pro700.pet package, but that did not work.

What you're saying makes sense.
Since it's an application-ism and not a driver issue I think that the issue is understood and the workaround is acceptable.

How'd you get so smart on printers? Everyone hates them. Wink

Thanks!
Lexmarkcups.png
Description 
png

 Download 
Filename  Lexmarkcups.png 
Filesize  70.2 KB 
Downloaded  362 Time(s) 
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9200
Location: Stratford, Ontario

PostPosted: Mon 15 Jul 2013, 17:36    Post_subject:  

Here is something to try.

1. Go to the folder /usr/share/ppd/Lexmark

2. Open the file Lexmark_Pro710_Series_Fax.ppd

3. Delete Line 95
Code:
*cupsFilter: "application/vnd.cups-postscript 0 /usr/lib/cups/filter/fax-pnh-filter"


4. Repeat with the file Lexmark_Pro710_Series_Postscript.ppd

5. Run CUPS and delete your current printer.

6. Add it again - choose the Fax model.

7. Test with a PDF.
Back to top
View user's profile Send_private_message 
Cadejo

Joined: 29 Jun 2009
Posts: 55

PostPosted: Tue 16 Jul 2013, 12:14    Post_subject:  

That fixed it. I have so many questions...
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9200
Location: Stratford, Ontario

PostPosted: Tue 16 Jul 2013, 12:38    Post_subject:  

Cadejo wrote:
That fixed it.

Excellent.

Quote:
I have so many questions...

Until recently, a print job came out of an application program as a stream of Postscript data. CUPS would look at the printer's PPD file for information about how to process that data.

Usually, the data needs to be sent through various filters that convert the Postscript into a form compatible with your printer. That's why most printers require a driver package to be installed, like HPLIP for HP printers.

But some printers, like yours, are Postscript-compatible. So they can receive the data directly and print it.

But modern software sends the print job as a PDF. You can think of PDF as "Postscript on steroids". In your case, CUPS converts the PDF to Postscript and sends it to the printer. So you can print from most applications.

If the print job is still in Postscript, like with ePDFview, it should still work. But your PPD file has that line that you deleted. It acts as a switch that sends the print job to a dead-end. (This probably works correctly if you install the .deb in a "real" Linux.)

By deleting the line, the Postscript job flows correctly through the system to your printer.

BTW, you probably saw a non-Fax entry for your printer in CUPS. It sends the print job in a different direction through another filter. But it doesn't get installed properly in Puppy, so it fails.

Edited_time_total
Back to top
View user's profile Send_private_message 
Cadejo

Joined: 29 Jun 2009
Posts: 55

PostPosted: Tue 16 Jul 2013, 14:32    Post_subject:  

Wow, this is written in plain English. Thank you for the breakdown and looking at the drivers.

You were also correct about the non-fax PPD, it didn't work.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0900s ][ Queries: 13 (0.0289s) ][ GZIP on ]