Products Downloads


French version


 

Important:

  • This function now replaces the VaToolBxQueryPrinterEx function.
  • It only concerns Crystal Reports reports.


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