Products Downloads


French version


 

 

This function retrieves the setting values for a logical printer (values active for the current session - Crystal Reports print jobs).

 

Context

  • Windows client,

  • Adelia Cloud client.

 

Parameters

NUM_BIN_2

Index (I)

Number of the logical printer.

ALPHA(n)

PrinterName (O)

Printer name.

NUM_BIN_2

PrinterNameLength (I)

Length of the PrinterName string.

NUM_BIN_2

Orientation (O)

1=Portrait,
2=Landscape.

NUM_BIN_2

PaperSize (O)

Paper size.

NUM_BIN_2

Tray (O)

Tray.

NUM_BIN_2

Duplex (O)

1=None,
2=LongEdge,
3=ShortEdge.

NUM_BIN_4

NbCopies (O)

Number of copies to be printed

NUM_BIN_2

Collate (O)

0=Copies not collated,
1=Copies collated.

BOOL

ReturnCode (O)

Return code for the operation:

*TRUE if the operation was completed successfully.

*FALSE if it was not.

 

Example

ALPHA(256) PrinterName

NUM_BIN_2 Orientation

NUM_BIN_2 PaperSize

NUM_BIN_2 PaperSrc

NUM_BIN_2 Duplex

NUM_BIN_4 NbCopies

NUM_BIN_2 Collated

BOOL ReturnCode 

 

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxGetPrinterEx' 1 PrinterName 256 Orientation PaperSize PaperSrc Duplex NbCopies Collated ReturnCode

 

 

List of the VaToolBx functions by topic

 

 

↑ Top of page


  • Aucune étiquette