Open GoogleCodeExporter opened 9 years ago
Mohamed,
Thank you for your interest in jZebra. First, I would recommend contacting
Bixolon for assistance with the BXL language. For more information on the BXL
language, see the Command Manual for your printer located here:
http://www.bixolon.com/upload/download/srp-350ii_command%20manual_rev_1_01.pdf
1. Do you have access to a BXL programming guide? You may need to switch the
printer's character table for Arabic (Page 22, Code #864 "Arabic").
http://www.bixolon.com/upload/download/srp-350ii_code%20pages_english_rev_1_00.p
df
2. How is the printer attached? If it is USB, you should make sure to set up
the Generic/Text driver. Alternately, you can use the COM emulator from
Bixolon's downloads section.
http://www.bixolon.com/upload/download/bixolon%20vcom%20for%20usb%20driver.zip
-Tres
Original comment by tres.fin...@gmail.com
on 4 Jun 2013 at 11:32
Tres,
Thank you very much for the fast reply, but really i didn't understand point 1
and yes the printer is attached via usb so I am following step 2. And other
question can I use printHTML for the purpose I want?
Original comment by mohamedt...@gmail.com
on 4 Jun 2013 at 11:47
Mohamed,
I always suggest raw printing over HTML.
BXL is a raw printing language your printer supports, however you will need to
learn the commands by following the programming guide.
https://code.google.com/p/jzebra/wiki/WhatIsRawPrinting
Original comment by tres.fin...@gmail.com
on 5 Jun 2013 at 1:54
Idk if someone else is going to need BXL sample, but in order not to struggle,
like me for whole day, to figure it out here it is.
Find Command Manual for your printer here.
http://www.bixolon.com/upload/download/unified%20command%20manual_rev_1_01.pdf
For example I have SRP-150 and I want to select the character size.
Command for that is 'GS ! n'.
In order for this command to work we need to send it to printer as HEX.
In Command Manual you have HEX values for this command '1D 21 n'.Replace n with
coresponding HEX value in this case its DEC(1) => HEX(01).
To use it with jZebra use it like this, \x indicates hexadecimal notation:
qz.append('\x1D\x21\x01\n');
I hope this will help to anyone who stumble across this in his search for
answer.
Original comment by zemundu...@gmail.com
on 17 Apr 2014 at 12:35
Original issue reported on code.google.com by
mohamedt...@gmail.com
on 4 Jun 2013 at 10:56Attachments: