Try ZIP COMMAND.COM /C PRINTME.BAT inside PRINTME.BAT COPY VERSION.TXT LPT1
RRR "J.M. GRATIAS" wrote: > > To print my PageMode report , I decided to use the DOS COPY command : > > ZIP COMMAND.COM /C COPY VERSION.TXT LPT1 > > but now, there is a new problem ... > This one is not a RBase problem, because I have it also at DOS prompt. > But may be somebody can help ... > > The first time I try to print at DOS prompt with COPY VERSION.TXT LPT1, I > get a windows error. > Translated in english, it says : > 'This program will stop because of a invalid operation. Close all tasks and > start again'. > If I click on the 'Detail' buttom, I get : > 'The program attempt to execute a non valid instruction at 0028:01D5'. > > But the same COPY VERSION.TXT LPT1 typed again will work ... until Windows > is rebooted. > > Printer On Line or Off Line makes no differences. > > At RBW level, same problem : > ZIP COMMAND.COM /C COPY VERSION.TXT LPT1 > will get the same error at the fisrt print. > After, it works OK. I can exit RBW, run it again ... no problem until > Windows is rebooted .... > > I try to change 'MS-DOS' properties ... without any success. > > Any idea ? > > TIA, > > J.M. GRATIAS, Logimatique, France
