Hi Steve,
On Wed, Sep 2, 2009 at 10:38 AM, 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?
I've never done this myself, but (require 'url) and then look at the
documentation for the function url-retrieve.
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.
One option is curl:
http://curl.haxx.se/
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta