Re: Xerox Phaser printing with CUPS

2019-09-06 Thread Stuart Henderson
On 2019-09-06, Jonathan Drews  wrote:
>  You have to use the absolute path name
> /usr/local/bin/lpr, /usr/local/bin/lprm, /usr/local/bin/lpq and 
> /usr/local/bin/lp to print with CUPS.

I don't like the extra typing so I have this in .kshrc :

for i in dig lpq lpr lprm; do
alias $i=/usr/local/bin/$i
done




Re: Xerox Phaser printing with CUPS

2019-09-06 Thread Jonathan Drews
On Thu, Sep 05, 2019 at 09:51:47PM -0400, Ian Darwin wrote:
> Nice post but:
> 
> On 9/5/19 20:41, Jonathan Drews wrote:
> > 2) Add the following line to your /etc/rc.conf.local file:
> > pkg_scripts=cupsd.
> 
> No need to manually edit that. Just do
> 
> ?? doas rcctl enable cupsd
> 
> > Reboot the computer to make sure CUPS is
> > running.
> 
> No need to reboot at that point. Just do:
> 
> ?? doas rcctl start cupsd
> 

I used the above configuration because the man page for rc.conf.local
said to. From man (8) rc.conf:

EXAMPLES
 Do not start the dhcpd(8) daemon when booting the system:

   dhcpd_flags=NO
.
.
 Run /etc/rc.d/messagebus then /etc/rc.d/cupsd with the start
argument at
 boot time, and in reverse order with the stop argument at
shutdown:

   pkg_scripts=messagebus cupsd

I don't use the message bus so I just used:
pkg_scripts=cupsd

I use the advice of the man pages first and foremost. 

My main purpose in posting this was to show you where to get the
*.ppd file. The other steps are just for context.




Re: Xerox Phaser printing with CUPS

2019-09-06 Thread Jonathan Drews
On Fri, Sep 06, 2019 at 12:57:07PM +0100, Raf Czlonka wrote:
> Hi Jonathan,
> 
> Doesn't the printer work with base lpd? Is CUPS necessary?
> 
> Cheers,
> 
> Raf

 I tried CUPS first and it discovered my printers IP address
automatically. Plus LibreOffice printed documents with CUPS
without needing any print configuration. I printed some
spreadsheets out. They turned out fine.