Sunday, September 30, 2007

bat file for print job

Printing files using
copy filename.bin lpt1
written multiple times in a bat file doesn't work - the printer queue needs some time. One option was to use a Reply statement using the Reply.com given by MS
Another option is the SLEEP or WAIT given at http://www.robvanderwoude.com/wait.html Something similar is at http://malektips.com/dos0017.html

Edit:
type filename.bin > lpt1
works fine even if written multiple times.

1 comment:

  1. type filename.bin > lpt1
    works fine in a bat file even if repeated multiple times.

    ReplyDelete