Print-to-file means that the print data destined for a printer is stored in a file instead. The advantage of doing this is that the file can be used later, possibly on a different machine or different environment, and the data printed without requiring the original application.
The system provides three ways to print to file:
This method is preferred because the application does not have to be aware; the user has full control of the system.
C:\TMP\MYPRINT.DAT\\SERVER\DISK1\MYPRINT.DAT -- UNC file name \\PIPE\PRTPIPE1 -- A pipe LPT1 -- A port device