Printing a .PRN file

Printing a .PRN file

Category: Windows

"If I'm using my laptop away from the office and I choose to print something and select "print to file" (since I don't have a printer with me) it creates a .PRN file, but how can I print that file later?"


How to Print a PRN file

Okay, let's say you're home or back at the office, and you now have a printer attached to your laptop. Or maybe you copied that .PRN file to your desktop system. It should be easy to print that file now, right? WRONG!

My first guess was to open Windows Explorer, right-click on the .PRN file, then select Print. But there is no Print option in the dropdown menu.

Well then, I'll just go to My Computer, open the Printers folder, then drag and drop the .PRN file on the printer icon. Bzzzt... wrong again. Windows returns an error message that says "File cannot be printed. Open the file with the correct application and print from there." Just for jollies, I created a .PRN file with Word, then tried to open it with Word. You'd think the program that created a file could also open it, right? Nope... total gibberish, won't print.
print prn file

Okay, So What DOES Work?

It turns out you have to resort to the DOS Prompt and enter some arcane command string to find true .PRN file happiness. To open a DOS prompt, you can click on Start / Run, then enter CMD.EXE and press enter. Now use the CD (change directory) command to navigate to the folder where the .PRN file is stored. For example,

CD \MYSTUFF

But wait, there's more... the format of the print command depends on the type of printer you have.

If you have an older printer that's connected via the parallel port (it will have a 1/4-inch cable with large connectors on both ends), then here's the command to use. (Substitute your actual print file name for TMP.PRN below.)

COPY /B TMP.PRN LPT1:

If you have a printer that's connected via the USB port (thin wire with small connectors) then here's the command to use.

COPY /B TMP.PRN \\computer_name\printer_share_name

What? You don't remember your computer name? You don't know the printer share name? Here's how to find them, if you haven't committed those arcane facts to memory:

To find your computer name go to Control Panel, open the System folder, then click on Computer Name. The info you want is shown after the tag "Full computer name". If there's a period at the end of the name, ignore it.

To find your printer share name, go to Control Panel, open the Printers folder, then right-click on your printer and select Sharing. The share name will appear there. If your printer is not shared, select the Share this printer radio button and enter a share name.

Okay, let's assume your computer name is Zippity and your printer share name is Doodah. That would make the print command as follows:

COPY /B TMP.PRN \\Zippity\Doodah

Note there are TWO backslashes before the computer name. Easy, right? Sheesh...

Sign up now for AskBob Updates!

Boost your Internet IQ, keep up with the latest online trends... get your FREE subscription now!


Email:



Share this article with friends!


Posted by on 15 Jul 2008


Need More Help? Try the AskBobRankin Updates Newsletter. It's Free!

Prev Article:
Wireless Printers

The Top Twenty
Next Article:
Online Health Records

Link to this article from your site or blog. Just copy and paste from this box:


Most recent comments on "Printing a .PRN file"

(See all 68 comments for this article.)

Posted by:

Eric
11 Apr 2009

I second using PrintFile (http://www.lerup.com/printfile) when you have to print to a USB or Internet Printing Protocol printer. Windows will not allow you to create a share for an IPP printer and using copy /b with "\\http://servername\printername" (or the any variation, both quoted and unquoted) does not work. So far PrintFile has worked with every PRN I've thrown at it and none have them have been for Postscript printers.


Posted by:

Tim
25 May 2009

Convert to an Adobe PDF file & print, easier than any of the alternatives presented here.


Posted by:

Rakesh Bhardwaj
03 Jun 2009

Yes, you can print a .prn files created with same printer driver where you want to print the file. For this purpose you only need to have a software called Initial Heidelberg Digimaster Print file Downloader.
For more info visit the following link

http://advancetechnology.today.com/2009/02/13/print-through-prn-files-through-usb-printers-attached/


Posted by:

ASHOK
11 Jun 2009

I did it this way......

rename the file to ".mdi" format .... that will open in Microsoft Office Document Imaging .... and you can very well print it from there....

Regs

ASHOK RATHORE


Posted by:

T.C
12 Jun 2009

thx works completely and save my day at the office.

cheers


Posted by:

T.F.
13 Jun 2009

This works: http://www.lerup.com/printfile/

This didn't work: COPY /B file.prn "\\computername\printer name"
It said 'a device attached to the system is not functioning' go figure.

Thanks!


Posted by:

ciccio
13 Apr 2010

the output is a .tiff file


Posted by:

papaathome
15 Jun 2010

A .prn file content is depending on the printer device and its driver.

If the printer is accepting TIFF file then the printer driver is generating tiff and your .prn file is a .tiff file.
If the printer is accepting postscript then the printer driver generates postscript and your .prn file is a .ps file.
If you have a HP printer then the printer device is generating PCL code and your .prn file is a .pcl file

Get the picture?

Kind regards.


Posted by:

THRUSHITHA
06 Dec 2010

hi
actually dis site helped me with th commands to use dos for printing .prn file. i m using printer connected through usb, and i used th command COPY /B FILENAME.PRN\\COMPUTERNAME\SHARINGNAME format, but for me its displaying as THE SYSTEM CANT FIND THE SPECIFIED PATH... wat 2 do. I need my prn file to b printed. can u help me.


Posted by:

P. Stefan Bruciu
05 Nov 2011

Dear Mr. Rankin,

I am trying to print a .prn file using your method on a Dell AIO Printer A940 printer connected to my computer by an USB port, but I receive "Access is denied" error message.

Would you please tell me how can I fix this problem?

I sent the printing command in a Command window opened in the same directory as the .prn file.

I know the computer and the printer names.

I greatly appreciate your help.

Best regards,

P. Stefan Bruciu


There's more reader feedback... See all 68 comments for this article.

Post your Comments, Questions or Suggestions

*     *     (* = Required field)

    (Your email address will not be published)
(you may use HTML tags for style)

YES... spelling, punctuation, grammar and proper use of UPPER/lower case are important! And please limit your remarks to 3-4 paragraphs. If you want to see your comment posted, pay attention to these items.

All comments are previewed, and may be edited before posting.

NOTE: Please, post comments on this article ONLY.
If you want to ask a question click here.


Free Tech Support -- Ask Bob Rankin
RSS   Add to My Yahoo!   Feedburner Feed
Subscribe to AskBobRankin Updates: Free Newsletter
Copyright © 2005 - Bob Rankin - All Rights Reserved
Privacy Policy -- See my profile on Google.


Article information: AskBobRankin -- Printing a .PRN file (Posted: 15 Jul 2008)
Source: http://askbobrankin.com/printing_a_prn_file.html
Copyright © 2005 - Bob Rankin - All Rights Reserved

 
Free
Newsletter
Get the FREE  "AskBob Updates" newsletter!       Email:    (Details)