automate printer command testing

  • Thread starter Thread starter hari
  • Start date Start date
H

hari

Hi all,

I need to write a test script, which will automate the testing of
printer commands(specific to a POS printer). Is it possible to do this
without GUI. If without GUI, how can I send command to the printer(to
serial/parallel/USB) port of the printer.Some commands will have
response from the printer.How can I read that response.

My aim is to automate the printer command testing through scripts,
will any other scripts will be more efficient.


Thanks and Regards
-Hari
 
I need to write a test script, which will automate the testing of
printer commands (specific to a POS printer). Is it possible to do this
without GUI. If without GUI, how can I send command to the printer(to
serial/parallel/USB) port of the printer.Some commands will have
response from the printer.How can I read that response.

My aim is to automate the printer command testing through scripts,
will any other scripts will be more efficient.

Oy! Around 1990 was the last time I regularly used "chat script" systems.
Serial port communications programs such as Unix's HoneyDanBer UUCP
uses "chat scripts" per modem/device for
"send this" "look for a reply containing this" etc.
I don't recall if there were ways to test for error vs. success

ProComm's ASPECT scripting language provided that too.
Perhaps that'll do what you need? See
http://www.aspectscripting.com/

Ah, there is a general chat script program in Linux, see CHAT(8)
(Automated conversational script with a modem)


-- Jeffrey Jonas
jeffj@panix(dot)com
The original Dr. JCL and Mr .hide
 
Back
Top