aobag-dev / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

ESC/POS printer commands #111

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a question about printer commands.  I am using a VKP80ii printer which 
accepts ESC/POS commands.  When I send the commands to the printer,
it simply prints the text, not what the commands should do.  The jzebra "About" 
article says, "For a quick reference, contact your printer manufacturer to find 
out if the printer is capable of EPL (1 or 2), ZPL (I & II), ESC/P."  Should 
ESC/POS also work?  I have attached the document that describes the printer 
commands accepted by the printer.  I haven't gone into detail about my specific 
code in this question yet, because I first want to know if I should even be 
able to do this.

Thanks.

Original issue reported on code.google.com by jbod...@gmail.com on 11 Jan 2013 at 2:24

Attachments:

GoogleCodeExporter commented 8 years ago
Yes, escp will work.  Can you send a sample command you are using?

Original comment by tres.fin...@gmail.com on 11 Jan 2013 at 10:10

GoogleCodeExporter commented 8 years ago
I figured out how to get the commands sent.  I was generating the text that 
would be sent to the printer in .net (visual basic).  I saved the text in a 
"hidden field" on the web page, then used javascript to take that text and send 
it to the jzebra app.  In order to get the commands to be sent as commands 
instead of plain text, I had to use convert.toChar(decimal value of command) in 
visual basic.  I hope this helps someone in the future.

Original comment by jbod...@gmail.com on 17 Jan 2013 at 2:16

GoogleCodeExporter commented 8 years ago
sorry for taking so long to respond.  i figured out how to get it to work.
 i posted my answer to on the forum.

Original comment by jbod...@gmail.com on 17 Jan 2013 at 2:18

GoogleCodeExporter commented 8 years ago
Thank you for the update.  Closing bug report, marking as invalid.

Original comment by tres.fin...@gmail.com on 17 Jan 2013 at 2:51