Printing a .PRN file
"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?"
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. Total gibberish, won't print.
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.
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...
|
|
Need more tech support?
|
Posted by Bob Rankin on July 15, 2005 10:32 AM
| Need More Help? Try the AskBobRankin Updates Newsletter. It's Free! |
|
Prev Article: Can I Delete This File? |
|
Next Article: Spammer Using My Email Address! |
|
Link to this article from your site or blog. Just copy and paste from this box: Related Keywords: Windows print to file print file PRN file parallel port USB printer |
There's more reader feedback... See all 64 comments for this article.
Post your Comments, Questions or Suggestions
|
Ask Bob Rankin Home Page
Subscribe to AskBobRankin Updates: Free Newsletter |
|
| Copyright © 2005 - Bob Rankin - All Rights Reserved | ||
Article information: AskBobRankin -- Printing a .PRN file (Posted: July 15, 2005 10:32 AM)
Source: http://askbobrankin.com/printing_a_prn_file.html
Copyright © 2005 - Bob Rankin - All Rights Reserved




Most recent comments on "Printing a .PRN file"
(See all 64 comments for this article.)Posted by:
Richard
16 Feb 2009
Hi, I've also had many problems using
copy /b \\computer_name\printer_name
The DOS prompt thinks for a second then states it cannot find the network(!)I've tried renaming the computer and printer and even tried the troubleshooting utils. Nothing. Is this an SP2 issue?
USB is UBS - come back parallel, all is forgiven.
Posted by:
kyle
06 Mar 2009
if your printer name has a space in it, wrap it in quotes...
From the directory the file is in...
COPY /B file.prn "\\computername\printer name"
Posted by:
Daniel
10 Mar 2009
what do you do if the printer you have is a wireless printer then how you print a prm file
thanks for any help
!!!!NO PORT ON ANY COMPUTER USED IN THE NETWORK!!!!
Posted by:
Tim ODell
05 Apr 2009
Here's a much easier way to print a .PRN file:
http://www.lerup.com/printfile/
EDITOR'S NOTE: That page talks about Postscript and other formats, but does not mention PRN files.
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!