Products Downloads


French version


 

 

This function retrieves the text associated with the value defining a paper size for a given printer.

 

Context

  • Windows client,

  • Adelia Cloud client,

  • Event Adelia client.

 

Parameters

ALPHA(n)

PrinterName

Name of the printer for which the text associated with PaperSizeValue is to be retrieved.

NUM_BIN_4

PaperSizeValue

Value assigned to the paper size.

ALPHA(n)

PaperSizeName

Paper size name.

NUM_BIN_2

PaperSizeNameLg

Size of the PaperSizeName buffer.

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was successful.

*FALSE  if the operation failed.

 

Example

PrinterName = '\\PRTSRV\PRINTER1'

PaperSizeValue = 9

CALL_DLL 'VaToolBx.Dll' 'VaToolBxGetPrinterPaperSizeText' PrinterName PaperSizeValue PaperSizeName PaperSizeNameLg ReturnCode

 

/* Value returned in PaperSizeName = 'A4'

 

 

List of the VaToolBx functions by topic

 

↑ Top of page


  • Aucune étiquette