Debenu Quick PDF logo

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 SetupCustomPrinter function.

Syntax

Delphi

function TDebenuPDFLibrary1811.NewCustomPrinter(
  OriginalPrinterName: WideString): WideString;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::NewCustomPrinter(
  OriginalPrinterName As String) As String

DLL

wchar_t * DPLNewCustomPrinter(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.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport