Zum Hauptinhalt gehen

Suche

Suche

Barcode either too long or truncates to even characters Code C vs Code B

Kommentare

6 Kommentare

  • Avatar
    Peter Thane

    You would need to include a switch subset command into your string so for example for a Code128 barcode 12345678A in ZPL the command after the Field Data command (^FD) would be ^FD>;12345678>6A^FS 

    Here the >; instructs the printer to start in Subset C and then the >6 switches it Subset B for the A

    1
  • Avatar
    Robyn Severson

    Ahh, ok.  We'll have to break up the input.  We have a variable there right now and it prints when it is even, but it truncates the odd character if there is one.  we are creating a prn file that gets used with the application to fill in the variables:  ^FD(17)!BarcodeDate!(10)!FinishedGoodsLot!^FS  where the finishedgoodslot can be 8 or 9 characters.

    0
  • Avatar
    Peter Thane

    I hope that is not a copy of part of the barcode command but just part of the one for the human readable. The brackets are not encoded in the barcode itself and only appear the human readable. You will need to create your with the barcode and human readable as two separate commands as you are using a GS1-128 symbol so you would have something like for today's date (YYMMDD format) and the Lot number:

    ^BY6^BCN,156,N,N^FD>;>8172202011012345678>6A^FS

    ^A0N,51,69^FD(17) 220201 (10) 12345678A^FS

    (The ;>8 is the function one command)  

    0
  • Avatar
    Jill Vanous

    If we want to start in subset B and then switch to subset C, what is the switching command to C?

    0
  • Avatar
    Peter Thane

    Probably best to check in the ZPL II programming manual but it looks like it would be 

    >: to start in subset B

    and

    >5 to shift to subset C

    0
  • Avatar
    Jill Vanous

    Yes - that works.  

    Thanks for the response!

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.