w3blogfr / zebra-zpl Goto Github PK
View Code? Open in Web Editor NEWLibrary used to generated commons ZPL command to print label on Zebra printer with java
License: Other
Library used to generated commons ZPL command to print label on Zebra printer with java
License: Other
Hello, I'm inquiring because I have a question while using it.
I'm looking at the code to modify this, but I need to know the unit of fontSize. What is the unit of fontSize?
I want to show code 128 barcode . right now it just shows plain text .
zebraLabel.addElement(new ZebraBarCode39(0, 200, "CA201212AA", 118, 2, 2));
I want to show barcode 128 representation in this . right now it just shows text CA201212AA . how can i do that ?
Hi. This is more a request than an issue.
Is there any way of listing only ZPL printer on the system?
What is the equivalent letter or string for Helvetica font ?
Hello w3blogfr,
i want to use your Library but i dont know if i can use it because u didnt write something about the license. I'm developing at the moment on a prototyp for an RFID Java Printer Application and if i can use your library i have much less work to do.
Hi,
I would like to know how can I implement the QR code printing.
Thanks.
ZebraUtils.printZpl(String zpl, String printerName) does not work properly.
PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
for (int i = 0; i < services.length; i++) {
PrintServiceAttribute attr = services[i].getAttribute(PrinterName.class);
sPrinterName = ((PrinterName) attr).getValue();
if (sPrinterName.toLowerCase().indexOf(printerName) >= 0) {
psZebra = services[i];
break;
}
}
in this method you convert sPrinterName to lowercase but forget to convert printerName so that if user set printer name without to convert lowercase your method does not find the printer
I have a device that reads the code128 but if I put the code generate by zebra-zpl it refuses to read it, but if I put another bar-code download by web on code128 it works very well I noticed that the codes they sound different after a little research I find that ,:
There is 3 type of code128 there is code128A and code128B and code128C each of its codes generates a bar-code different on the others.
can your code handle differing type of code128 (A-B-C) ??
j'ai un appareil qui lit le code128 mais l’orque je mais le code générer par zebra-zpl il refuse de le lire ,du coût l’orque je mais un autre code-barre télécharger par web sur le code128 il fonction très bien j'ai remarquer que les codes ils son différent après un petite recherche j'ai trouver que ,:
il y a 3 type de code128 il y a code128A et code128B et code128C chacun de ses codes génère un code-barre déferrant de l'autre.
est ce que ton code peut gérer des différèrent type de code128(A-B-C) ??
Hello, I would like to inquire about Code128.
Code128 has three subsets (subset A, subset B (default), subset C).
In the case of the ZebraBarCode128 object, only the default subset B was confirmed to be supported.
Is it okay to contribute code supporting the remaining subsets A and C?
It is related to the issue below.
#8
I want to print Chinese content, but there is a garbled code
Hello, how does zerba achieve image printing?
hello. I want to make good use of your library. I need a function to convert zpl to image in java, but I
" new ZebraText(10, 520, "Ref log:", 11) " There are limitations to writing code this way. complete zpl (ex. ^XA
^FO10,84^A0N,58,57^FDProduct:^FS
^FO395,85^A0N,58,57^FDCamera^FS
^FO10,161^A0N,58,57^FDCA201212AA^FS) should be converted, but only a blank screen is displayed with ZebraNativeZpl. Is there any other way to use it?
I tried " new ZebraNativeZpl(" ^XA^FO10,84^A0N,58,57^FDProduct:^FS ^FO395,85^A0N,58,57^FDCamera^FS ^FO10,161^A0N,58,57^FDCA201212AA^FS^XZ"
));
Hello
In this class 'ZebraTestGraphics' would it be possible to add native ZPL code ?.I am using this code below, but it is creating a blank image.
zebraLabel.addElement(new ZebraNativeZpl("^xa^cfa,50^fo100,100^fdHello World^fs^xz"));
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.