Products Downloads


French version


 

 

Important: This function is now replaced with the VaToolBxQueryPrinterEx function.

 

This function is used to retrieve the name and orientation of a page from the standard printer selection box.

 

Context

  • Windows client,

  • Adelia Cloud client.

 

Parameters

ALPHA(n)

PrinterName

Retrieved name of the printer.

NUM_BIN_2

PrtNameSize

Length of the PrinterName variable.

NUM_BIN_2

Orientation

Orientation of the retrieved page (1 = Portrait, 2 = Landscape).

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was successful.

*FALSE  if the operation failed.

 

Example

ALPHA(100) = PrinterName

PrtNameSize = 100

ReturnCode = *TRUE

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxQueryPrinter' PrinterName PrtNameSize Orientation ReturnCode

 

List of the VaToolBx functions by topic

 

↑ Top of page


  • Aucune étiquette