Quick fix:
in the option section for i - interface.
Change:
ip=malloc(sizeof(optarg)+1);
to
ip=malloc(strlen(optarg)+1);
Kurt
--
-
Kurt Johnson
The KD Consulting Group Inc.
Voice: (513) 795-0901
Fax: (740) 201-6437
Package: wnpp
Version: unavailable; reported 2002-11-29
Severity: wishlist
* Package name: tlpr
Version : 0.1
Upstream Author : me
* URL : none (yet)
* License : GPL
Description : a Trivial LPR client
tlpr is a trivial line printer client that will send
Hi,
Wouter Verhelst wrote:
Package: wnpp
Version: unavailable; reported 2002-11-29
Severity: wishlist
* Package name: tlpr
Version : 0.1
Upstream Author : me
* URL : none (yet)
* License : GPL
Description : a Trivial LPR client
tlpr is a
Rene Engelhard wrote:
Sory, but why not simply use cat foo | lpr ?
I do not see a need for this package.
Maybe you can enlighten me?
Hmm. After thinking about it more, I see:
cat foo | lpr does not work for raw data (e.g. PS files for PS
printers).
echo foo /dev/lp0 does.
Am I right?
Rene Engelhard dijo:
echo foo /dev/lp0 does.
Can you easily do that on a remote printer?
--
.''`.I'd like to fly, but my wings have been so denied...
: :' :Sand rains down and here I sit - Alice in Chains
`. `'Proudly running Debian GNU/Linux (Sid + 2.4.19 + Ext3)
On Sat, Nov 30, 2002 at 12:11:21AM +0100, Rene Engelhard wrote:
tlpr is a trivial line printer client that will send a file to a
remote printer. It does not know the concept of a configuration file,
an input filter, or any other form of complexity; instead, it is the
LPR-equivalent of 'cat
Rene Engelhard [EMAIL PROTECTED] writes:
Sory, but why not simply use cat foo | lpr ?
Or rlpr, if you don't want to set up a printcap.
--
Alan Shutko [EMAIL PROTECTED] - In a variety of flavors!
Something came out of my.BUTT!
Rene Engelhard [EMAIL PROTECTED] writes:
cat foo | lpr does not work for raw data (e.g. PS files for PS
printers).
Huh? It works fine, depending on how you set up your filters.
--
Alan Shutko [EMAIL PROTECTED] - In a variety of flavors!
Parents have eyes in the backs of their heads.
On Sat, Nov 30, 2002 at 12:18:07AM +0100, Rene Engelhard wrote:
Rene Engelhard wrote:
Sory, but why not simply use cat foo | lpr ?
I do not see a need for this package.
Maybe you can enlighten me?
Hmm. After thinking about it more, I see:
cat foo | lpr does not work for raw data
Hi Amaya,
Amaya wrote:
Rene Engelhard dijo:
echo foo /dev/lp0 does.
Can you easily do that on a remote printer?
Of yourse you can't. I was trying to regognize why this package makes
sense...
At least for local printers (PS raw to ps printers) this may make
sense.
Regards,
Rene
--
10 matches
Mail list logo