Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 15 of 19

PDT 3200 Run-Time Library Reference Manual: Chapter 2 Function Reference, pages 129 to 136

Pages 129 to 136 of 168, from PDT 3200 Run-Time Library Reference Manual

The original document is the PDF (949 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol PDT-3200

Page 129

Chapter 2: Function Reference

BIOS_WriteString p_bios.h Syntax void BIOS_WriteString(UINT DisplayPage, UINT Attrib, UINT Row, UINT Column, char far *String);

Description Writes a string to the display page speciÞed. The cursor position is not updated after the write.

Parameters DisplayPage Video display page of string to write. P_ACTIVE_PAGE indicates the current active display page. Attrib Screen attribute to use when writing the string. P_ATT_NORM can be used to specify a normal white-on-black display attribute. P_ATT_INVERSE can be used to specify a reverse-video (black-onwhite) display attribute. Row Row to write string. Column Column to write string. String Address of string.

Returns None.

Sample None.

2-101

Page 130

PDT 3200 Run-Time Library Reference Manual

BIOS_WriteStringWithCur p_bios.h Syntax void BIOS_WriteStringWithCur(UINT DisplayPage, UINT Attrib, UINT Row, UINT Column, char far *String);

Description Writes a string to the display page speciÞed. The cursor position is updated after the write.

Parameters DisplayPage Video display page of character to read. P_ACTIVE_PAGE indicates the current active display page. Attrib Screen attribute to use when writing the string. P_ATT_NORM can be used to specify a normal white-on-black display attribute. P_ATT_INVERSE can be used to specify a reverse-video (black-onwhite) display attribute. Row Row to write string. Column Column to write string. String Address of string.

Returns None.

Sample None.

2-102

Page 131

Chapter 2: Function Reference

BIOS_WriteStrXY p_bios.h Syntax void BIOS_WriteStrXY(UINT Row, UINT Column, char far *String);

Description Writes a white-on-black string to the active display page. The cursor position is updated after the write. This is a macro equivalent to BIOS_WriteString(P_ACTIVE_PAGE, P_ATT_NORM, Row, Column, String).

Parameters Row Column String

Row to write string. Column to write string. Address of string.

Returns None.

Sample See BIOS_ClearScreen().

2-103

Page 132

PDT 3200 Run-Time Library Reference Manual

CFG_Read p_cfg.h Syntax BYTE CFG_Read(WORD prgcode);

Description Reads a conÞguration setting from the conÞguration driver (PARAMS). The program code is a value from 0 to 255 corresponding to the conÞguration setting.

Parameters prgcode

2-104

ConÞguration setting to read: 0x00=Code 39 Enable 0x01=Code 39 Minimum length 0x02=Code 39 Maximum length 0x03=Code 39 Enable checksum 0x04=Code 39 Send checksum 0x05=Code 39 Full ASCII mode 0x08=I 2/5 Enable 0x09=I 2/5 Minimum length 0x0A=I 2/5 Maximum length 0x0B=I 2/5 Enable checksum 0x0C=I 2/5 Send checksum 0x0D=I 2/5 Use length 6 and 14 only 0x10=M 2/5 Enable 0x11=M 2/5 Minimum length 0x12=M 2/5 Maximum length 0x13=M 2/5 Enable checksum 0x14=M 2/5 Send checksum 0x15=S 2/5 Enable 0x16=S 2/5 Minimum length 0x17=S 2/5 Maximum length 0x18=S 2/5 Enable checksum

Page 133

Chapter 2: Function Reference

0x19=S 2/5 Send checksum 0x1A=S 2/5 Use 2-bar start/stop 0x1B=Code 11 Enable 0x1C=Code 11 Minimum length 0x1D=Code 11 Maximum length 0x1E=Code 11 Require 2 check digits 0x1F=Code 11 Send check digit(s) 0x20=Codabar/Ames Enable 0x21=Codabar/Ames Minimum length 0x22=Codabar/Ames Maximum length 0x23=Codabar/Ames Send start/stop 0x24=Codabar/Ames Codabar-to-CLSI conversion 0x25=Codabar/Ames Allow wide intercharacter gap 0x26=MSI Enable 0x27=MSI Minimum length 0x28=MSI Maximum length 0x29=MSI Require 2 check digits 0x2A=MSI 2nd check digit MOD 11 0x2B=MSI Send check digit(s) 0x30=UPC-A Enable 0x31=UPC-A Send system digit 0x32=UPC-A Send check digit 0x33=UPC-A Convert UPC-A to EAN-13 0x34=UPC-E Use system digit 0 0x35=UPC-E Use system digit 1 0x36=UPC-E Convert UPC-E to UPC-A 0x37=UPC-E Send system digit 0x38=UPC-E Send check digit 0x39=EAN/JAN Enable EAN-8/JAN-8 0x3A=EAN/JAN EnableEAN-13/JAN-13 0x3B=EAN/JAN Convert EAN-13 to ISBN 0x3C=UPC/EAN/JAN Allow 2-digit extension 0x3D=UPC/EAN/JAN Allow 5-digit extension 0x3E=UPC/EAN/JAN Require extension 0x3F=EAN/JAN Send check digit 2-105

Page 134

PDT 3200 Run-Time Library Reference Manual

0x40=Code 128 Enable 0x41=Code 128 Minimum length 0x42=Code 128 Maximum length 0x43=UCC/EAN 128 Enable 0x52=Labelcode 4/5 Enable 0x53=Labelcode 4/5 Convert 0xB0=Enable/disable laser programming 0xB1=Autoterminator character 0xB2=Auto-off timer 0xB5=Symbology identiÞers 0xB8=Good-read tone 0xB9=Number of good-read tones 0xBA=Good read-tone duration 0xBC =Beeper volume 0xBD =Error tone 0xDD =Keyboard click 0xDE =Laser warmup delay 0xE0=Enable Ctrl-Alt-Del 0xE1=Enable trigger programming 0xE2=Backlight auto time-off

Returns Value of setting.

Sample See CFG_Write().

2-106

Page 135

Chapter 2: Function Reference

CFG_Write p_cfg.h Syntax BYTE CFG_Write(char *command);

Description Sends command string to conÞguration driver (PARAMS). The command string must contain the programming start and end sequences ($+$- and EE respectively). Calling this function is equivalent to scanning programming bar codes.

Parameters command

String to send to PARAMS driver.

Returns Number of bytes sent to driver.

Sample #include <stdio.h> #include "p_cfg.h" void ScanCode11Label(void) { BYTE Code11Enable; char commarg[20]; // Check to see if Code11 is enabled. Enable it if not. Code11Enable = CFG_Read (0x1B); if (Code11Enable == FALSE) CFG_Write ("$+$-1B1EE"); // // Insert Code11 collection code here. // // Return to Original Settings sprintf (commarg, "$+$-1B%xEE\0", Code11Enable); CFG_Write (commarg); }

2-107

Page 136

PDT 3200 Run-Time Library Reference Manual

2-108