LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   My cups-pdf pdf printer is not working. (https://www.linuxquestions.org/questions/linux-software-2/my-cups-pdf-pdf-printer-is-not-working-795526/)

sgsawant 03-15-2010 09:37 AM

My cups-pdf pdf printer is not working.
 
I have tried all the usual stuff like:
apt-get cups-pdf and similar things.

Of course I use the proper way (like sudo, etc.)
As you must have guessed I am new to Linux(Ubuntu).
The point is I can't print PDF files. Have a look at the image:


http://img6.imageshack.us/img6/2396/screenshotuyx.png


I have also modified to the cups-pdf.conf file and have directed it to /home/{USER}/PDF
And yes the aforementioned folder (i.e. PDF) exists at its proper place.

So I think the main problem is "P2POutputStream" error which you can see in the image.

Please let me know what you think.

Thank You in advance.

evo2 03-16-2010 02:35 AM

Hi, cups-pdf is the right package, but you need to set up an entry in your /etc/cups/printers.conf file. Something like the following should work:
Code:

<Printer pdf>
Info PDF Printer
Location tornado:home/cups-pdf/
DeviceURI cups-pdf:/
State Idle
StateTime 1265778451
Type 4
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

Also, I think the entry in you cups-pdf.conf file should look like:
Code:

Out ${HOME}/PDF
or perhaps
Code:

Out /home/${USER}/PDF
This second form makes an assumption about where the users home dir.

Cheers,

Evo2.


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