GetPrinterDevModeToString
Version history
This function was introduced in Quick PDF Library version 8.12.
Description
Returns a binary string containing the DEVMODE structure for the specified printer.
Use the SetPrinterDevModeFromString function to apply this DEVMODE structure during the printing process.
Syntax
Delphi
function TDebenuPDFLibrary1811.GetPrinterDevModeToString(
PrinterName: WideString): AnsiString;
ActiveX
This function is not available in the ActiveX edition
DLL
char * DPLGetPrinterDevModeToString(int InstanceID, wchar_t * PrinterName)
Parameters
PrinterName | 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. A value returned by the NewCustomPrinter function can also be used here. |