[LUNI] Long stange trip.

Richard Reina richard at rushlogistics.com
Wed Mar 23 20:55:45 CST 2005


Martin, Thanks for your input. 

--- Martin Maney <maney at pobox.com> wrote:

> And that remote printer is what, an actual
> lpr-protocol device?

Yes.

  I'm
> quite sure I've used the printer at host notation in
> the past
You probably have from what I have read in my
countless hours googling this problem that notation
worhed through cups 1.1.19. But try it now (under a
later version ) and I believe you'll find that it no
longer does. Fedora Core 3 comes with cups-1.1.22.

 - though not
> very often - but perhaps never to spool to anything
> besides a remote
> CUPS or a printer that operated using the ipp
> protocol.  

I'm 95% sure it's lpr-protocol which I am sorely
missing.

The docs are,
> as usual for CUPS despite their bulk, miserably
> vague about crucial
> details, but I wonder if lpr only knows how to talk
> to ipp servers?

Well it can talk to an lpr printer after some
configuring.  However, the lpr -P notation flat out
does not work.

> 
> > ... and that's how client print code is written.
> 
> But surely it isn't a hardwired setting???

Well, I guess I'm a bad developer because in my code
my print commands are.

system("lpr -P lp at 192.168.0.4 document1");

I'm considering replacing those w/ calls to a print
module that I would write that would determine what
exact systax to use ( how to print ) depending if the
client is running LPRng or cups.  
I would rather use my time elsewhere and I wish LPRng
were still viable under Fedora ( maybe it is with
other distros ) but that does not seem to be the case.

Nevertheless, thanks for your input Martin.


> 
> -- 
> If nature has made any one thing less susceptible
> than all others of
> exclusive property, it is the action of the thinking
> power called an
> idea, which an individual may exclusively possess as
> long as he keeps
> it to himself; but the moment it is divulged, it
> forces itself into
> the possession of every one, and the receiver cannot
> dispossess
> himself of it.  -- Thomas Jefferson
> 
> -- 
> Linux Users Of Northern Illinois - Technical
> Discussion 
> http://luni.org/mailman/listinfo/luni
> 



More information about the luni mailing list