Donald Cooley <dfcooley () gmail ! com> wrote: > I have an hp offficejet 5610 all-in-one printer. > Following the instructions from pkg_add: > To add a CUPS printer, use the 'hp-makeuri' command. > e.g. for a network printer: > $ hp-makeuri 192.168.10.100 > <...> > CUPS URI: hp:/net/HP_LaserJet_5100_Series?ip=192.168.10.100
> And I've read hp-makeuri -help and I'm stuck. I've tried sudo > hp-makeuri serial_number/localhost/192.168.1.248 ,etc. > each time I get error: Device not found > Maybe I'm giving the wrong device. Could someone point me in the right > direction? > -- > regards, > donald cooley For the past two years I had no reason to use CUPS. I use stock LPD. I do use a network printer at work and adding it is as simple as editing the IP address in /etc/printcap file #rp|remote line printer:\ # :lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs: as long as your printer is PostScript ready. Uncomment both lines and replace printhost with the IP address of your printer. There are three kinds of issues which you could encounter from the top of my head. Make sure your PF rules allow on-line printing. Bare in mind that CUPS speaks IPP so the port 631 must allow outbound traffic and keep the state. In my case it is port 515 since LPD speaks LPD protocol. Refer to /etc/services!!! Spooling and log directory must exist and have appropriate owners, groups, and permissions. Finally if you use OpenDNS like me (or Google DNS) you will have to run local DNS server so that the printer address can be resolved or two add the DNS address of your ISP into /etc/resolv.conf as the third DNS server. This is exactly what I am doing at work. Best of luck. Predrag P.S. I did use network printers with CUPS back in Arizona and honestly do not recall anything special about configuration on the client side. Configuring server side of CUPS is a bit of work but nothing serious. I just used web-interface http://localhost:631/ to add the printer. CUPS has fairly good documentation http://www.cups.org/doc-1.1/sum.html