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 given by MS
Another option is the SLEEP or WAIT given at Something similar is at

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.