I need to be able to copy files that have been saved as "Print to File", directly to the Printer.
On my form I have an OpenDialog and a PrintDialog, and the user can select multiple files. Originally I adapted the CopyFile routine from the FMXUtils unit and set the destination to LPT1. That worked fine. However the main user of the ap has asked that the program be changed to allow access to different printers.
The PrintDialog gives me the "long" name of the selected printer which I can access from the TPrinter object, but my question is, what do I set the destination name to in the CopyFile routine?