GithubHelp home page GithubHelp logo

Comments (6)

metafloor avatar metafloor commented on May 31, 2024

Please verify whether your printer can handle the following GRF encoding. It uses the "Alternative Data Compression Scheme" defined in the ZPL reference manual.

^XA
^FO20,20
^GFA,4137,4137,21,g038gX01IfegW0KfcgU03Lf8gT07LfegS01NfgS03NfcgR07NfegR0PfgQ01Pf8gP03PfcgP03PfegP07QfgP0RfgP0Rf8gN01RfcgN01RfcgN01RfegN03RfegN03SfgN03SfgN03SfgN03Sf8gM07Nf9Jf8gM07Nfc7If8gM07Of3IfcgM07ffdLf9IfcgM07ffeLfdIfcgM07If7If03eIfcgM07f8Jfc00JfcgM07e03If8007IfcgM07c01IfI03IfegM07c00ffeI01IfegM078007feI01IfegM078007feJ0IfegM078707fc07c0IfegM078f83fc0f60IfegM078e43fc1f30IfegM078f03fc1f90IfegM079fa3fc3fd8IfegM079fa3fe3fd8IfegM079fe3fe3ff8IfegM078fef071ff8IfegM078ffI0dff0IfegM078fc00c3ff0IfegM07c790060fe0IfegM07c2K03c1IfegM07c4L0e3IfegM07e8L01JfegM07fN03IfegM03eO0IfegM03cO0JfgM038M018JfgM038M038JfgM038M060JfgM03M01c0JfgM03M0300Jf8gL038L0600Jf8gL03fK01c01JfcgL03f8J07803JfcgL03feI01e007JfegL03ff801f803eJfegL03fdIfc00f87JfgL03e67f8001c07JfgL03e3K03007Jf8gK03e3K0e003Jf8gK03e18I01c003JfcgK07e0cI07I01JfcgK07e07001cI01JfcgK0fe01e1fK0JfegJ01fc007f8K0JfegJ01fcP07JfgJ03f8P07Jf8gI07f8P03Jf8gI0ffQ03JfcgI0feQ01JfegH01fcQ01JfegH03fcR0KfgH07f8R0Kf8gG0ffS0KfcgG0ffS07Jfcg01feS07Jfeg03feS07Kfg07fcS07Kf8Y0ffcS03KfcY0ffcS03KfeX01ff8S03LfX03ff8S03Lf8W07ff8S03Lf8W07ff8S01LfcW0If8T0LfeW0If8T07KfeV01If8T03LfV01IfU03fbJfV03IfU01feJf8U03ffeV0ff3If8U03ffeV0ffdIfcU07ffcV07feIfcU07ff8V07ff7ffcU07ef8V03ff3ffeU07efW03ffbffeU0fdfW01ffdIfU0fdeW01ffcIfU0f9eW01ffeIfT01fbcX0ffe7ff8S01f3cX0If7ff8S01f7cX0If7ff8S03e78X0If3ffcS03ef8X07ff3ffcS07cfY07ffbffcS07cfY07ffbffeS0fdfY07ffbffeS0f9eY07ffbffeR01f9eY07ffbffeR01fbeY03ffbffeR03fbeY03ffbIfR03f3cY03ffbIfR07f3cY03ffbIfR07f3cY03ff3IfR0ff7cY03ff3IfR0ff78Y03ff7IfQ01ff78Y03ff7If8P01ff38Y03ff7If8P03ff38Y03fe7If8P03ff38Y03feJf8P03ffb8Y03feJf8P07ffb8Y03fcJf8P07ff98Y03fdJf8P07ff98Y03fdJf8P07ffd8Y03fbJfQ07ffcg07f01IfQ07ffeg07c3JfQ0383fg079KfQ0700f8Y077KfQ0e007cW0NfeP01c003eV01NfeP018001fV03801KfeP038I0f8U03001Lf8O03J07cU07003KfdcO07J07eU07003Kf86O0eJ03fU07003Kf87L01f7cJ01f8T07003Kf03L0IfK01feT07003Jfe038J03cN0ffT07001Jfc038J07O07f8S07001Jf8018J06O07fcS07001Jf0018J0eO03ffS07I0Ife0018J0cO01ff8R07I07ff80018I01cO01ffcR07I01feI018I01cP0ffeR07O01cI01cP07ffR07P0cI01cP07ff8Q07P0eI01cP03ffcQ07P07I01cP03ffeQ07P038001cP01IfQ07P01cI0cQ0IfQ07Q0eI0cQ0IfQ07Q07I0eQ07ffQ07Q01c00eQ07ffQ07R0e00eQ03ffQ07R0780eQ01ffQ0fR01c0eQ01feP01fS0c0eR0f8P03eS0e0eR07Q07eS060eR03Q0feS070eR038O01feS070cR01cO07feS0e1cS0eO0ffeS0e1cS06N01ffcR01e18S07N07ffcR03c38S038M0IfcR0783T018L03IfcQ01f07T01cK01JfcQ03e06U0f8J0KfcQ0fc0eU0ffc01Lf8P03f00eU0Qf8P0fe00eU07Pf8O03f800eU07Pf8O0feI07U07Pf8N03fJ078T07Pf8N07eJ03eT07Pf8M01f8J01fcS07Pf8M03eL0ffcR07cI01Kf8M078L03ff8Q0eM0If8L01fN03ffQ0eN03f8L03eO07ff8O0cO038L078P0If8M01cO01cL0fR0If8L01cO01cK01eS0If8K038O01eK03cT07feK07Q0fK078U07fcJ0fQ078J0fW0ffI03eQ07cI03eW01fe00fcQ01f800fcX07JfS0Kfg0IfeS03Ifeg01ffU07ffh06Q0
^FS
^XZ

from zpl-image.

MagicAnson avatar MagicAnson commented on May 31, 2024

Thanks for your quick response. The test printer is almost 18 years old. As far as I verified, it only supports ASCII picture. :(

from zpl-image.

metafloor avatar metafloor commented on May 31, 2024

I have a XiIII from the '90s and the sample above works. Are you saying you tried it and it didn't work? It is a GRF image. Just not encoded in hex.

from zpl-image.

MagicAnson avatar MagicAnson commented on May 31, 2024

Hi, I just read zebra pdf and understand what "Alternative Data Compression" means. I think it does help to reduce original ASCII length. The printer is not in my hand, but I think this format should be workable. So could we support this format? Thanks!

from zpl-image.

metafloor avatar metafloor commented on May 31, 2024

Please give the new ACS encoding a whirl and let me know if it works with your printer. A basic hex interface can be added, if needed.

from zpl-image.

MagicAnson avatar MagicAnson commented on May 31, 2024

Thank you, I will try this version this week and get back to you. :)

from zpl-image.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.