Skip to content

UPC-CODE39-CODABAR-Interleaved 2 of 5 barcode generator developed using GW-BASIC and QBASIC for DOS. Compiled using QB64 in WINDOWS 10/11. DOSBox version also tested and verified.

Notifications You must be signed in to change notification settings

mit41301/CODABAR-ITF-CODE39-UPC-EAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interleaved 2 of 5, Code39, Codabar and EAN type barcode generator using GW-BASIC and QBASIC running on DOS and Windows. All the programs were tested using QB64 for Windows Output confirmed with barcode scanner

To RUN the UPC/EAN program in GW-BASIC or in QBASIC. You're prompted to enter 12 digit numbers of any UPC/EAN code. The 13th digit is the checksum computed by the program and draws the Barcode on the screen. DOS uses black screen and Windows uses White screen as background.

Choose the appropriate DOS or WINDOWS file for GW-BASIC or QBASIC.

Tested on WINDOWS 10 and WINDOWS 11 using QB64 compiler. Output verified using smartphone apps using Android and iOS. The programs were tested and verified with DOSBox. DOSBox requires few changes in the source BASIC file compared to QB64. So the code are kept different for QB64 and DOSBox. But DOSBox code will run on bothe DOSBox as well as QB64.

PS: The CODE 3OF9 accepts only uppercase letters. There is an feature which automatically enables the CAPS LOCK before entering the user strings. While leaving the program the CAPS LOCK left to previous state before invoking this program. It was achived by the following lines in the CODE3OF9 source code

140 Def Seg = &H40
150 K% = Peek(&H17)
and
410 Poke &H17, K%
420 Def Seg

This feature is working well with DOSBox
But this feature is not working with QB64

TEST RESULTS

UPC/EAN DOS BARCODE GW-BASIC

DOSBAR-GW EAN-13_DOS

UPC/EAN WIN BARCODE QB

WINBAR-QB EAN-13_WIN

CODE3OF9

CODE39 CODE39_scan

CODE 2OF5 or ITF

CODE25_ITF CODE25_ITF_SCAN

CODABAR

CODABAR CODABAR_SCAN

About

UPC-CODE39-CODABAR-Interleaved 2 of 5 barcode generator developed using GW-BASIC and QBASIC for DOS. Compiled using QB64 in WINDOWS 10/11. DOSBox version also tested and verified.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published