Solved

Printing to File, then Really Printing

Posted on 2000-03-31
5
148 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
  • 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
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…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now