LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Firefox - how to print pdf files (https://www.linuxquestions.org/questions/ubuntu-63/firefox-how-to-print-pdf-files-592632/)

satimis 10-17-2007 10:48 PM

Firefox - how to print pdf files
 
Hi folks,


Ubuntu 7.04 server amd64
Fluxbox desktop
Firefox - 2.0.0.6
cups-pdf - 2.4.2


I have cups-pdf installed and it is now running;

$ sudo /etc/init.d/cupsys status
Code:

Password:
Status of Common Unix Printing System: cupsd is running.

$ ls -l /usr/lib/cups/backend/cups-pdf
Code:

-rwsr-xr-x 1 root lp 25664 2007-03-02 23:58 /usr/lib/cups/backend/cups-pdf
But I can't find its printer on Firefox;

File -> Print -> Printer Name
Only "PostScript/default" is there.


Please help. TIA


B.R.
satimis

vtel57 10-18-2007 11:31 AM

Have you set up a printer in CUPS?

http://localhost:631/

pixellany 10-18-2007 11:40 AM

After a bad start, Adobe Acrobat Reader for Linux does a very good job of printing. On my system, Adobe opens withing a Firefox window when I click on a pdf in a site. Very smooth.

Adobe Reader v 8.1.1
Firefox 2.0.0.7

satimis 10-18-2007 07:42 PM

Solved
 
Hi vtel57 and pixellany,


Thanks for your advice.

I neither have cups nor Acrobat Reader installed running Xpdf instead. Since this is a server I only installed limited packages of X and non-server ultils.


After struggling a while I solved my problem as follows;

On console

$ sudo apt-get install hal-cups-utils
$ sudo apt-get install cupsys-bsd

$ sudo system-config-printer
Code:

Printer Name        PDF_Printer -> Forward
Selection
Virtual Printer                Enter Device URI cups-pdf:/ -> Forward
Makes        Generic -> Forward
Models        postscript color printer rev4
Driver        cups-pdf/PostscriptColo.ppd -> Forward
-> Apply

That is all.

To print webpage on Firefox;

File -> Print -> Printer Name: CUP/cups-pdf -> Print

"PDF" directory created automatically. The .pdf file printed is kept on this directory.


Anyway thanks again for you advice..


B.R.
satimis

vtel57 10-18-2007 11:00 PM

Glad you got it working! :)


All times are GMT -5. The time now is 02:43 PM.