LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-28-2006, 11:23 AM   #1
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Rep: Reputation: 21
Print to PDF from Firefox?


In Windows, I often save web pages by printing them to a free PDF print driver. If I look at my Kubuntu Breezy 5.10 printers, it lists a PDF printer, however, when I select a printer in Firefox, only my inkjet printer is shown.

How do I do this in Kubuntu?

Thanks!
Optiker
 
Old 02-28-2006, 11:32 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
File -> Print -> Print to File. I think Firefox can print to postcript but not to pdf in Linux.
 
Old 02-28-2006, 11:47 AM   #3
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
Reddazz...

Unfortunately, I am aware of that, but not what I was after. But, as I mentioned, in Windows, there is a virtual PDF printer (PDF printer driver) that lets me print direct to a PDF file. I can do that from any app. That's what I was looking for.

Thanks anyhow...will keep looking.

Optiker
 
Old 02-28-2006, 01:06 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I think the pdf printer is only for KDE apps. Usually I just print to ps and then use ps2pdf to convert it.
 
Old 02-28-2006, 01:07 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Just found this thread.

here's the gist:
Quote:
File/Print - Click Properties, change the print command to "kprinter
--stdin" (without speech marks)

This changes the printer that FF uses to the standard KDE printing
system. You can then use the KDE Print to PDF functions.
 
Old 02-28-2006, 01:18 PM   #6
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
pl...thanks. I will try that.

Optiker
 
Old 02-28-2006, 04:22 PM   #7
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
pl...that's interesting...it seems to work, but I have no idea where it saved the file to, if in fact, it did generaqte a pdf. Any idea how I access anything that lets me set any parameters?

Thanks!
Optiker
 
Old 02-28-2006, 04:28 PM   #8
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
No idea. I've never used it myself... How does the KDE print to pdf work, because the thread implies it works the same way...

find /home -iname '*.pdf'
 
Old 02-28-2006, 04:32 PM   #9
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I just inserted the command in the parameters and when I printed, it popped up a dialog box that let me select "Print to PDF". The output filename was in the middle of the page...
 
Old 02-28-2006, 05:18 PM   #10
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
pl...unfortunately, it didn't do that for me. When I invoked print, it immediately went through some stuff with dialogs popping, but went too fast to read, and gave no options for anything.

This is a fairly new setup, so there are only a handful of files in my /home folder, and no PDFs.

Optiker
 
Old 02-28-2006, 05:23 PM   #11
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
My default file was /home/user/print.pdf...

Did you remember to leave off the quotes and just enter kprinter --stdin
 
Old 03-01-2006, 09:15 AM   #12
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Original Poster
Rep: Reputation: 21
pl...yes, I left off the quotes and entered it exactly as you suggested. What I was encertain about was that the only printer that is currently shown in the Firefox print dialog box is my HP Deskjet, so when I invoke "print", and then "properties" it is in the context of the HP. It didn't make sense to me to change that script for the HP to call for PDF print. Nevertheless, lots of things in Linux don't make sense to me, so I did as you instructed, and as I said, it seemed to work, but I got no dialog box asking for any filename or path input, and couldn't find a resulting PDF.

Incidentally, in browsing around for someplace to "install" a PDF virtual printer, I did see that listed as a printer, but I sure don't recall where I saw it. It just doesn't come up as an option in Firefox.

Any further suggestions appreciated.

Thanks!
Optiker
 
Old 03-01-2006, 09:22 AM   #13
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Rep: Reputation: 30
I have also wondered about this. Considering that most FREE pdf printers in wondows are opensource (right??), why is it we do not have one in Linux, by default. The one I admire the most is pdffcatory (commercial, but 'free' to use with logo/label) that allows pages ot be collated into one pdf document. I wished we had one in Linux.
my 2c.
 
Old 03-02-2006, 04:14 PM   #14
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Sorry, I just went and looked at which printer I typed those settings for and it was PostScript/default.

So maybe you need to put kprinter --stdin under the properties for your PostScript printer.

And hopefully we didn't hose up your HP...
 
Old 03-04-2006, 06:04 AM   #15
noridlo45
LQ Newbie
 
Registered: Feb 2005
Location: Georgia, USA
Distribution: Kunbuntu 12.04
Posts: 14

Rep: Reputation: 0
I just discovered that the method of printing .pdf from firefox that I was using was still creating .ps and I assumed it was .pdf without checking. More for me to learn.

Last edited by noridlo45; 03-04-2006 at 06:28 AM.
 
  


Reply



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
Cannot print PDF files. mooreted Mandriva 17 01-02-2012 03:11 AM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
KDE Won't Print to PDF bleedingturnips Linux - Software 0 09-06-2005 07:28 AM
Help! ...Cannot print PDF! Mike Stern Linux - Hardware 1 06-23-2004 09:44 PM
can't print this pdf with acrobat.. doublefailure Linux - Software 3 12-12-2002 03:21 AM

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

All times are GMT -5. The time now is 03:25 PM.

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