Razzak :
>>
That's what happens when you try to by-pass normal Windows
Printer and use the hardware LPT1 port directly from within
R:BASE for Windows.
If the printer is ready, then there is no problem. But, if
the printer is NOT ready, LPT port has no way to send a
nice "not ready' response back to R:BASE for Windows.
If you use OUTP PRINTER command, then, everything is handled
via Windows Print Manager and you WILL see a message if the
printer is not ready.
So, I would suggest the following:
01. SET WIDTH nnn
SET LINES 0
OUTP PRINTER
TYPE filename.TXT
OUTP SCREEN
SET WIDTH 79
SET LINES 19
<<
This don't work for me.
Because FileName.TXT contains printer's control commands, that are stripped
off; even if current printer is 'Generic Text'.
>>
02. If you do have to use COPY filename.TXT LPT1 command,
then, use the following command from within R:BASE for
Windows:
ZIP COMMAND.COM /C COPY VERSION.TXT LPT1
<<
This works (if LPT1 is changed to LPT1:), but in the horrible DOS black box
flash...
Is there a way to minimize it ?
Will Is this keep working if OS is NT/W2000 ?
Thanks for your help,
J.M. GRATIAS, Logimatique, France