Vision POS Bar-code Printing   (VPOSBAR.EXE)

The VPOSBAR program is designed to work like the I_TAGS program found 
in our DOS based systems. Basiclly these programs read command codes for 
controlling Bar-code printers from "PTAG.PT0" and "PTAG.PT1" files. The 
VPOSBAR program works with Vision POS and has some unique features not 
found in I_TAGS. The VPOSBAR program uses WINDOWS printer drivers, and 
allows multiple label formats.

Multiple Label Formats

Now multiple label formats or types can be accessed. Format filenames are 
defined in the VPOSBAR.INI file. 

Generic / Text Only Printers

By selecting a "Generic / Text Only" printer the program is set into 
text only mode, which emulates the older I_TAGS program. Any other 
printer driver sets the program into graphic mode, which uses its own 
special PTAG file command codes.


WINDOWS PRINTER DRIVERS

The VPOSBAR.exe program is able to draw Bar-code labels as graphic 
images, this allows almost all WINDOWS compatible printers to print these 
labels. The main limitation is print resolution, the minimum resolution 
should be 150 DPI, also turn off graphics dithering. In graphics mode 
VPOSBAR.exe uses its own special PTAG file command codes.


Command Codes

Label Size       ( usually found in PTAG?.PT0 file) 

Label Height
;;Hp1,p2,p3,p4,p5
p1 = page top margin size in dots
p2 = label height in dots
p3 = max. number of label rows per page
p4 = Gap between labels in dots
p5 = print label border  1:yes 0:no

		Label Width
;;Wp1,p2,p3,p4,p5
p1 = page left margin size in dots
p2 = label width in dots
p3 = max. number of label columns per page
p4 = Gap between labels in dots
p5 = print label border	1:yes 0:no



			(remaining codes to be used in PTAG?.PT1 file)

ASCII Text 
Ap1,p2,p3,p4,p5,p6,p7,"DATA"
			p1 = Horizontal Position in dots
			p2 = Vertical Position in dots
			p3 = Always 0
			p4 = Size 1 - 6
			p5 = Always 1
			p6 = Always 1
			p7 = N: Normal or R:Reverse
			"DATA" Text to print, always in quotations
Bar-code 
Bp1,p2,p3,p4,p5,p6,p7,p8,"DATA"
			p1 = Horizontal Position in dots
			p2 = Vertical Position in dots
			p3 = Rotation 0 - 3
			p4 = Bar-code type code
			p5 = Always 1
			p6 = Bar-code bar width 1 - 5
			p7 = Bar-code bar Height in dots
			p8 = N:Bar-code only B:Bar-code and code #
			"DATA" bar code #, always in quotations

		Bar-code types

			'1' 	= Code 128b	
			'2' 	= Interleaved 2 of 5
			'3' 	= 3 of 9
			'9' 	= Code 93
			'E80' = EAN-8
			'E30' = EAN-13
			'K' 	= Codabar
			'CODABAR' 	= Codabar
			'CODE128' 	= Code 128 Automatic Subset Switching (All 128 characters)
			'CODE128A' 	= Code 128 Subset A (Upper case/Control characters)
			'CODE128B' 	= Code 128 Subset B (Upper case/Lower case characters)
			'CODE128C' 	= Code 128 Subset C (Double density numbers)
			'CODE39' 	= Code 3 of 9
			'CODE93' 	= Code 93
			'EANJAN13' 	= Ean/Jan. 13 digit
			'EANJAN8' 	= Wan/Jan. 8 digit
			'EXT39' 	= Extended Code 3 of 9
			'EXT93' 	= Extended Code 93
			'HIBC' 	= HIBC compliant Code 3 of 9
			'INT25' 	= Interleaved 2 of 5
			'MSIPLESSEY' 	= MSI Plessey
			'UCC128' 	= UCC-128
			'UPCA' 	= UPC-A. 11 digit
			'UPCE' 	= UPC-E. 11 digits
			'UPCE0' 	= UPC-E. 6 digits, 0 type code
			'UPCE1' 	= UPC-E. 6 digits, 1 type code
			'PDF417' 	= Portable Data File 417
			'ZIP' 	= Post Net. 5, 9, or 11 digits			
			default  UPC-A


Line drawing
		diagonal lines
		LSp1,p2,p3,p4,p5
			p1 = Horizontal Position in dots
			p2 = Vertical Position in dots
			p3 = line width
			p4 = Horizontal Position in dots
			p5 = Vertical Position in dots

		Fill area
		LOp1,p2,p3,p4
			p1 = Horizontal Position in dots
			p2 = Vertical Position in dots
			p4 = Width in dots
			p5 = Height in dots

		Clear area
		LWp1,p2,p3,p4
			p1 = Horizontal Position in dots
			p2 = Vertical Position in dots
			p4 = Width in dots
			p5 = Height in dots
	
New Label
		N

Print Label       (should be last line in PTAG?.PT1 file)
		Pp1
			p1 = # of copies to print



The following Square bracket codes refer to specific fields that are available to be sent to the printer. These codes can only be used in the PTAG.PT1 files;

 Code	 		Field	 			Type

 QTY	 		# of Tags to Print	Integer
 STORE	 	Local Store #	 	Integer
 PRICE	 	Item Price	 		Float
 PLUNUM	 	Barcode #	 		Character
 PRODCODE	 	Product Code	 	Character
 DEPT	 		Department	 		Character
 DESC	 		Item Description	 	Character
 DEPTDESC	 	Department Name	 	Character
 STYLE		Style Code			Character
 STYLEDESC		Style Desc			Character
 VENDOR		Vendor Code			Character
 VENDDESC		Vendor Name			Character
 CATEGORY		Category Code		Character
 CATEDESC		Category Desc		Character
 FAMILY		Family Code			Character
 FAMDESC		Family Desc			Character
 SIZE			Item Size			Character
 COMPANYNAME	Name from system license
 A-PRICE		Item A-Price 		Float
 B-PRICE		Item B-Price 		Float
 C-PRICE		Item C-Price 		Float
 COST			Item Last Cost 		Float
 NETPRICE
 GROSSPRICE

 DESC2	 		Item Description2	 	Character
 COMMENTS 		Item Description3	 	Character
 UOM	 		Item UOM Description	 	Character

 PRICE2	 		Item Split Price Desc eg."2 for 1.00"


 STEP_QTY00 to STEP_QTY09
 STEP_PRI00 to STEP_PRI09
 STEP_QTY00+1 to TSTEP_QTY09+1

