Image printing via image URL is not yet supported. I've had some progress with this but have not been completely successful. It is printer language specific, Zpl2 is the language I'm targeting currently.
-Tres
> --
> To unsubscribe from this group, send email to jzebra-users...@googlegroups.com
>
> http://code.google.com/p/jzebra
switch (lang) {
case CPCL:
return "EG " + (int)(w/8) + " " + h + " 0 0 " + data;
case ESCP:
case ESCP2:
// n1 and n2 represent the image height in 2-byte format
// example: the number "09" would be "0009"
// the number "10" would be "000A"
// the number "255" would be "00FF"
// the number "510" would be "FFFF"
// Images larger than 510pixels must not be supporteds
if (h > 510) {
return " ESCP IMAGES TALLER THAN 510 PIXELS NOT SUPPORTED ";
}
int n1 = h > 255 ? h - 255 : 0;
int n2 = h <= 255 ? h : 255;
return (char) 27 + (char) 86 + (byte) n1 + (byte) n2 + new String(getBytes(hex), charset.name());
case ZPLII:
return "^GFA," + bytes + "," + bytes + "," + perRow + "," + data;
default:
return " ERROR CONVERTING JZEBRA IMAGE TO COMMANDS ";
}
I have to convert the image into raw data by myself and jZebra can have me deliver it to the printer, is that correct?
how do I transfer raw data using jZebra?
--
--
To unsubscribe from this group, send email to jzebra-users...@googlegroups.com
http://code.google.com/p/jzebra
---
You received this message because you are subscribed to the Google Groups "jZebra users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jzebra-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
To unsubscribe from this group, send email to jzebra-users...@googlegroups.com
http://code.google.com/p/jzebra
---
You received this message because you are subscribed to the Google Groups "jZebra users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jzebra-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.