Printing from the commandline

  • Thread starter Thread starter Werner Alexi
  • Start date Start date
W

Werner Alexi

Dear newsgroup,

in a highly automated environment there is a requirement to print text
files with extended error handling. So we are looking for a
commandline utility like PRINT with the following features:

1. The utility should come back to the prompt after the job has been
printed or failed to print.
2. The utility should return an error if the job was not printed
successfully.
3. The utility should not do any formatting, the text should simply be
passed through to the printer.

The old Netware NPRINT program did that. Unfortunately the Windows
PRINT program returns immediately as soon as the file is spooled, not
when it is actually printed. So an application using PRINT will not
know if the file printed or not.
Is there anything like that available as freeware, shareware or for a
reasonable price (less than US $ 100 or so)?

Kind regards
Werner Alexi
CS Software GmbH
(e-mail address removed)

Please remove nospam form the email address if you prefer to answer
directly!
 
The copy command does not give back a useful error code if something
goes wrong.
Please understand: we need full end to end control over the printing
process. The data printed acually come from a host system (not
Windows) and the host application needs to know, if the data really
was printed (not only if it arrived in a queue).

Kind regards
Werner Alexi
 
Back
Top