In RHEL, how do I print from my application which generates printer escape codes for formatting?

Solution Unverified - Updated -


  • The printing through application is not working. The application adds this code to the document for proper formatting:


    but the escape codes are not having an effect.

  • Our application generates labels for Zebra printers. The labels aren't printing, though. Just a bunch of text with some extra characters with carets (^) around the text.


  • Red Hat Enterprise Linux (RHEL), all versions
  • Common Unix Printing System (CUPS), all versions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In