NewCustomPrinter
Rendering and printing
Description
Creates a custom printer and returns the name of the custom printer. The returned printer name can be used as the PrinterName parameter of the PrintDocument function. Before printing, the properties of the printer can be set using the SetupPrinter function.
Syntax
Delphi
function TPDFlib.NewCustomPrinter(Const OriginalPrinterName: WideString): WideString;ActiveX
Function PDFlib::NewCustomPrinter(OriginalPrinterName As String) As StringDLL
wchar_t * DLNewCustomPrinter(int InstanceID, wchar_t * OriginalPrinterName);Parameters
| OriginalPrinterName | The name of the printer to use for printing. This is the name that appears in the Windows Print Manager. Use the GetPrinterNames function to return a list of valid printers on the system. |
|---|