Print ZPLII QR to open url

后端 未结 2 965
南旧
南旧 2021-01-28 11:46

I\'m using Zebra ZPLII to create a label with a QR code to open an specific url. When I use iPhone camera to scan the QR phone shows \"unusable data\" and when I try with an ext

相关标签:
2条回答
  • 2021-01-28 12:14

    Find an easy solution, seems that the problem is that all the text after ^FD is not interpreted as text or something like that. To solve my problem I just did this:

    ^FO300,95^BQN,2,4^FDwww.google.com^FS
    

    change to this:

    ^FO300,95^BQN,2,4^FD             www.google.com^FS
    
    0 讨论(0)
  • 2021-01-28 12:20

    You are missing some of the parameters for the ^BQ and ^FD commands.

    ^BQ parameters:

    ^BQa,b,c,d,e
    

    Where

    a = Orientation
    b = Model
    c = Magnification factor
    d = Error correction
    e = Mask Value
    

    The last two parameters are actually brought into the ^FD command after the ^BQ. Strange design, but that's how it works.

    Full Barcode String

    ^FO300,95^BQN,2,6,M,7^FDQA,www.google.com^FS
    

    Full ZPL for sample label

    ^XA
    ^FX Top section with company logo, name and address.
    ^CF0,60
    ^FO220,50^FDIntershipping, Inc.^FS
    ^CF0,30
    ^FO220,115^FD1000 Shipping Lane^FS
    ^FO50,155^GB700,1,3^FS
    ^FX Third section with barcode.
    ^BY5,2,70
    ^FO300,95^BQN,2,6,M,7^FDQA,www.google.com^FS
    ^XZ
    

    Documentation:

    https://support.zebra.com/cpws/docs/general/EncodingUnicode_QRCode.pdf https://support.zebra.com/cpws/docs/zpl/13979l-010_ra.pdf

    0 讨论(0)
提交回复
热议问题