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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Redirecting a print job to a file.

Reply to Message Icon

Name: Irving
Date: November 23, 1999 at 13:30:05 Pacific
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.



Sponsored Link
Ads by Google

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

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.


0

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

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


0

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

would you send me a copy of PRN2FILE too ?


0

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

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


0

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

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


0

Related Posts

See More



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

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


0

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

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


0

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

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

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


0

Sponsored Link
Ads by Google
Reply to Message Icon






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


Sponsored links

Ads by Google


Results for: Redirecting a print job to a file.

Printing From A DOS App. To A File www.computing.net/answers/dos/printing-from-a-dos-app-to-a-file/1730.html

dos print to a file www.computing.net/answers/dos/dos-print-to-a-file/1263.html

Hot to redirect the system messages to a file www.computing.net/answers/dos/hot-to-redirect-the-system-messages-to-a-file/2660.html