Computing.Net > Forums > Disk Operating System > Redirecting a print job to a file.

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Redirecting a print job to a file.

Reply to Message Icon

Original Message
Name: Irving
Date: November 23, 1999 at 13:30:05 Pacific
Subject: Redirecting a print job to a file.
Comment:

I am running an application(DOS) under windows NT. I need to redirect the print jobs from the printer to a file name. Is there a simple DOS command I can use?

Thanks.


Report Offensive Message For Removal


Response Number 1
Name: MONTANA
Date: November 23, 1999 at 23:37:57 Pacific
Reply: (edit)

IF YOUR APPLICATION IS A BAT FILE YOU CAN ADD A COMMAND TO REDIRECT THE OUTPUT TO
YOUR PRINTER [LPT(n)].
ARE YOU USING A NETWORK OR LOCAL PRINTER?

(COMMAND TO REDIRECT AN EXISTENT FILE TO A PRINTER IS:

TYPE [FILENAME.FIL] > LPTn

OR

TYPE [FILENAME.FIL] > PRN

LPT(n) BEING YOUR NETWORK PRINTER SETTING
(n)=NUMBER OF PRINTER 1,2,3,-ETC.

I DON'T KNOW ABOUT REDIRECTING FROM THE PRINT QUE IF THAT IS WHAT YOU MEAN.
DOESN'T THE PRINTER ITSELF GET THE FILE CONVERTED IN (EMF) FORMAT? IT WOULD BE POSSIBLE WITH SOME ASSEMBLY CODE, BUT I DON'T KNOW HOW YET.


Report Offensive Follow Up For Removal

Response Number 2
Name: EMS
Date: November 24, 1999 at 14:26:59 Pacific
Reply: (edit)

You can do it with a little program.

PRN2FILE.COM

AT THE PROMPT YOU WRITE:
PRN2FILE FILENAME.TXT
AND ALL YOU PRINT ON LPT1 WILL BE PUT IN THE FILE YOU NAMNED.

I MAIL IT TO YOU.

GOOD LUCK


Report Offensive Follow Up For Removal

Response Number 3
Name: amir
Date: February 28, 2000 at 08:11:17 Pacific
Reply: (edit)

would you send me a copy of PRN2FILE too ?


Report Offensive Follow Up For Removal

Response Number 4
Name: Edan Folman
Date: June 2, 2000 at 00:27:21 Pacific
Reply: (edit)

I f it posible that u will sen me the program too


Report Offensive Follow Up For Removal

Response Number 5
Name: dipak raja
Date: September 1, 2000 at 07:10:58 Pacific
Reply: (edit)

You can redirect your print job to file with the help of "prn2file.com" (a small prg) but this utility can be used, when you are using dos as an o.s. this prg does not support win9X. I can send this small prg
If you find any utility which supports win9X or winy2k, pl. send me.
-dipak raja


Report Offensive Follow Up For Removal


Response Number 6
Name: dipak raja
Date: September 1, 2000 at 07:23:26 Pacific
Reply: (edit)

You can redirect your print job to file with the help of "prn2file.com" (a small prg) but this utility can be used, when you are using dos as an o.s. this prg does not support win9X. I can send this small prg
If you find any utility which supports win9X or winy2k, pl. send me.
-dipak raja


Report Offensive Follow Up For Removal

Response Number 7
Name: PJ
Date: September 12, 2000 at 10:43:22 Pacific
Reply: (edit)

I am using Windows 98 PC. How do I Print something to file. I do not have printer


Report Offensive Follow Up For Removal

Response Number 8
Name: davo
Date: November 27, 2000 at 03:10:25 Pacific
Reply: (edit)

go to this web page the instructions are there for printing to a file in win 95/98

http://malektips.envprogramming.com/95wpr0003.html


Report Offensive Follow Up For Removal






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home








Do you have a Desktop Computer anymore?

No
Yes, but only at work
Yes, but its rarely used
Yes, and its a workhorse


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History




Data Recovery Software