• MarkB (Zebra Technologies Europe Ltd)

    @User16388070408676365486 (Customer)​ The way to do this is to enable the Passthrough Mode in the Windows driver. Then you can embed ZPL between the start and end sequences.

     

    Enable the passthough mode and set a start/end character sequence. I used the default for your example. This is the V8.x driver:

    enable-driver-passthroughThen add your ZPL in Word between the start and end sequence ...

    driver-passthrough-wordThe ZPL is passed through the driver as-is and executed by the printer so in your example, the result will be a printed QR code and not the ZPL ...

    driver-passthrough-labelNote that you don't need to include ^XA or ^XZ,

    Be aware of text wrapping and font types as they may affect the passthrough.

    If this post answers your question, please LIKE or click on "Select as Best" on this post.

    Expand Post
    Selected as Best
  • The Zebra printer requires that all label requests be in the proper programming label format or the printer

     

  • I'm sorry, I don't understand your answer. I had seen some posts that said you can enter ZPL commands into notepad and send it to the printer and the Zebra printer will recognize the ZPL commands and print the QR code as expected. So I'm wondering if this same functionality will work when the commands are in a Microsoft Word document, rather than notepad.

  • ok, thank you. Is there any way to make the ZPL commands work in Word? Any kind of control characters or anything like that?

  • MarkB (Zebra Technologies Europe Ltd)

    @User16388070408676365486 (Customer)​ The way to do this is to enable the Passthrough Mode in the Windows driver. Then you can embed ZPL between the start and end sequences.

     

    Enable the passthough mode and set a start/end character sequence. I used the default for your example. This is the V8.x driver:

    enable-driver-passthroughThen add your ZPL in Word between the start and end sequence ...

    driver-passthrough-wordThe ZPL is passed through the driver as-is and executed by the printer so in your example, the result will be a printed QR code and not the ZPL ...

    driver-passthrough-labelNote that you don't need to include ^XA or ^XZ,

    Be aware of text wrapping and font types as they may affect the passthrough.

    If this post answers your question, please LIKE or click on "Select as Best" on this post.

    Expand Post
    Selected as Best
  • We haven't had any luck yet. We are relying on our customer to test (I don't have a printer locally), so it is a bit slow going. We couldn't even get straight ZPL to print the QR code from Notepad, so we need to work out the kinks. I'll post an update when we get it working. Thanks for the assistance.

  • We were able to test out this solution and it worked exactly as described. Thank you! We set up the passthrough parameters in the printer setup exactly like you described and we were able to print a QR code from Word using the ZPL codes.

This question is closed.

Discussion Forum (English)

Join our community discussion forum where you can connect with Zebra users and ambassadors from around the globe

  • Questions and Answers are posted by registered members
  • Zebra is not responsible for content posted by registered members
  • Should you require assistance from Zebra, submit a support case