Page 1 of 1

Producing pdf files with CUPS-pdf: output is empty file.

Posted: 22 Jan 2012, 20:31
by francois
CUPS-PDF
It could be useful to transform documents produced with your favorite text editor into pdf files thru CUPS. Salix provides the slackware cups-pdf package and has a nice wiki to install cups-pdf. Just left-click on the txz file to get your xzm module:
http://www.slackware.org.uk/salix/i486/ ... 86-1ab.txz
http://www.salixos.org/wiki/index.php/H ... DF_printer

The pdf files produced by your cups-pdf once produced will be found in /home/userxxx or /root/PDF folder depending if you work with a specific user account or root account.

Posted after 3 minutes 21 second:
I thought that everything was in the pocket. It seems that some dependencies might be missing. But which are they?

In addition to Salix repo, here is a link to debian repo:
http://packages.debian.org/squeeze/cups-pdf

Posted after 7 minutes 27 seconds:
Meanwhile, I just realised that there is a pdf export function in openoffice. Good for me. :)

Re: Producing pdf files with CUPS-pdf: output is empty file.

Posted: 23 Jan 2012, 13:26
by Tonio
If you need to print a pdf from Firefox, there is a way to output to ps(postscript) or to pdf. Check it out. It uses cairo 1.10.2 http://cairographics.org/ And yes if you have libreoffice, it can export to pdf as well :)

Re: Producing pdf files with CUPS-pdf: output is empty file.

Posted: 23 Jan 2012, 19:34
by Hamza
What's the output of this command ?

Code: Select all

file /path/to/empty_pdf