| 1. |
Solve : Print to File? |
|
Answer» I have a DOS program that PRINTS to an Epson Dot Matrix Printer. Isn't there a DOS COMMAND that I can run before running the program to redirect the output from a printer to a PRN file? You might want to try this however: That command will redirect the output of your program to a file. If you want to print the printfile then PRINT filename.ext PRN is a parallel port device not a file. Is your Epson a serial printer? If so you can redirect it to COM1 with the MODE command: MODE LPT1:=COM1: Hope this helps. The following works: PRN2FILE [filename] [#] [/S] [/X] where filename - name of file to save captured data (default: c:\prnspl) #n - number of LPT (default: #1) /S - CONVENTIONAL memory buffer size in bytes (default: /S4096) /X - XMS buffer size in Kbytes (default: /X200) Thanks, Mark |
|