print to a label printer directly

M

Mario Antonetti

[Note: parts of this message were removed to make it a legal post.]

Hello all,
I'm wondering what would be the best method to print to a label printer? I
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 horrid
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 itself
run in the command line (applications like notepad print out their contents
fine, though). Is there a better way?

Mario
 
C

Charles Oliver Nutter

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top