Hi.
I am modifying my Printloop procedure and, when printing several documents in a row, I want the Print Options Dialog to be shown only for the first document, and the rest to be treated in the same way as the user has defined for the first one.
I know that with LlPrintCopyPrinterConfiguration you can save and restore printer settings when the user chooses a Printer as Print Target in the Print Options Dialog, but what if the user selects Preview instead? In that case I would like all remaining documents to be processed as Preview as well.
Is there a function or variable that I can use to get the Print Target that the user has defined in the Print Options Dialog so that I can set it as the default in the following documents?
Thanks for your help.
P.S: I am working in Delphi with FireDAC-based components.