Debenu Quick PDF logo

GetPrinterDevModeToVariant

Rendering and printing

Version history

This function was introduced in Quick PDF Library version 8.12.

Description

Returns a variant byte array containing the DEVMODE structure for the specified printer.

Use the SetPrinterDevModeFromVariant function to apply this DEVMODE structure during the printing process.

Syntax

Delphi

This function is not available in the Delphi edition

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetPrinterDevModeToVariant(
  PrinterName As String) As Variant

DLL

This function is not available in the DLL edition

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.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport