:: Re: [DNG] Printing -- now even pdf …
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Hendrik Boom
日付:  
To: dng
題目: Re: [DNG] Printing -- now even pdf works. I have no idea why.
On Thu, Apr 21, 2016 at 09:21:46PM +0100, Rainer Weikusat wrote:
> Noel Torres <envite@???> writes:
> > Just curious...
> >
> > Why not using CUPS ?
> >
> > I've been using it since times' night with no issues.
>
> For me, the answer is that I see no benefit in getting accustomed with
> something as complicated (looking) as CUPS for as long as I don't want
> more than to run some input file through a pipeline of filters (nowadays
> provided by the printer vendor) and then send it to some output device.
>
> Judging from the (incomplete) information Hendrik Boom posted, he
> originally used
>
> lp=515@172.25.1.122
>
> 515 is the lpd printer port. Trying to print to a printer defined in
> this way ought to result in an "invalid services" message (or something
> like that) as the abstract syntax of this entry (for a network printer)
> is
>
> <printer name>@<host>[%<port>]
> (the port is optional and defaults to 515)
>
> By the time he posted this for the first time, I suggested using
> something like
>
> lpq -Pall@<host>
>
> (or an equivalent lpc command). A later mail he sent showed the lp entry
> as
>
> lp=POSTSCRIPT_P1@172.25.1.15


I was still getting the invalid services message when I had
lp=POSTSCRIPT_P1@172.25.1.122
in the printcap. At that time I stopped investigating, because other
things took all my time. And at that time 172.25.1.122 was the IP
number of the printer.

It's entirely possible, for example, that the print spooling process
might not have picked up the new printcap entry.

And after a reboot, it did, but I was beyond investigating. Until
suddenly one day, it worked.

IN teh meantime I copied my pdf's to a USB stick and printed tham from
another computer, thinking I could spend days getting the printer to
work and I had no more days left.

The worst time to give up on a project is when you've finished it, but
don't know it.

-- hendrik


>
> this is correct for accessing the 'PostScript queue' on a Brother
> network printer (which supports PostScript). The Brother printer driver
> (aka 'input filter') should take care of the rest. This works for me and
> (reportedly) also for him.
>
> NB: I don't claim there is no Evil Black Magic[tm] going on here, just
> that I haven't ever encountered any.
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng