Pdf from windows prn file, MS Powerpoint, MS Excel, MS Word (On Linux).

Having a ps file of your presentation is Dandy for printing, but to send it by email it would be better to reduce the size below 10 MB.

Our mission, to make powerpoint presentation file into reasonably sized pdf. (Note all of this was done on Linux, we tried with MS XPS printed to file and fell at the ps2ps stage).

Print to file to generate a prn file (I think this is microsoft version of a postscript file). Select paper size A4. Landscape mode. Note we used postscript driver in our emulated version of windows. (Using Wine). You may need to install a postscript driver for a printer, and select that printer, before printing to file. This hasn’t been tested by the author of this blog.

Printing to Postscript in MS Office 2003 on Linux using Wine

Printing to Postscript in MS Office 2003 on Linux using Wine

Move to the linux terminal (we tried on debian lenny but these commands are very basic – install psutils if not available).

Try to clean up file by converting to postsript, not sure this is necessary or not.
ps2ps -sPAPERSIZE=a4 file.prn file.ps

If you want to put 2 pages per size use
psnup -l -2 -s.7 file.ps double.ps

convert to pdf – downsize images to make file reasonable size. Other commands to do this automatically seemed not to work (ps2pdf14 -dPDFSETTINGS=/screen)
ps2pdf -dGrayDownsampleType=2 -dAutoFilterColorImages=false -dDownsampleColorImages=true double.ps

Cross over office is a compatibility tool which helps migration away from Microsoft Windows, they provide software to let you run many windows programs on Mac and Linux. Here is a link to the cross over office site:
CodeWeavers

Advertisements