Home > database >  New original concept from the print barcode no, always use code128 barcode fonts can play out but sc
New original concept from the print barcode no, always use code128 barcode fonts can play out but sc

Time:10-09

New original concept from the print barcode no, always use code128 barcode fonts can play out but scanning not to come out, pleading with expert advice, thank you very much!

CodePudding user response:

Look at the print quality is poor, to determine the gun has been set up, some gun can't identify code128 by default, you need to set up,

CodePudding user response:

Tried in gun, scan no more, I am a direct reference to the font, is also calculated

CodePudding user response:

Points is not enough, the man to give me a copy of the original concept barcode controls, 455791867 @ QQ, com

CodePudding user response:

Behind the former *, such as: show the barcode in the * 112233 * 112233

CodePudding user response:

reference 4 floor WMERP response:
behind the former plus *, such as: show the barcode in the * 112233 * 112233


Like code39 to add

CodePudding user response:

Barcode fonts will add check code to esau's
For example you print 1234 1234 can not assign values to
Refer to the following function transformation

//function name: f_getcode128 ()
//parameters: as_sourcetext string source string
//the return value: a string into a code128 yards after a printable string
//function description: take code128 code string
//founder: Kang Jianmin
//created date: 2008-12-10
//version number: V1.0
//note: normal print code128 code strings in PB, must use the PB10 above (support Unicode code)
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
Basic knowledge//CODE128 barcode
There are three versions//CODE128
//CODE128A: standard Numbers and letters, control characters, special characters
//CODE128B: standard Numbers and letters, lowercase letters, special characters
//CODE128C: [00] - [99] of the digital collection, a total of 100
//this function USES the CODE128B version
//barcode by start, data bits, parity, stop bits of
//calculation process:
//1. Take the sum of all the characters ASC code multiplied by the number of characters (with ASC=32 as the cut-off point, more than 32 reduction, less than 32 plus 64)
//2. Calculate the check code
//3. The combination of bar code: start a + data bits, parity + stop bit
Int li_asc_total=104
Int li_asc_tmp, I
Char lc_start=char (204)//adopt CODE128B version
Char lc_stop=char (206)
Int li_check_digit
String ls_check_digit

//1. Take the sum of all the characters ASC code multiplied by the number of characters (with ASC=32 as the cut-off point, more than 32 reduction, less than 32 plus 64)
For I=1 To len (as_sourcetext)
Li_asc_tmp=Asc (mid (as_sourcetext, I, 1))
If li_asc_tmp & gt; 32 Then=
Li_asc_total=li_asc_total + (li_asc_tmp - 32) * I
The Else
Li_asc_total=li_asc_total + (li_asc_tmp + 64) * I
End the If
Next
//2. Calculate the check code
Li_check_digit=mod (li_asc_total, 103)
If li_check_digit & gt;=95 Then//special characters
Li_check_digit=li_check_digit + 100
The Else
Li_check_digit=li_check_digit + 32
End the if
Ls_check_digit=char (li_check_digit)
//3. The combination of bar code: start a + data bits, parity + stop bit
Return lc_start + as_sourcetext + ls_check_digit + lc_stop

CodePudding user response:

Thank you very much! After a successful share you

CodePudding user response:

It is possible that your barcode aspect ratio has a problem,,,,
You can use the bar code printer own software play a standard bar code, bar code software with you,
If we can do to the naked eye could not tell the difference between difference, there will be no problem, if there is a difference, that can only show you the barcode or have a problem

CodePudding user response:

Quote: refer to the sixth floor AndriyChoi response:

Barcode fonts will add check code to esau's
For example you print 1234 1234 can not assign values to
Refer to the following function transformation

//function name: f_getcode128 ()
,,,,,,,



Thank you for your reply, this string of code in where? PB small white, give a example

CodePudding user response:


references to the tenth floor and crop response:
Quote: refer to the sixth floor AndriyChoi response:

Barcode fonts will add check code to esau's
For example you print 1234 1234 can not assign values to
Refer to the following function transformation

//function name: f_getcode128 ()
,,,,,,,



Thank you for your reply, this string of code in where? PB small white, give a example

A custom function, add a parameter as_sourcetext type (string), and then give the code he copy, save function, calls to this function in the generated code to your script,
  • Related