The '<' is the input redirection character and the &1 is the first
parameter passed into the shell script.  It looks like this is trying
to pass the first parameter passed into the shell script into the slp
-c132 -i0 -n command.


On Mon, 21 Mar 2005 14:42:36 -0500, Brutzman, Bill
<[EMAIL PROTECTED]> wrote:
> When printing to our legacy Printronix P300 printer on our HP-Ux box, the
> UniVerse spooler config is...
> 
> Printer Name  :  PR0
> Unix PathName :  /dev/c1t0d0_lp             apparently direct to the
> hardware.
> Driver        :  /var/spool/uv/PR0.drvr     containing...
> 
>      slp -c132 -i0 -n <&1
>      cat -
> 
>      [slp]     set print options for a non-serial printer...ugh
>      [-c132]   132 columns
>      [-i0]     indent zero
>      [-n]      set page size to infinity
> 
> I need help understanding what the "<&1" does and how it all works with "cat
> -".
> 
> That way, perhaps we could get the printer to work as a shared network
> device.
> 
> Suggestions would be appreciated.
> 
> --Bill
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to