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

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 4902
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

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

Post#1 by francois » 22 Jan 2012, 20:31

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. :)
Voltaire: Le mieux est l'ennemi du bien.

Tonio
Contributor
Contributor
Posts: 266
Joined: 28 Dec 2010, 16:37
Distribution: Slackware,porteus,FreeBSD,Slax
Location: 127.0.0.1

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

Post#2 by Tonio » 23 Jan 2012, 13:26

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 :)

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

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

Post#3 by Hamza » 23 Jan 2012, 19:34

What's the output of this command ?

Code: Select all

file /path/to/empty_pdf
NjVFQzY2Rg==

Post Reply