Hello all,
I'm brand spaking new to all this but it looks like I may be learning more and more as we phase out this older system.
I've used the Script Recorder to create the script below:
proc main
waitfor "rocomm Plus Ready!^M^J"
transmit "@D^M"
waitfor "TERMINAL="
transmit "^M"
waitfor "@"
transmit "404161^M"
waitfor "04 161 CONNECTED^M^J"
transmit "$$SON XXXXXX^M"
waitfor "^@^@^@"
transmit "SI;XXXXX/XXXXXJ^M"
waitfor "^@^@^@"
transmit "CCS;XXXX/XXXXX^M"
waitfor "^@^@^@"
transmit "LIS REP TOT^M"
waitfor "^@^@^@"
transmit "99^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
printcapture ON ; Turn on the print device.
transmit "TOT^M"
waitfor "^@^@^@"
printcapture OFF ; Turn on the print device.
transmit "99^M"
waitfor "^@^@^@"
transmit "02^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
printcapture ON ; Turn on the print device.
transmit "TOT^M"
waitfor "^@^@^@"
printcapture OFF ; Turn on the print device.
transmit "99^M"
waitfor "^@^@^@"
transmit "02^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
printcapture ON ; Turn on the print device.
transmit "TOT^M"
waitfor "^@^@^@"
printcapture OFF ; Turn on the print device.
transmit "99^M"
waitfor "^@^@^@"
transmit "03^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
transmit "CCS^M"
waitfor "^@^@^@"
transmit "STOP^M"
waitfor "^@^@^@"
transmit "$$SOFF^M"
endproc
I the script worked like a charm BUT not the boldfaced lines. I was taking a stab at how to get just the totals sent to the printer. The totals are printed to the screen right before the transmit "TOT^M" command.
Ideally I would like to omit the commands in between each of the totals for maximum readibility.
Any help would be great...the help file is a bit overwhelming being new.
Best,
Matt
I'm brand spaking new to all this but it looks like I may be learning more and more as we phase out this older system.
I've used the Script Recorder to create the script below:
proc main
waitfor "rocomm Plus Ready!^M^J"
transmit "@D^M"
waitfor "TERMINAL="
transmit "^M"
waitfor "@"
transmit "404161^M"
waitfor "04 161 CONNECTED^M^J"
transmit "$$SON XXXXXX^M"
waitfor "^@^@^@"
transmit "SI;XXXXX/XXXXXJ^M"
waitfor "^@^@^@"
transmit "CCS;XXXX/XXXXX^M"
waitfor "^@^@^@"
transmit "LIS REP TOT^M"
waitfor "^@^@^@"
transmit "99^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
printcapture ON ; Turn on the print device.
transmit "TOT^M"
waitfor "^@^@^@"
printcapture OFF ; Turn on the print device.
transmit "99^M"
waitfor "^@^@^@"
transmit "02^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
printcapture ON ; Turn on the print device.
transmit "TOT^M"
waitfor "^@^@^@"
printcapture OFF ; Turn on the print device.
transmit "99^M"
waitfor "^@^@^@"
transmit "02^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
printcapture ON ; Turn on the print device.
transmit "TOT^M"
waitfor "^@^@^@"
printcapture OFF ; Turn on the print device.
transmit "99^M"
waitfor "^@^@^@"
transmit "03^M"
waitfor "^@^@^@"
transmit "ALL^M"
waitfor "^@^@^@"
transmit "01^M"
waitfor "^@^@^@"
transmit "CCS^M"
waitfor "^@^@^@"
transmit "STOP^M"
waitfor "^@^@^@"
transmit "$$SOFF^M"
endproc
I the script worked like a charm BUT not the boldfaced lines. I was taking a stab at how to get just the totals sent to the printer. The totals are printed to the screen right before the transmit "TOT^M" command.
Ideally I would like to omit the commands in between each of the totals for maximum readibility.
Any help would be great...the help file is a bit overwhelming being new.
Best,
Matt