Coder Social home page Coder Social logo

zebra-zpl's People

Contributors

dependabot[bot] avatar fehead avatar foameraserblue avatar ltrudu avatar matthiasvets avatar miguelocarvajal avatar w3blogfr avatar yuanqunwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zebra-zpl's Issues

DPI 203 issue, ZebraFieldPosition issue in ZebraText

Hello, I'm inquiring because I have a question while using it.

  1. UnsupportedOperationException occurs when trying to use DPI other than DPI300.

I'm looking at the code to modify this, but I need to know the unit of fontSize. What is the unit of fontSize?

  1. In ZebraText, the ZebraFieldPosition value is FIELD_TYPESET by default, but there is a bug that outputs as the FIELD_ORIGIN value. If it's not the intended function, is it okay to modify it?

Code 128 Barcode in zpl

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 ?

Helvetica Font

What is the equivalent letter or string for Helvetica font ?

Do you want to add a license for the Library?

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.

Can not find printer name

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

code 128

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) ??

Barcode code 128 subset

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

use ZebraNativeZpl

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"
));

How to use 'ZebraNativeZpl'

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.