beautypg.com

Paxar Gold 6037EX User Manual

Page 23

background image

Printer Features 2-9

S c a n n e r s

Each printer comes with either of two bar code scanners.

SE-923

SE-923HS

Using the Scanners

To use the either scanner, the application must

1. Enable the scanner with scnOpenScanner or

scnOpenScannerShared. scnOpenScanner takes over the

printer’s serial port (preventing other RS-232

communications), but scnOpenScannerShared shares the

port. Therefore, when using scnOpenScanner, the

application should disable the scanner immediately before

serial communications and enable it immediately

afterwards. To avoid processing delays, use

scnOpenScannerShared when possible.

2. Configure the scanner (optional). To learn how to configure

the scanner, see the appropriate scn functions in Chapter

4, “Function Reference”.

3. Call various scanner functions, such as scnGets.

4. Close the scanner with scnCloseScanner.