WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cups-pdf  (Read 3398 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
cups-pdf
« on: March 23, 2009, 08:04:18 PM »
Thanks to Onyarian we now have cups-pdf:

Code: [Select]
Title:          cups-pdf.tce
Description:    cups-pdf for tiny core
Version:        2.5.0
Author:         Volker C. Behr
Original-site:  http://www.cups-pdf.de
Copying-policy: GPL
Size: 16Kb
Extension by:   Onyarian
Comments:       requires cups.tce
                optionally uses opera/minefield for browser interface
                ----------
                Howto:
                It prints into pdf documents in /home/tc/cups-pdf directory
You can change it editing /etc/cups/cups-pdf.conf
                http://localhost:631 will start browser interface, then select
as device the "CUPS-PDF (Virtual PDF Printer)"
                To persist across boots add the following to your backup:
                /etc/cups/printers.conf
                /etc/cups/ppd/cups-pdf.ppd
                /etc/cups/cups-pdf.conf (only if you changed it)
                ----------
                This extension contains:
                cups-pdf_2.5.0.tar.gz source
                Files:
/usr/local/lib/cups/backend/cups-pdf
/etc/cups/cups-pdf.conf
/usr/local/share/cups/model/CUPS-PDF.ppd
Change-log:     2009/03/23
Current:        2009/03/23


Code: [Select]
Title:          cups-pdf.tcz
Description:    cups-pdf for tiny core
Version:        2.5.0
Author:         Volker C. Behr
Original-site:  http://www.cups-pdf.de
Copying-policy: GPL
Size: 397Kb
Extension by:   Onyarian
Comments:       requires cups.tcz
                optionally uses opera/minefield for browser interface
                ----------
                Howto:
                It prints into pdf documents in /home/tc/cups-pdf directory
You can change it editing /etc/cups/cups-pdf.conf
                http://localhost:631 will start browser interface, then select
as device the "CUPS-PDF (Virtual PDF Printer)"
                To persist across boots add the following to your backup:
                /etc/cups/printers.conf
                /etc/cups/ppd/cups-pdf.ppd
                /etc/cups/cups-pdf.conf (only if you changed it)
                ----------
                This extension contains:
                cups-pdf_2.5.0.tar.gz source
                Files:
/usr/local/lib/cups/backend/cups-pdf
/etc/cups/cups-pdf.conf
/usr/local/share/cups/model/CUPS-PDF.ppd
Change-log:     2009/03/23
Current:        2009/03/23

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: cups-pdf
« Reply #1 on: April 20, 2009, 12:58:10 PM »
Print on pdf file is not working or highly unsatisfactory

Code: [Select]
tc@box:~$ gs
gs: error while loading shared libraries: libcupsimage.so.2: cannot open shared object file: No such file or directory
tc@box:~$ find / -name libcupsimage.so\* 2>/dev/null
tc@box:~$
root@box:/home/tc# df | grep gs
/dev/loop40               6576      6576         0 100% /tmp/tcloop/gs
root@box:/home/tc# df | grep cups
/dev/loop17                388       388         0 100% /tmp/tcloop/cups-pdf

Probably .dep is not complete (comment said cups.tc* are needed but appbrowser does not install it) but could be not the only problem because Firefox show the ability to print on ps/pdf without any cups installed (but it does not work at all).
« Last Edit: April 20, 2009, 01:01:13 PM by robang »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: cups-pdf
« Reply #2 on: April 20, 2009, 01:14:43 PM »
Well, cups-pdf is supposed to be installed as a cups printer driver, no?

The .dep file only lists cups.tcel - a normal extension should list all the deps, but then again, since this is meant to be installed as a printer driver you would expect cups and all its deps to be already loaded...

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: cups-pdf
« Reply #3 on: April 20, 2009, 01:28:23 PM »
It's also pretty easy to just print to postscript (most apps can) and then use ps2pdf from a gs extension
The only barriers that can stop you are the ones you create yourself.