Solved

Printing to File, then Really Printing

Posted on 2000-03-31
5
155 Views
Last Modified: 2013-12-28
On one occasion, my printer was not working properly, and so instead of printing a document directly, I chose "Print to File" and saved the document as "Doc.prn". Now that my printer is working properly once again, how do I print this file?
0
Comment
Question by:dog78
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 15

Accepted Solution

by:
hewittg earned 50 total points
ID: 2675183
One way to do it.

Glenn

If you print from a Windows program and choose to save the print output as a file, most likely you'll end-up with a *.PRN (created using a PCL printer driver) or a *.PS file (created using a PostScript printer driver).

Once you have this *.PRN (or *.PS) file, it's very easy to send them to the printer to finally get a print out:

Go to the "DOS Prompt" or the "Command Prompt"
Assuming that the file you're about to print is called my_chart.prn and your printer is connected to LPT1: (parallel port number one), type:

COPY my_chart.prn LPT1 /B

and press ENTER
0
 
LVL 15

Expert Comment

by:hewittg
ID: 2675196
Also,
in Windows Explorer go to View / Options / File types and click on New Type. Type Printer file in the Description of type box, and prn in the Associated extension box, then click on the New button. In the Action box type Print, and then use the browse button to find the Extention.bat file you created to automatically fill in the Application used to perform action box. Click on Ok and Ok and Ok: and that should do it

Hope this helps.

Glenn
0
 

Author Comment

by:dog78
ID: 2675263
The DOS copy technique had a strange effect. Of the seven pages printed, the first was printed the size of a postage stamp on my 8.5"x11" paper, the subsequent pages were printed the full size, and the right-hand edge falls off the paper. If you have any thoughts as to why this may have occurred, please feel free to share. Thanks for your help thus far.
0
 
LVL 6

Expert Comment

by:bartsmit
ID: 2675818
The /b (for binary) only works if you type it before the filename.

The correct syntax is:

copy /b doc.prn lpt1:

It is possible that the printer missed some binary configuration characters that preceded the text output. This would explain the margin/size problem.
0
 

Author Comment

by:dog78
ID: 2676315
That appears to be the problem. Specific programs work just fine, I will look into the settings for Netscape. Thank you for your help!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question