LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-17-2007, 10:48 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
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
 
Old 10-18-2007, 11:31 AM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Have you set up a printer in CUPS?

http://localhost:631/
 
Old 10-18-2007, 11:40 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
Old 10-18-2007, 07:42 PM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
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
 
Old 10-18-2007, 11:00 PM   #5
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Glad you got it working!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Print to PDF from Firefox? Optiker Ubuntu 17 03-27-2019 09:51 AM
print PDF files dhaddad Linux - Software 2 10-17-2007 09:34 AM
Print to PDF in Firefox nicehill Mandriva 1 05-21-2007 11:33 PM
Cannot Print PDF Files as400 Solaris / OpenSolaris 41 04-24-2006 02:23 AM
why I can't print PDF files wannaluvlinux Linux - Software 3 10-13-2004 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration