Hi Anne,

Anne Wainwright wrote on Thu, Feb 07, 2019 at 05:54:04PM +0200:

> I have now got well-formatted pages chugging out from the printer.

Good.  :-)

> I did use the example at the end of the mandoc man which outputs .ps
> files. But I did not succeed in persuading lp to print them. Thus:
> 
> $ lp lpadmin.ps
> lp: no file in print request
> 
> so not sure what the issue is there, but what I have is what I need.

A command called "lp" simply doesn't exist in the OpenBSD base system:

   $ man lp
  man: No entry for lp in the manual.
   $ which lp
  which: lp: Command not found.

Just use lpr(1) = /usr/bin/lpr.

   $ pkglocate bin/lp | grep 'lp$'
  cups-2.2.10p0:print/cups,-main:/usr/local/bin/lp

I'd advise against using cups when you can avoid it.
It is a behemoth that is extremely poorly designed,
and the documentation of cups is of terrible quality.

You are no doubt in for no end of surprises if you attempt
to use cups.  Admittedly, with some low-quality printers,
using it may look like an easy workaround for other problems.

But if your printer understands PostScript, you should be just
fine without cups.

Yours,
  Ingo

Reply via email to