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.
==================================-=============================
Received: from www.act.org [151.148.132.1] by act.org (ccMail Link to SMTP R8.31.00.5)
; Thu, 18 Oct 2001 07:27:01 -0500
Return-Path: <[EMAIL PROTECTED]>
Received: from sonet.rxcpi.net ([209.141.200.15])
by www.act.org (AIX4.3/8.9.3/8.9.3) with ESMTP id HAA115974
for <[EMAIL PROTECTED]>; Thu, 18 Oct 2001 07:23:20 -0500
Received: (from majordomo@localhost)
by sonet.rxcpi.net (8.9.3/8.9.3) id JAA29904
for rbase-l-outgoing; Thu, 18 Oct 2001 09:15:09 -0400
Received: from mta01-srv.alltel.net (mta01.alltel.net [166.102.165.143])
by sonet.rxcpi.net (8.9.3/8.9.3) with ESMTP id JAA29901
for <[EMAIL PROTECTED]>; Thu, 18 Oct 2001 09:15:09 -0400
Received: from razzak ([162.40.26.252]) by mta01-srv.alltel.net with SMTP
id <20011018121742.LNDS17333.mta01-srv.alltel.net@razzak>
for <[EMAIL PROTECTED]>; Thu, 18 Oct 2001 07:17:42 -0500
Message-Id: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Thu, 18 Oct 2001 08:19:09 -0400
To: [EMAIL PROTECTED]
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
Subject: Re: Q. about RBW COPY command - Razzak's Reply
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: [EMAIL PROTECTED]
Precedence: bulk
Reply-To: [EMAIL PROTECTED]