Print PDF files directly with a PS driver (CP3505dn)

Asked by Dukai Gábor

Hello!

On a PDF-capable printer (CP3505dn) using the postscript driver is it possible to set up a rule to bypass the PDF-to-PS conversion and send PDF files directly to the printer?

thanks,
Gabor

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

To bypassing the PDF to PS conversion you can print the file in raw mode from the command line.

lpr -o raw -Pprinter_queue_name filename.pdf

Where printer_queue_name is the name of the printer queue.

Hope this helps.

Aaron

Revision history for this message
Dukai Gábor (gdukai) said :
#2

Thanks.
This definitely works but it would be better to have a MIME type solution or similar to automatically detect PDF files. That would work from various applications without the need to select a special printer.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

You might be able to setup a printer queue and change the filter params in cups, but I'm not 100% how to do this. You might also be able to modify the ppd to do it as well.

Sorry I don't have the specific information, it's not a common request. However if you do have a more detailed solution and provide me the details I'll create a how to on it for other users.

Thanks for your support.

Aaron

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#4

/etc/cups/mimes.conv has mime mapping. You can take out the
application/pdf line so cups won't run the pdf through the pdftops filter,
however, if you do this, you will not be able to print to non-pdf printers.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Aaron Albright
Sent: Tuesday, September 16, 2008 9:14 AM
To: Cauligi, Raghothama S
Subject: Re: [Question #45276]: Print PDF files directly with a PS driver (CP3505dn)

Question #45276 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/45276

    Status: Open => Answered

Aaron Albright proposed the following answer:
You might be able to setup a printer queue and change the filter params in cups, but I'm not 100% how to do this. You might also be able to modify the ppd to do it as well.

Sorry I don't have the specific information, it's not a common request.
However if you do have a more detailed solution and provide me the details I'll create a how to on it for other users.

Thanks for your support.

Aaron

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Can you help with this problem?

Provide an answer of your own, or ask Dukai Gábor for more information if necessary.

To post a message you must log in.