none
Help regarding *.PRN filetype. RRS feed

  • Question

  • I wish to convert a *.prn file to something immediately graphical, like a jpeg or bmp file.

    I have seen a complex approach which uses something called ghost script,

    however this is a little outside of my framework. :)

    Is there a dead simple way to do this?

    Tuesday, September 20, 2011 3:55 AM

Answers

  • Fred,

    Cindy is correct that this is off-topic for the Word forums, but I hope I can point you in the right direction.

    First, about *.prn files: They're a capture of the data sent from the computer to the printer, as created by the printer driver that was selected at print time. That data may or may not be usable to create a graphics file.

    Second, about GhostScript: It's an open-source interpreter for PostScript and PDF formats (http://en.wikipedia.org/wiki/Ghostscript). So if the *.prn file was created through a printer driver for a PostScript printer or for a PDF "pseudo-printer", then GhostScript may be able to open it. However, if the chosen printer driver was for something like HP's PCL or some other proprietary printer output, then GhostScript won't be of any use at all.


    Jay Freedman
    MS Word MVP  FAQ: http://word.mvps.org
    • Marked as answer by Liliane Teng Wednesday, September 28, 2011 11:19 AM
    Tuesday, September 20, 2011 10:00 PM

All replies

  • Hi Fred

    Not in the Word object model, in any case, which is the topic of this forum. Actually, the entire question is off-topic in the Word forum, as it has absolutely nothing to do with Word, or Office...


    Cindy Meister, VSTO/Word MVP
    Tuesday, September 20, 2011 6:00 AM
    Moderator
  • Fred,

    Cindy is correct that this is off-topic for the Word forums, but I hope I can point you in the right direction.

    First, about *.prn files: They're a capture of the data sent from the computer to the printer, as created by the printer driver that was selected at print time. That data may or may not be usable to create a graphics file.

    Second, about GhostScript: It's an open-source interpreter for PostScript and PDF formats (http://en.wikipedia.org/wiki/Ghostscript). So if the *.prn file was created through a printer driver for a PostScript printer or for a PDF "pseudo-printer", then GhostScript may be able to open it. However, if the chosen printer driver was for something like HP's PCL or some other proprietary printer output, then GhostScript won't be of any use at all.


    Jay Freedman
    MS Word MVP  FAQ: http://word.mvps.org
    • Marked as answer by Liliane Teng Wednesday, September 28, 2011 11:19 AM
    Tuesday, September 20, 2011 10:00 PM