Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bar code Printing
Message
From
07/10/2005 17:02:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01053083
Message ID:
01057345
Views:
24
I assume you mean Code128C (below you typed EAN128C) <g>

There are no check digits in Code128 so no need to include one as part of the barcode.


>Hi Mark.
>
>In EAN128 C , is there a need to include a check digit as part of the code , in the way you have to do in Ean13 ?
>
>Regards,
>Gerard
>
>
>
>>Hi Gerard,
>>
>>PMFJI, Ken has given you some great advice.
>>
>>I've done butterfly, barbell, jewelry labels on Zebra printers and wanted to share the code with you:
>>
>>SET CONSOLE OFF
>>SET PRINTER TO rpt6.txt ADDITIVE
>>SET PRINT ON
>>? "N"
>>? "R"+LTRIM(STR(llblmargin,2,0))+",0"
>>? 'D15'
>>? 'A0,0,0,2,1,1,N,"'+mldescr+'"'
>>? 'B280,0,0,1C,2,4,40,N,"'+TRIM(mbpartno)+'"'
>>? 'A0,20,0,2,1,1,N,"'+RIGHT(SPACE(10)+mdollar+LTRIM(STR(mbprice,9,2)),10)+'"'
>>? 'A300,45,0,2,1,1,N,"'+TRIM(mbpartno)+'"'
>>? 'P'+LTRIM(STR(mcopy,9,0))
>>?
>>SET PRINT OFF
>>SET PRINTER TO
>>SET CONSOLE ON
>>
>>This creates a text file that can be sent to a Zebra printer using EPL2 (Eltron Programming Language 2/Page Mode) with a margin of llblmargin, density of 15, description of mldescr, code 128 mode c barcode of mbpartno, a currency symbol of mdollar, a price of mbprice, a human-readable barcode of mbpartno and mcopy number of copies.
>>
>>This will print a jewelry label with barcode on left side and price and description on the right side.
>>
>>Since there is very little room to print a barcode and you need to print it big enough that a scanner can scan it, I used Code 128C barcode and limited the barcode to a 6-digit string of numbers.
>>
>>Another tip if you want to use EPL2 programming: If your Zebra printer comes with BarTender barcode printing software, you can design your label in BarTender and then print it to a text file. The text file will consist of the EPL commands that you can then integrate into your own program.
>>
>>HTH,
>>Mark
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform