Cash Drawers
Doug Luurs
doug at borisch.com
Thu Mar 23 06:26:10 PST 2006
> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com] On Behalf
> Of Lerebours, Jose
> Sent: Thursday, March 23, 2006 9:11 AM
> To: filepro-list at lists.celestial.com
> Subject: Cash Drawers
>
>
> Howdy!
>
> Working on a project where cash drawers will be
> used. I have not worked with these since for
> ever ...
>
> Situation:
> - Server in HQ
> - Two or more work station per remote site
> - At least one cash drawer per site
> - Using thin clients (MaxSpeed)
> - Connecting to server via VPN through www
>
> Question:
> How could one open cash drawer from server
> running filePro application?
>
> The last time I worked with this it was easy,
> I just had to send a CR to local serial port
> and drawer opened. This was simple since the
> drawer was attached to serial port on dumb
> terminal and output was sent to local.
>
> This time around, I am facing a totally new
> scenario, specially since I will have two
> stations sharing one cash drawer.
>
> I have thought of using cash drawer as a printer
> on remote site and using 'netcat' to open the
> drawer. Now, the question would then be, what
> drawer could I use for this? The way I figure,
> it would have to be parallel or USB based, so I
> could use print server and easily hit drawer from
> filePro application.
>
> Any suggestions on method and/or which drawer to
> use will be appreciated.
>
> Thank you all in advance!
>
>
> Jose Lerebours
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
The ones I've worked with before was just sending a "^G (ASCII 7)" to
it.
In your 'configuration' I think you might look at a Avocent(Equinox)
ESP-2 MI Serial Hub. (I use this hardware to run LEAN Measure (LED
Message)
Boards.. REALLY Easy to do).
You configure this unit with a IP, install the software drives on your
O/S and your all set.
Then all you need to do in your filepro processing is a simple Export
command
To the 'Port' that the drawer is on.
Example (Our Configuration):-
SCO /dev/tty01e1 is the Port #
(zz below is the Message - It would be CHR("7") or whatever command it
is)
Then: fn = "/dev/tty01e1"
50 ------- - - - - - - - - - - - - - - -
-
If:
Then: EXPORT ascii out2= (fn) -X
51 ------- - - - - - - - - - - - - - - -
-
If:
Then: out2(1) = zz
52 ------- - - - - - - - - - - - - - - -
-
If:
Then: write out2
This E-mail, including any attachments, may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this E-mail in error, please notify the sender, do not disclose its contents to others, and delete it from your system. Any other use of this E-mail and/or attachments is prohibited. This message is not meant to constitute an electronic signature or intent to contract electronically.
More information about the Filepro-list
mailing list