HOWTO: Make PDF's from practically anything.

If you are new to YDL and have some more or less basic questions.

HOWTO: Make PDF's from practically anything.

Postby CronoCloud » 04 Aug 2008, 11:07

Did you know that on Unix type operating systems the ability to create PDF's is built in? Yes, even a PS2 running Linux can make PDF's with a standard base install.

Now usually, you'll be running some kind of graphical application that will often have a button or other menu item for it. But what if they don't?

That's when you'll install cups-pdf:

yum install cups-pdf

You know how on windows you can download some programs that install a virtual printer that will let you print to make PDF's? Well cups-pdf works the similarly, but better. Then you can:

system-config-printer as root to install the fake printer which will then show up in the print menus of your applications. When you use it, it'll print the pdf to your Desktop direcotry in your home directory.

But....you don't even need to do that, though installing cups-pdf makes it easier. You see, most Linux applications print-to-file option outputs postscript, and postscript is easily converted to PDF using the built in utility ps2pdf. You'll hit print-to-file in your app, save the file and then run ps2pdf on it in a terminal.

Now suppose you had a plain ascii text file you wanted to make a PDF out of. You could load it into abiword or OpenOffice and use them to make a PDF, but what fun is that when you could do it in a terminal faster. a2ps converts ascii files (and others) to postscript, then you can use ps2pdf to make the PDF.

Or you can even use lpr in the terminal to print directly to cups-pdf:

lpr -PCups-PDF file

Isn't Linux fun?

Ron Rogers Jr. (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS and with an upgraded 320GB HD
Running Fedora 23 on a Compaq Presario CQ5320F upgraded with a Phenom X4 and GT640
Vizio E221A1 22" 1080P TV with HDMI, using 1080P over HDMI
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 523
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Re: HOWTO: Make PDF's from practically anything.

Postby massproduce » 05 Oct 2008, 12:09

whats a pdf?
massproduce
ydl newbie
ydl newbie
 
Posts: 15
Joined: 05 Oct 2008, 01:26

Re: HOWTO: Make PDF's from practically anything.

Postby ppietro » 05 Oct 2008, 21:41

massproduce wrote:whats a pdf?


That's a type of file that Adobe Acrobat Reader uses for platform-independent documents. Like, when you click on a link on a web browser in Windows, and it says "You need to install Adobe Reader"

You can find more information about it here:
http://en.wikipedia.org/wiki/Portable_Document_Format

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: HOWTO: Make PDF's from practically anything.

Postby susanspy » 10 Mar 2009, 22:03

Hello all, Susan here i am not net savvy but had trouble converting word to pdf to send a invoice to my boss each time i was wondering is there no way round other hand go in to the Adobe web site, then i spotted this place which has great tips & tricks to create pdf's from anything.

Thanks a lot for this.

Cheers!!!
susanspy
ydl newbie
ydl newbie
 
Posts: 2
Joined: 09 Mar 2009, 11:19

Re: HOWTO: Make PDF's from practically anything.

Postby CronoCloud » 14 Mar 2009, 10:21

susanspy wrote:Hello all, Susan here i am not net savvy but had trouble converting word to pdf to send a invoice to my boss each time i was wondering is there no way round other hand go in to the Adobe web site, then i spotted this place which has great tips & tricks to create pdf's from anything.

Thanks a lot for this.

Cheers!!!


Easiest way on Windows is to download a "virtual printer" that you select in your print dialog that converts whatever you print to it to PDF and saves it.

I personally would recommend PDFCreator

http://sourceforge.net/projects/pdfcreator/

Also the freeware version of CutePDF writer has also been suggested:

http://www.cutepdf.com/

At least one version of Print Shop installed a virtual PDF printer for me on Windows XP.

Hope this helps

Ron Rogers Jr. (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS and with an upgraded 320GB HD
Running Fedora 23 on a Compaq Presario CQ5320F upgraded with a Phenom X4 and GT640
Vizio E221A1 22" 1080P TV with HDMI, using 1080P over HDMI
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 523
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Re: HOWTO: Make PDF's from practically anything.

Postby nabritta » 18 Nov 2009, 10:46

How can i change pdf version to microsoft word? I downloaded a book in my computer in PDF version,Now first i want to transmit it to progarme microsft word and then print it?
_____________________
market samurai ~ marketsamurai ~ marketsamurai.com
Last edited by nabritta on 24 Nov 2009, 06:28, edited 1 time in total.
nabritta
ydl newbie
ydl newbie
 
Posts: 1
Joined: 15 Nov 2009, 08:04

Re: HOWTO: Make PDF's from practically anything.

Postby ppietro » 18 Nov 2009, 10:58

nabritta wrote:How can i change pdf version to microsoft word? I downloaded a book in my computer in PDF version,Now first i want to transmit it to progarme microsft word and then print it?


Ummm - yeah - Microsoft Word doesn't work on Yellow Dog Linux. This may not be the best place to ask that question. Just sayin'. :D

Now - if you want to know about Open Office, that's more our speed. :D

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: HOWTO: Make PDF's from practically anything.

Postby sok_linux » 06 Mar 2010, 11:37

yum install cups-pdf worked great, all I needed to do was type that in terminal as root and I was in the races.
There is only one thing you can do, so do it.
User avatar
sok_linux
ydl newbie
ydl newbie
 
Posts: 18
Joined: 15 Sep 2009, 17:45

Re: HOWTO: Make PDF's from practically anything.

Postby core_dumped » 09 Aug 2010, 17:40

This thread is kind of old, but some net-searchers might find it useful to know as well that Open Office and other word processing programs (Abiword, I think) produce PDF output. If you have a Word document that you wish to convert into PDF, it is possible with these programs.
core_dumped
ydl newbie
ydl newbie
 
Posts: 4
Joined: 17 Oct 2009, 01:52


Return to Beginner

Who is online

Users browsing this forum: No registered users and 5 guests

cron