Home
News
Community
Products
Download
Support
Sales
About CASL

 
 
 
 
 
 

CASL Now supports the Janam1 XP20 / XP30 Series Barcode Scanning Devices

 
Information Resource Resource Description
CASL Janam Library Reference List of functions implemented within the CASL Janam Library.
Customer-Developed Applications List of applications our customers have developed that utilize the Janam hardware.
Full Sample applications Sample applications created by the CASL team to demonstrate Janam Integration.
About CASL + Janam Support Introductory information regarding CASL Support for Janam devices.

 

Welcome to the CASL Janam support page.  Here you will find useful information and sample CASL code on how to utilize the power of Janam rugged handheld computing devices within your applications.  The Janam product line runs the latest PalmOS 5.4.9, a fast 266MHz processor, Integrated barcode scanner, plenty of on-board memory and an option for wireless (Wi-Fi) capability.  CASL developers now have the capability to integrate applications with a powerful new family of devices enabling new opportunities for Enterprise, Commercial and Shareware development.

The samples and libraries available on this page have been created to utilize the latest Janam SDK.  For the latest information regarding the Janam XP20/XP30 series devices, please visit the Janam website at http://www.janam.com.

New to CASL?
If you would like to learn more about CASL without downloading / installing the CASL package, we would like to recommend you view the
Introduction to CASL e-book.  This e-book will help you with the installation / setup of CASL and walk you through the creation of a simple CASL application.  Once you have CASL Installed, you will be ready to explore the exciting capabilities of using CASL with your Janam hardware.  If you need support, you can find it here.  Our CASL Support board is available 24hrs a day 7-days a week, there you can get answers to your questions from other CASL Developers as well as CASL staff.  For additional support and information, please see our CASL Support page.

Current CASL User?
You already know what a great tool CASL is, but did you know that you can expand your market by incorporating barcode support?  Janam has released a powerful tool that can help you expand the usefulness of existing and future applications.  The samples you find here include the most common types of data collection applications, including: Signature Capture, HTTP Post (Wireless connectivity to a remote web server) and simply incorporating the barcode scanner within your CASL app.  The information contained here will help you to add support of these powerful data collection devices and reach new customers!

Prerequisites
Before downloading the CASL Janam samples, you will need to have a local installation of CASL.  For instructions on installing CASL, please visit our
Download Page (don't forget the CASL Components installer, needed for CASLPro .prc file generation).  Once CASL has been installed, you may then download the Janam Sample applications, load into the CASLide and compile/build the samples.

   
 

CASL Janam Sample Projects

This section describes each of the CASL sample applications included in the Janam Sample package.  You are free to use the code here within your own CASL applications.
 

CASL JanamTest

View Presentation

CASL Receiving

 

CASL UPC Search

 

  • CASL JanamTest - The JanamTest was created to demonstrate various functions / capabilities provided by the Janam hardware.  This is a good sample to start with to get a feel for the code needed to implement Janam barcode scanning capability within your application.  Click here an on-line presentation that describes this sample application.
  • CASL Receiving - Demonstrates using the Janam device for signature capture.  This demo includes the ability to scan a UPC barcode, assign a quantity and attach a digital signature to the record.  All information can then be saved to a local CASL Database and is automatically retrieved upon a re-scan. *Note - the janam_scanner.c file in this project has been customized to include penUp/Down detection to the CASLpro_event_handler function.  If you require signature capture capability within your CASL application, you will want to use the janam_scanner.c file from this project within your application.
  • CASL UPC Search - This application demonstrates using the Janam device for scanning a UPC barcode and looking up the data via an HTTP Post to a remote website.  *Note - If using a PalmOS Treo device, you may also use the number keys to type in a UPC (all 12 digits are required).

XP30 Series

Download

CASL Janam Support Samples

(.ZIP ~500k)

Last Updated: 12/31/2017 3:45 PM US/Central

XP20 Series

 

Need a License for CASL?

If you plan to distribute your CASL applications for commercial use, you'll be pleased to know that there are No Run-Time fees associated with distributing your application.  We do request that each developer purchases a license of CASL from our Sales Page.  If you need to purchase more than one license of CASL, please contact sales@caslsoft.com with your quantity requirement.  Thank you for using CASL!
 

List of Available Functions

The following is a list of functions available to you within the CASL Janam and ExtJanam Libraries.  At the bottom of the definitions is a list of Symbologies and their associated BarType value used by the CASL Library to allow enabling/disabling specific Symbologies, enabling/disabling check digits, etc.

Core Functions

Function Description
jan_ScnIsJanamUnit as numeric Returns true/false if the unit supports the ScanMgr calls (also returns true on both SPT and Janam Devices).  If you need to use extended functionality specific to the Janam units, please see the jan_ScnIsTrueJanamUnit function instead.
jan_ScnIsTrueJanamUnit as numeric Returns true if the unit supports the ScanMgr calls and the OS version is greater than or equal to 5.0.  This enhanced function is useful for identifying if the device is a true Janam unit or an older SPT Series device.
jan_ScnGetLEDState as numeric Returns true if the Green LED is on (at the time of this writing, this function did not appear to be working).
jan_Init Initializes the barcode scanner.
Scanner_Data CASL Function that receives the string from the barcode scanner.
jan_Start_Decode Starts the Scan Decoder.
jan_Stop_Decode Stops the Scan Decoder.
checkButtons Function that allows detecting the Janam Scanner button events.
jan_Close This function should reside in the CASL Shutdown function and will close the barcode scanner properly.
jan_ScnSetTransmitCheckDigit(numeric barType, numeric bEnable) Enables/disables the check digit for the specified BarType.
jan_ScnGetTransmitCheckDigit(numeric barType) as numeric Retrieves the Check Digit setting for the specified BarType
jan_ScnGetBarcodeEnabled(numeric barType) as numeric Returns true/false if a specific Barcode type is enabled.
jan_ScnSetBarcodeEnabled(numeric barType, numeric bEnabled) as numeric Enables/Disables a specific symbology.

Useful Functions

Function Description
jan_ScnGetScanManagerVersion() as string Gets the ScanManager Version information
jan_ScnGetScanPortDriverVersion() as string Gets the ScanPortDriver Version information
jan_ScnGetDecoderVersion() as string Gets the Decoder Version Information

Decoder Functions

Function Description
jan_ScnSetTransmitCheckDigit(numeric barType, numeric bEnable) Enables/disables the check digit for the specified BarType.
jan_ScnGetTransmitCheckDigit(numeric barType) as numeric Retrieves the Check Digit setting for the specified BarType
jan_ScnGetBarcodeEnabled(numeric barType) as numeric Returns true/false if a specific Barcode type is enabled.
jan_ScnSetBarcodeEnabled(numeric barType, numeric bEnabled) as numeric Enables/Disables a specific symbology.

LED Functions

Function Description
jan_ScnCmdLEDon Turns the Green LED On
jan_ScnCmdLEDoff Turns off the Green LED

Extended Functions

Function

Description

jan_ScnAimerToggle Turns on/off the Aimer
jan_ScnIllumToggle Turns on/off the Illum
jan_ScnCmdScanWedge Enables/Disables Scan Wedge

BarType / Symbologies Defined

Available Symbologies

barCODABAR=1
barCODE39=2
barI2OF5=3
barCODE93=4
barD25=5
barIATA25=6
barMATRIX25=7
barCODE11=8
barCODE128=9
barTELEPEN=10
barUPCA=11
barCOUPON=12
barUPCE=13
barUPCE1=14
barEAN13=15
barEAN8=16
barMSI=17
barPlessey=18
barRSS=19
barRSS_LIM=20
barRSS_EXP=21
barPOSICODE=22
barTRIOPTIC39=23

barCODABLOCK=24
barCODE16K=25
barCODE49=26
barPDF417=27
barMICROPDF=28
barCOMPOSITE=29
barTLCODE39=30
barUSPS4CB=31
barIDTAG=32
barPOSTNET=33
barPLANET=34
barBPO=35
barCANPOST=36
barDUTCHPOST=37
barAUSPOST=38
barJAPOST=39
barCHINAPOST=40
barKOREAPOST=41
barQR=42
barDATAMAXTRIX=43
barMAXICODE=44
barAZTEC=45

 

 

 

1Janam, XP20, XP30 are trademarks of Janam Technologies, LLC.


Home | News | Community | Products | Download | Support | Sales | About CASL

 

©1997-2018 WAGWARE Systems, Inc. & Brainyware, LLC.

All Rights Reserved. Legal info

Last Modified 01/10/2018