On Wed, 02 Sep 2009 12:38:41 -0400
smitchel <smitchel(a)bnin.net> wrote:
Hello,
I wrote an emacs macro to get input then send it to a Zebra 105-sl
label printer.
I need it to get some data from a counting scale as well.
Both the counting scale and the Zebra printer have ip addresses on my
network.
Both have a simple web server that can be accessed by typing the ip
address in a browser's URL bar.
The Zebra at least supports telnet as well (and half a dozen other
protocols--I have a list).
I will be using this on Slackware, SLAMD64, and Windows (if possible).
The programming language of the printer is all ascii text, so maybe
20 lines of text needs to be sent.
How do you get Xemacs to send ascii text data to a printer that has
an IP address?
How can you read text from a scale that is on the network?
Backing up a step, how do you get Linux to do that without doing it
in Xemacs? I don't know.
Are there packages or examples to do this? I'm willing to do the
research, but need
help getting pointed in the right direction.
You probably want open-network-stream with a process sentinel, then
process-send-string to send commands.
Cheers,
Sean
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta