Error: The name specified is not recognized as an internal or external command
Solution or Workaround
Using the INFO SPOOL command to send INFO output to a printer returns the following message:
ENTER COMMAND > SPOOL
Using lpr to spool ARC.NSP
The name specified is not recognized as an internal or external command,
operable program or batch file.
The Windows NT version of the %ARCHOME%\infosys\infospool.bat file has been set up as if for a UNIX machine.
Using a text editor, edit the "infospool.bat" file in the %ARCHOME%\infosys directory. Replace the unix print command with an NT print command. You have several choices, as shown below, whether you are printing through a parallel port or across a network. It is recommended you try each from the DOS prompt to determine which works best for your setup.
parallel -> print /D:lpt1 %1
network -> print /D:\\server\printer %1
parallel -> copy %1 lpt1
network -> copy %1 \\server\printer
network -> lpr -S server -P printer %1
- 'server' is the name of your printer server
- 'printer' is the name of your printer queue
NOTE: '%1' is the variable used by INFO that will point to the file being passed by the SPOOL command. This string should be entered into the file as shown.