RSS feed
<< January 16, 2008 | Home | January 18, 2008 >>

Use windows 'Print to file' option and Linux to create PDF files

I try to keep my computers as vanilla as possible. Recently I make a purchase online and wanted to keep a copy of the receipt. I wanted a PDF copy of the page but I wanted the software I installed to be kept to a minimum. Here's a quick and dirty way of creating a PDF if you a Linux machine handy. The trick is to send the job to a postscript printer and but selecting the "Print to file" option in the Print dialog so that the results are saved to a file instead of sent to the printer itself. Once you have the postscript file, you can transfer it to a Linux machine and run ps2pdf.

I originally sent the job to an HP printer but ran into errors on the ps2pdf so I installed the Generic Postscript Printer and that worked without a hitch.

To automate this process even further, Henrik Schmiediche has instructions on installing all the tools necessary to omit the Linux machine from the process entirely.

[patrick@sprout pdf]$ ps2pdf output.ps
%%[ ProductName: GNU Ghostscript ]%%
%%[Page: 1]%%
%%[LastPage]%%
[patrick@sprout pdf]$
<< January 16, 2008 | Home | January 18, 2008 >>