Products Downloads


French version


 

Important:

This function 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

NUM_BIN_2      PrtNameSize

NUM_BIN_2      Orientation

BOOL           ReturnCode


PrtNameSize = 100


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


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette