Print-to-File Considerations

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:

C:\TMP\MYPRINT.DAT\\SERVER\DISK1\MYPRINT.DAT    -- UNC file name
\\PIPE\PRTPIPE1               -- A pipe
LPT1                          -- A port device


[Back: Closing the Device Context]
[Next: Network Printing Considerations]