vikashsingh009 / jzebra

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

I try to print barcode but not print that barcode #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My Issue is i m using printer TVS LP44BU

i call print64() function and pass following statement.

qz.appendImage("data:image/png;base64,9j/4AAQSkZJ...ooYZYIpVZSkN","ZPLII");

window['qzDoneAppending'] = function() {
  // Append the rest of our commands
  qz.append('\nP1,1\n');
  // Tell the applet to print.
  qz.print();
  // Remove reference to this function
  window['qzDoneAppending'] = null;
};

Then its print not my barcode its print default given image so please help me...

I can't solve this problem....

Original issue reported on code.google.com by kothiyas...@gmail.com on 19 Jul 2014 at 8:00

GoogleCodeExporter commented 9 years ago
Most printers have native barcode support which is usually the first approach.  
If your barcode format is not supported on that printer, appending the image 
should work too.

Does this printer support EPL?  Are you sure you are calling the right button?

Original comment by tres.fin...@gmail.com on 19 Jul 2014 at 12:47

GoogleCodeExporter commented 9 years ago
Oh I see now, you are mixing ZPL and EPL code.  Please correct this and use a 
single language supported by your printer.  "P1" is an EPL cc command where 
your image is being appended in ZPLII format.  The two languages cannot be 
mixed.  Please choose one or the other and make sure the language uses is 
supported by your hardware/firmware. 

Original comment by tres.fin...@gmail.com on 19 Jul 2014 at 12:50

GoogleCodeExporter commented 9 years ago
Sir, I have TVS LP44BU Printer and my barcode sticker size is 1 inch height and 
1.5 inch width.

Now i want to print my barcode on that sticker so what code i should write. i 
also send you my barcode image and link of my printer information so please 
tell me sir what and which code i should have to write.

http://www.tvs-e.in/product.php?brand_id=labelprinter

Please help me

Original comment by kothiyas...@gmail.com on 21 Jul 2014 at 5:04

Attachments:

GoogleCodeExporter commented 9 years ago
This is an issue tracker, not a printer support forum.  The printer you linked 
lists the following supported languages:

TSPL2; TSPL-EZ

I haven't heard of either of those and can provide no assistance, but this is 
the programming manual you will need to learn:

http://www.tscprinters.com/cms/upload/download_en/TSPL_TSPL2_Programming.pdf

This is not a trivial task.  These languages can be quite daunting to learn.  
The answer to your question is in that manual.  There is not an example with 
qz-print that provides assistance with the TSPL language at this time.  If you 
learn the language and are willing to provide an example we can include it in a 
future version.

Original comment by tres.fin...@gmail.com on 21 Jul 2014 at 12:18

GoogleCodeExporter commented 9 years ago
Furthermore, if you ship me a printer I would be willing to provide basic 
support for it, but at this time I do not have the hardware necessary to test 
on.

Original comment by tres.fin...@gmail.com on 21 Jul 2014 at 12:20