PRINT "Barcode Printer code" PRINT "Tested and tweaked to use the " PRINT "Label designer for the Brother 201 (29mm x 90mm or 1-1/7 x 3-1/2)" PRINT "The Zebra, ZDesigner LP 2844 looks to be compatible too. no modifications made." PRINT "If you do not have it already You will need to search for free3of9x.ttf" PRINT "Redable text uses the windows Arial.ttf" PRINT "Should work with other Windows Font and the 128 code but not needed for my use" PRINT "Expire print out is formated for a date mm/dd/yyyy or a 10 character description" PRINT "What data do you want as the barcode data" INPUT "It is best not to exceed 9 characters ", DATAPASS1$
DATAPASS1$ = "*" + DATAPASS1$ + "*"
INPUT "Enter an Expireation date ", DATAPASS2$
INPUT "Enter a Description Line 1 ", DATAPASS3$
INPUT "Enter a Description Line 2 ", DATAPASS4$
PRINT "--------------------------------------------------------------" PRINT "Serial " + DATAPASS1$
+ " Use By "; DATAPASS2$
PRINT "||| ||| || |||||||| |||||| |||||| ||||| | |||||| ||||||| |||||" PRINT "--------------------------------------------------------------" INPUT "As soon as you press enter the label will print", a
'FFONT$ = "free3of9x.ttf": FFSize = 120
'EFONT$ = "Arial.ttf": EFSize = 60
'AFONT$ = "Arial.ttf": AFSize = 60
'PageWidth = 216 * 10
'PageHeight = 279 * 10
'Label designer for the Brother 201 (29mm x 90mm or 1-1/7" x 3-1/2") / Zebra ZDesigner LP 2844 looks compatible.
FFONT$ = "Cyberbit.ttf": FFSize = 240 ' i have not your TTF files, rewrite it back
EFONT$ = "Cyberbit.ttf": EFSize = 40
AFONT$ = "Cyberbit.ttf": AFSize = 40
PageWidth = 110 * 10 'maximized tweaks for whole label
PageHeight = 29 * 10 'Max is already set do not change.
Colum = 10
a = 0
page&
= _NEWIMAGE(PageWidth
, PageHeight
, 256)CLS _RGB(0, 0, 0), _RGB(255, 255, 255) 'make background white to save ink!
_PRINTSTRING (Colum
, 45), DATAPASS1$
, page&
' Print upc bars on bottom of label
_PRINTSTRING (400, 0), Title$
, page&
' Print Line 1 description
_PRINTSTRING (Colum
, 35), DATAPASS3$
, page&
' Print Line 2 ProductInventory description _PRINTSTRING (Colum
, 68), DATAPASS4$
, page&
' Print Line 3 ProductInventory description
keep
= LEN(DATAPASS1$
): DATAPASS1$
= MID$(DATAPASS1$
, 2, keep
- 2)COLOR _RGB(1, 1, 1), _RGB(255, 255, 255):
_PRINTSTRING (Colum
, 0), "Serial " + DATAPASS1$
' Print upc bar information above bar scan font
'show preview
_PUTIMAGE (100, 100)-(500, 250), page&
, current&
'ask if print
'if answer$ = "N" then.... query if create new label or exit in the same way as previous query...