Send a file to the printer set in the PrinterName property.
This method will use the PrintTo verb to send a file to the printer and create a PDF document.
You often want to create a runonce.ini before calling this method.
It is recommended that you set the following settings:
ShowSettings=never
ShowSaveAs=never
ShowProgress=yes
ShowProgressFinished=no
ShowPDF=no
ConfirmOverwrite=no
Namespace: pdf7.PdfWriter
Assembly: pdf7.PdfWriter (in pdf7.PdfWriter.dll) Version: 4.0.0.0 (4.0.1000.111)
Syntax
Parameters
- fileName
- Type: SystemString
Full path of document to print. - printerName
- Type: SystemString
Name of printer to be used from this method.
Return Value
Type: BooleanReturns true if the document was sent to the printer. Otherwise, it returns false.
Remarks
See Also