Print to a label printer directly

Hello all,
I’m wondering what would be the best method to print to a label printer?
need to print many labels from a rails application, and I need to do it
on a
windows box (until we get a linux server up and running). It’s been
so far, the printer doesn’t seem to want to respond to commands like
system(“print /d:\name\printer file_to_print”) or even the command
run in the command line (applications like notepad print out their
fine, though). Is there a better way?


Java has a pretty good set of printing APIs that I have use in the
past for everything from PDF to plain text. Perhaps you could use
JRuby to do it?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs