It is possible that R:Base is seeing the "=1" as the directive to display
"L" one column wide.
For instance, if you did:
SELECT 'THIS IS A LONG TEXT STRING'=5, somethingelse FROM sometable
R:Base would wrap the "this is a long text string" in 5 columns. So in
your case, what actually gets to the command processor is probably "Capture
L Q=Olaser1" thus capture is complaining about the missing port
number. Bill Downall's solution should work, or you could:
SET VAR vcapture = 'capture L=1 Q=Olaser1'
ZIP &vcapture
to achieve the same results.
>I'm having a problem capturing printer outputs in a Win2000 environment with
>RBDos 6.5+ (No, Razzak, I HAVEN'T loaded the upgrades sitting on the computer
>yet <G>) I'm working on a mixed IBMDos, Win98, and WinNT(2000) on Novell
>3.12, 5.0 and 5.1 networks. Problem is with the Novell Capture command while
>Zip ing from RB6.5Dos. From the Command Prompt, the following command lines
>work OK.
>
>Capture L=1 Q=Olaser1 - Redirects Lpt1 to the que OLaser1
>Capture endcap L=1 - Ends the capture of Lpt1
>
>Under RB6.5Dos
>
>Capture L=1 Q=Olaser1 Returns the following error code:
>Capture-4.15-28: A number from 1 through 9 is required with the LPT (L=)
>option on this workstation.
>
>If I use the following commands
>
> Set var vout = (L=1 Q=Olaser1)
> Zip capture .vout
>
>The capture works correctly.
>I have the same problem with Capture Endcap L=1 where the L=1 parameter
>doesn't get passed properly while the following code works:
>
> set var vend = ('L=1')
> Zip capture endcap .vend
>
>I know the workaround works ok, but my question is why don't the commands
>that work from the c: prompt work from the R: prompt? I've tried it with the
>Zip Cmd.exe /c and there was no change in reaction. Is there something I'm
>missing here, or is this a bug, or what? I can't seem to find anything in
>On-Line documentation, or anywhere else for that matter.
>TIA
>Damon
>
>Damon D. Kaufman
>
>President
>Stalder Spring Works, Inc
>ISO-9002 / QS-9000 Certified
>2345 S. Yellow Springs St.
>Springfield, Ohio 45506
>Voice 937.322.6120
>Fax 937.322.2126
>email: [EMAIL PROTECTED]
Emmitt Dove
Manager, DairyPak Business Systems
Blue Ridge Paper Products, Inc.
40 Lindeman Drive
Trumbull, CT 06611
(203) 673-2231
[EMAIL PROTECTED]
[EMAIL PROTECTED]