:: Re: [DNG] lpr command not working
Etusivu
Poista viesti
Vastaa
Lähettäjä: Haines Brown
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] lpr command not working
On Tue, Nov 16, 2021 at 07:35:05AM +1100, Ralph Ronnquist via Dng wrote:
> On Mon, 15 Nov 2021 15:11:22 -0500
> Haines Brown <haines@???> wrote:
>
> > On Mon, Nov 15, 2021 at 06:18:06PM +0100, Dr. Nikolaus Klepp via Dng
> > wrote:
> > > Anno domini 2021 Mon, 15 Nov 10:52:06 -0500
> > > Haines Brown scripsit:
> > > > On Sun, Nov 14, 2021 at 12:55:59PM -0500, Haines Brown wrote:
> > > > > I reinstalled a printer on a Chimaera box. The CUPS test file
> > > > > prints just fine. The lpr <file.pdf) command tries but fails to
> > > > > send data to the printer. Status: Processing - "Sending data to
> > > > > printer." Some 15 min (?) later the job does print.
> > > > > ...
>
> According to
> https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=file&q=bin%2Flpr&x=submit
> there are three packages providing "bin/lpr":
>     cups-bsd
>     lpr
>     lprng

>
> Which one do you have? Are they all the same?
> I think they are somewhat different and from memory I think the cups-bsd
> variant is best integrated with cups.


I started with cubs-bsd and then used lpr. I now also try lprng. I reinstalled
cups-bsd and and end up in bad shape

a lpr test.txt
lpr: Error - No default destination.

My printer lost its status as default, but I can't get to the CUPS
web page to restore it

b) Firefox can’t establish a connection to the server at localhost:631.

I do have access to internet.

c) $ lpr -PHP_LaserJet_1320_series test.txt
lpr: Error - The printer or class does not exist.

These problems I'll pursue, but my pont is that none of the ways to get
access to the lpr command are workig.


--
Haines Brown