Applies To: |
|
Summary: |
WinPrint( ) and FilePrint( ) functions need to preset printer ports and does not allow us to configure printing options. |
Solution: |
Use FormSelectPrinter( ) function to return a handle which is
the printer port name and brings a popup window which allows us to
change printer settings. Separately: stringPrinter=FormSelectPrinter( ); WinPrint (stringPrinter, 0,0,0); or WinPrint((FormSelectPrinter()),0,0,0); This can be used to generate PDF screenshots of runtime window by selecting CutePDF Writer as the printer. |
Keywords: |
Related Links
Attachments