At 05:36 AM 10/18/01 -0400, J.M. GRATIAS wrote:
>
>... But RBW COPY FileName LPT1 (without :) freeze when printer 
>is off line or disconnected. Seems to ignore windows setting 
>for the parralel printer (spool parameters).

J.M.,

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

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

    or make a text string using (ENVVAL('ComSpec')) to 
    automate your command without knowing the windows 
    operating system.

    By doing that, you'll give control back to R:BASE for 
    Windows, and if the LPT1 port is NOT ready or printer 
    cable is unplugged, then you are going to get those 
    Printers Folder [Retry] [Cancel] messages.

Hope that helps!

Very Best Regards,

Razzak.

===================================-============================
Official R:BASE List Server:    mailto:[EMAIL PROTECTED]
RBTI Events/Training:        http://www.rbase2000.com/events
R:DCC Members:               http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================

Reply via email to