Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I got a PRN file but I would to convert to PDF so that it will be easier for other people to access. How do I do that?

share
    
What type of PRN file is this? filext.com/file-extension/prn –  random Aug 28 '09 at 4:24
add comment

5 Answers

Typically, .prn is the suggested file extension on Windows when you use the "print to file" option in any program that can print it's content. Which printer driver is used to generate the .prn file depends on the printer you selected when printing (or on your default printer).

Typically, the real content behind that .prn extension therefor may vary as wildly as there are printer driver types available: PostScript (Levels 1, 2, 3), PCL (half a dozen types), ESC/P, ESC/P2, HP/GL, Prescribe, RPCS,.... you name it.

If your *.prn really is a PostScript, you can easily convert it with Ghostscript (or Acrobat Distiller) to PDF.

If your *.prn really is a PCL, you can also convert it, using another program from out of the Ghostscript stable, named GhostPCL.

Here are two example commandlines:

gswin32c.exe ^
    -dBATCH ^
    -dNOPAUSE ^
    -sDEVICE=pdfwrite ^
    -sOutputFile=output.pdf ^
    [...more Ghostscript CLI options as needed...] ^
    c:/path/to/input-which-is-postscript.prn

pspcl6.exe ^
    -dBATCH ^
    -dNOPAUSE ^
    -sDEVICE=pdfwrite ^
    -sOutputFile=output.pdf ^
    [...more Ghostscript CLI options as needed...] ^
    c:/path/to/input-which-is-pcl.prn

For downloading source code of GhostPCL, see here: http://ghostscript.com/GhostPCL.html (no pre-compiled binaries available that I know of).

share
    
+1 for the thorough answer with example. +10 if I could! –  airstrike Jul 23 '13 at 21:49
add comment

If you can print the file on Windows, you can install PDF printer driver such as CutePDF, which generates a PDF for you.

share
add comment

Typically PRN files are PostScript, but that is not always the case.

Two links for PostScript reference,

share
add comment

A PRN file, which is short for printer, is being generated by a postscript printer. now, in order to convert it to pdf, you need to install first a postscript printer (has PS in its name so you would know). Print the doc by selecting 'print to file'. After that, you'll need a pdf conversion utility. Adobe Acrobat will do by simply selecting "Create PDF" and locate your .ps file to change it to PDF format.

If you have other issues with this file, you may check this article on file extension prn for further guidance.

share
add comment

(1) Use GhostScript and its helpers, see http://pages.cs.wisc.edu/~ghost/. Or (2) rename the .prn to .ps and use CreatePDF.adobe.com to convert to PDF for free (up to three tries).

share
add comment

This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .