How To Enable Newer 2D Barcode Types on Janam Scanners
Previous Topic  Next Topic 

Problem:        How To Enable Newer 2D Barcode Types on Janam Scanners


Solution:        The Janam XP (Palm OS) and XM (Microsoft Windows Mobile OS) barcode scanners are designed to be compatible with scanning software written to the Symbol scanner APIs, enabling easy hardware migration. Thus, in Satellite Forms, the Symbol Integrated Scanner control can be used to manage barcode scanning on both Symbol and Janam scanners.


The Janam XP & XM scanners are also capable of scanning several newer 2D barcode types that were not included in the design of the Symbol Integrated Scanner control, including Data Matrix, Aztec Code, QR Code, and Maxicode. This article explains how to enable or disable those newer barcodes types in your scanning application.


NOTE: The capability to decode 2D barcodes on Janam scanners is a paid option, and is unlocked with a password that must be entered into the device. In order to decode 2D barcodes as described in this article, you need to unlock the 2D barcode capability on the Janam scanner first. Consult http://www.janam.com for more details on the 2D barcode unlock feature if needed.


Enabling 2D Barcodes with the SetBarExtra method


The Symbol Integrated Scanner control included with Satellite Forms version 8 has a new SetBarExtra method to let you enable or disable these newer 2D barcode types. The prototype for SetBarExtra looks like this:


       result = Barcode1.SetBarExtra(bartype, enabled)


Where bartype is a barcode type number indicating the barcode type to enable or disable, and enabled is true to enable or false to disable.


So, now you are thinking that all you need to have is the bartype number for the symbology you want to enable, and you are all set. That is true, however, there is a catch: the barcode scanner manufacturers unfortunately decided to use different bartype codes on Palm OS powered scanners than on the Windows Mobile scanners. So, the bartype you need will differ depending on which OS platform your app is running on.


Here is the list of bartypes you can enable or disable with SetBarExtra.


Table of Barcode Types and Type Numbers for SetBarExtra



Barcode Type Name

Bartype Number for Palm OS

(Janam XP)

Bartype Number for Windows Mobile (Janam XM)

* Enable/Disable ALL Barcode Types *

255

N/A

CODE39

0

55

UPCA

1

50

UPCE0

2

48

EAN13

3

53

EAN8

4

52

D2OF5

5

56

I2OF5

6

57

CODABAR

7

54

CODE128

8

60

CODE93

9

59

MSI_PLESSEY

11

51

UPCE1

12

49

TRIOPTIC39

13

66

UCC_EAN128

14

N/A

BOOKLAND

83

N/A

ISBT128

84

N/A

COUPON

85

N/A

Code32

86

70

AZTEC

192

34

CODE11

193

58

CODE49

194

36

COMPOSITE

195

86 or 87

DATAMAXTRIX

196

73

MAXICODE

197

72

MICROPDF

198

69

OCR

199

37

PDF417

200

64

POSTNET

201

97

QR

202

74

RSS

203

76

BPO

204

33

CANPOST

205

103

AUSPOST

206

101

IATA25

207

62

CODABLOCK

208

38

JAPOST

209

100

PLANET

210

98

DUTCHPOST

211

102

TLCODE39

212

88

MATRIX25

213

104

CHINAPOST

214

40

KOREAPOST

215

41

TELEPEN

216

42

CODE16K

217

43

POSICODE

218

44

USPS4CB

219

45

IDTAG

220

46

RSS_LIM

221

77

RSS_EXP

222

78

MSI

160

51

Plessey

161

39

WEBCODE

N/A

84

CUECODE

N/A

85

MACROPDF

N/A

71

STRT25

N/A

105

MESA

N/A

35



Keywords:      barcode, Janam, bartype, Symbol, 2D, scanner


KB ID: 10090 

Updated: 2010-06-22


Satellite Forms KnowledgeBase Online

Satellite Forms Website Home