Printing .prn files on Mac.

Discussion in 'Mac Apps and Mac App Store' started by flipshot, Nov 22, 2007.

  1. flipshot macrumors 6502a

    Joined:
    Jul 30, 2007
    Location:
    Hertfordshire, UK
    #1
    Hi

    One of my lecturers has put some lecture notes up on the internet as a .prn file. It said to search google for a program called ghostview which I did an I found a link to ghostview for mac. I downloaded it but it won't let me install it, it just has a grey X over it. I'm guessing this is meant for an older version of mac.

    I read on a site that dragging it to the printer queue will let me print it but all that happens is a blank TextMate window opens up. Does anyone know how I can print this file, like a newer version of ghostview or another program.

    I'm using Mac OS X 10.4 (Tiger)

    Thanks
    Craig
     
  2. MisterMe macrumors G4

    MisterMe

    Joined:
    Jul 17, 2002
    Location:
    USA
    #2
    Your lecturer should be flogged with a wet noodle to within an inch of his life. .prn files are an artifact of MS-DOS. Everyone that I have seen is a plain text file. Open the file with Text Edit or some other text editor. You may find it convenient to change the extension to .txt. Examine the contents to be sure that its contents are indeed plain text. If the files are gibberish, then very politely ask your lecturer for a .doc or .pdf version of his notes. Then go to the supermarket and buy a bag of pasta, bring it home, and start boiling water.
     
  3. micsaund macrumors 6502

    micsaund

    Joined:
    May 31, 2004
    Location:
    Colorado, USA
    #3
    I agree that the professor is a dillweed for posting a prn file instead of pdf or something more universally understood.

    I'm guessing that the ".prn" files he's created are actually PostScript since he's wanted you to use Ghostview to view them. You can verify this by opening them in TextEdit and looking for ASCII text and somewhere near the top, you'll see the phrase "postscript" (unsure of the exact case).

    If so, check this post and be sure to read the comments for more info. It should be pretty easy to get the PS into a PDF.

    I've used ps2pdf in the past, but you need fink installed to do that.

    EDIT: Try "pstopdf" from the commandline on OS X -- it's installed by default. It sounds like it's not flawless for some of the advanced PS rendering, but may work just fine for your doc.

    Mike
     
  4. MisterMe macrumors G4

    MisterMe

    Joined:
    Jul 17, 2002
    Location:
    USA
    #4
    If the file is PostScript, then all you have to do is to change the extension from .prn to .ps. Preview will handle the rest.
     
  5. flipshot thread starter macrumors 6502a

    Joined:
    Jul 30, 2007
    Location:
    Hertfordshire, UK
    #5
    Thanks everyone. Changing the extension to .ps sorted it.
     

Share This Page