I wrote an EPL2 library which has some basic methods for generating raw
files that can be written to Zebra printers. I've been meaning to publish
it but that has not been a priority for me. If you are interested, I can
work on publishing it.
Quick list of functions/options:
EPL.options = {
dpi : 203
, labelWidth : 4
, labelHeight : 6
, lineSpacing : 25
, device : "/dev/usblp0"
}
EPL.setFont (fontNumber)
EPL.addText (text, size, advance)
EPL.addTextCentered (text, size)
EPL.drawBarcode (text, height, size, humanreadable)
EPL.drawLine (length, height, xor)
EPL.drawBox (length, height, stroke)
EPL.start ()
EPL.end ()
EPL.position (x, y)
EPL.move (x, y) {
EPL.print (callback)
Let me know if that sounds interesting.
Dan
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.