Products Downloads


French version


 

Warning:

  • This function only concerns Crystal Reports reports.
  • It is ignored in ACRPE print mode.


This function is used to retrieve from the standard printer selection box the following print parameters:

  • Printer name,

  • Orientation,

  • Paper size,

  • Tray selection,

  • Duplex mode,

  • Number of copies.

Context

  • Windows client,

  • Adelia Cloud client,

  • Event Adelia client.


Parameters

ALPHA(n)

PrinterName

Name of the retrieved printer.

NUM_BIN_2

PrtNameSize

Length of the PrinterName variable.

NUM_BIN_2

Orientation

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

NUM_BIN_2

PaperSize

Indicates the size of the paper used for the print job.

DefaultPaperSize

0

Paper10x14

16

Paper11x17

17

PaperA3

8

PaperA4

9

PaperA4Small

10

PaperA5

11

PaperB4

12

PaperB5

13

PaperCsheet

24

PaperDsheet

25

PaperEnvelope10

20

PaperEnvelope11

21

PaperEnvelope12

22

PaperEnvelope14

23

PaperEnvelope9

19

PaperEnvelopeB4

33

PaperEnvelopeB5

34

PaperEnvelopeB6

35

PaperEnvelopeC3

29

PaperEnvelopeC4

30

PaperEnvelopeC5

28

PaperEnvelopeC6

31

PaperEnvelopeC65

32

PaperEnvelopeDL

27

PaperEnvelopeItaly

36

PaperEnvelopeMonarch

37

PaperEnvelopePersonal

38

PaperEsheet

26

PaperExecutive

7

PaperFanfoldLegalGerman

41

PaperFanfoldStdGerman

40

PaperFanfoldUS

39

PaperFolio

14

PaperLedger

4

PaperLegal

5

PaperLetter

1

PaperLetterSmall

2

PaperNote

18

PaperQuarto

15

PaperStatement

6

PaperTabloid

3

Important: Some parameters may not be valid, depending on the printer used.


NUM_BIN_2

Tray

Indicates the printer's paper feed source.

PRBinAuto

7

PRBinCassette

14

PRBinEnvelope

5

PRBinEnvManual

6

PRBinFormSource

15

PRBinLargeCapacity

11

PRBinLargeFmt

10

PRBinLower

2

PRBinManual

4

PRBinMiddle

3

PRBinSmallFmt

9

PRBinTractor

8

PRBinUpper

1

Important: Some parameters may not be valid, depending on the printer used.


NUM_BIN_2

Duplex

1=None, 2=Long side, 3=Short side.

NUM_BIN_2

NbCopies

Number of copies to be printed.

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was successful.

*FALSE  if the operation failed.







Example


ALPHA(100)

NUM_BIN_2

NUM_BIN_2

NUM_BIN_2

NUM_BIN_2

NUM_BIN_2

NUM_BIN_2

BOOL


PrtNameSize

PrinterName

PrtNameSize

Orientation

PaperSize

Tray

Duplex

NbCopies

ReturnCode


= 100


CALL_DLL 'VATOOLBX.DLL' 'VaToolBxQueryAdeliaPrinterEx' PrinterName PrtNameSize Orientation PaperSize Tray Duplex NbCopies ReturnCode


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette