Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip escaping characters? #176

Open
obellish opened this issue Jul 21, 2023 · 3 comments
Open

Skip escaping characters? #176

obellish opened this issue Jul 21, 2023 · 3 comments

Comments

@obellish
Copy link

Hello,

Using this project, I noticed it's not possible to use TextFields with other commands as the source (mainly the ^RF command) due to character escaping, forcing me to use ZplRaw instead.

Is there a possible workaround for this?

@primo-ppcg
Copy link
Collaborator

primo-ppcg commented Jul 23, 2023

I'm not sure exactly what you mean, but it sounds like you want a literal ZPL command to be displayed on a label. You could use a hex escape for that, the escape character is _ unless specified otherwise with ^FH.

@obellish
Copy link
Author

Certain commands (like text fields, barcode, etc) can swap the Field Data command for an RFID Read command in order to display the RFID encoding on the tag for example, however when using the TextField command with an RFID command as the text the command itself is escaped and won't be sent properly

@obellish
Copy link
Author

So for example

^FO5,10^A0N32,32^RFR,2,12,1^FS

would display whatever is stored in the EPC bank of the RFID tag, however passing ^RFR,2,12,1 causes the command to be escaped. and I would like to avoid using ZplRaw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants