REM This batch file automates setting at install time (or whenever the spooler service can be stopped)
REM values of  registry keys that the Transact Printer Windows Driver uses. The chosen values
REM apply to all Transact printer  that are installed using the driver on the same host PC.

REM These values should first be edited in the file "TALMSet.reg" and then can be set any time by running
REM this batch file.

REM 1) Recognized values for the TransactPeriodicStatus key string are "ENABLE", "AUTO". "OFF", and "DISABLE".

REM If ENABLE, every time the LM starts it issues either a printer command to have periodic statuses sent or
REM performs  periodic sending and receiving status depending on the currency of the printers' firmware
REM release version.

REM If AUTO, then every time the LM starts it will issue the command to have periodic statuses automatically
REM returned  only if the firmware revision of the printer is sufficiently new; otherwise the LM will set
REM itself to OFF.

REM If OFF (default), then every time the LM starts it will act transparently as though an LM was not present.

REM If DISABLE then every time the LM starts it will issue a command to turn off any sending of periodic
REM statuses and then the LM will set itself OFF.

REM Note that a DISABLE setting may result at startup in a spurious "P" printout on printers with earlier
REM firmware versions.

REM 2) Practical values for the TransactStatusInterval key numeric are 1000 to 30,000 milliseconds (decimal),
REM the value should be converted to the hex equivalent when edited; the default is hex 2710 ( = decimal 10,000).

REM 3) Key names with "dflt" in them are the values used for every printer unless it has had a changed Transact
REM property value saved, at which time the values become private to that printer.

REM 4) KnifeCut and CashDrawer(1/2) choices are "NO" and "YES", and CashDrawer adds a third choice "FALSE" if
REM cash drawers are not available on the printer and should be grayed out in the printer's Transact propertirs tab.

REM 5) LineFeeds is the count of of automatically isseued line feeds when EndDoc is processed by the Windows driver,
REM range is 0 to 10000.

REM 6) StartDoc, StartPage, and EndDoc are text strings that will be sent to the printer whenever these events occur.   

REM The commands below can also be entered manually in a command window and they invoke the .reg file in the same directory.


net stop spooler
@ regedit /s TAWDSet.reg
net start spooler