Re: Printing problems - OBSD 5.4 + lpd + Epson Stylus CX5600 (all-in-one)
Guys, For the record, I have managed to put my printserver into operation using LPD. However, due to compatibility with other platforms I've decided to switch to CUPS. Then, after disabling 'ulpt' device, printer was finally recognized using 'ugen'. Mission accomplished, printer serving BSDs, Linux and Windows perfectly. Thanks for the help. Luciano. On 10 January 2014 08:06, Zé Loff wrote: > On Thu, Jan 09, 2014 at 08:07:10PM -0200, Luciano Rottava da Silva wrote: > > Chaps, > > > > My printcap is, for the time being, as simple as possible: > > # cat /etc/printcap > > lp|local line printer:\ > > :sh:sd=/var/spool/output:\ > > :lp=/dev/ulpt0:\ > > :lf=/var/log/lpd-errs: > > > > #rp|remote line printer:\ > > # > :lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs: > > > > Priting via lpr or writing directly to the usb port (cat /etc/printcap > > > /dev/ulpt0) gives absolutely nothing. > > You need a filter. I managed to get my PX830 working by installing > foomatic + gutenprint, selecting the appropriate ppd file and with the > following /etc/printcap: > > lp|epson:\ > :sh:\ > :lp=9...@printer.foo.bar:\ > :sd=/var/spool/output/epson:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/bin/foomatic-rip:\ > :af=/etc/foomatic/EPSON-Artisan_835.ppd:\ > :rp=epson: > > Note that this printer is on accessed via network, hence the lp= line. > I think yours is fine as /dev/ulpt0, but I never used local printers, so > I'm not sure. > > Also, to get this to work took a lot of time, patience, hair pulling and > desk head-butting... I even tried to port epson's own linux filters, but > that route was even worse. > > Good luck! > Zé > > --
Re: Printing problems - OBSD 5.4 + lpd + Epson Stylus CX5600 (all-in-one)
On Thu, Jan 09, 2014 at 08:07:10PM -0200, Luciano Rottava da Silva wrote: > Chaps, > > My printcap is, for the time being, as simple as possible: > # cat /etc/printcap > lp|local line printer:\ > :sh:sd=/var/spool/output:\ > :lp=/dev/ulpt0:\ > :lf=/var/log/lpd-errs: > > #rp|remote line printer:\ > # :lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs: > > Priting via lpr or writing directly to the usb port (cat /etc/printcap > > /dev/ulpt0) gives absolutely nothing. You need a filter. I managed to get my PX830 working by installing foomatic + gutenprint, selecting the appropriate ppd file and with the following /etc/printcap: lp|epson:\ :sh:\ :lp=9...@printer.foo.bar:\ :sd=/var/spool/output/epson:\ :lf=/var/log/lpd-errs:\ :if=/usr/local/bin/foomatic-rip:\ :af=/etc/foomatic/EPSON-Artisan_835.ppd:\ :rp=epson: Note that this printer is on accessed via network, hence the lp= line. I think yours is fine as /dev/ulpt0, but I never used local printers, so I'm not sure. Also, to get this to work took a lot of time, patience, hair pulling and desk head-butting... I even tried to port epson's own linux filters, but that route was even worse. Good luck! Zé --
Printing problems - OBSD 5.4 + lpd + Epson Stylus CX5600 (all-in-one)
Chaps, I am trying to put a printserver into operation. This machine is based on a PCEngines Alix2d13. For the time being my goal is to use the printer only. Epson Stylus CX5600 (USB) is an all-in-one equipment. In order to do that, I am using the standard BSD spooling system, lpd. I don't need anything fancy like LPRng, CUPS, etc. The problem is that I am not able to print anything even writing directly to the usb port. OS is an fresh installation of OpenBSD 5.4 with lpd enabled. dmesg shows the following: ulpt0 at uhub1 port 2 configuration 1 interface 1 "EPSON USB1.1 MFP(Full-Speed)" rev 1.10/0.01 addr 2 ulpt0: using bi-directional mode ugen0 at uhub1 port 2 configuration 1 "EPSON USB1.1 MFP(Full-Speed)" rev 1.10/0.01 addr 2 usbdevs -d gives me: # usbdevs -d addr 1: EHCI root hub, AMD uhub0 addr 1: OHCI root hub, AMD uhub1 addr 2: USB1.1 MFP(Full-Speed), EPSON ulpt0 ugen0 And lpd acknowledges the receipt of a print job: # tail /var/log/lpd-errs Jan 9 18:50:27 printserver lpd[1378]: printserver.rottava.home requests printjob lp Jan 9 18:50:35 printserver lpd[6703]: printserver.rottava.home requests printjob lp Jan 9 19:23:08 printserver lpd[22787]: restarted Jan 9 19:24:22 printserver lpd[15982]: printserver.rottava.home requests printjob lp Jan 9 19:27:22 printserver lpd[21181]: restarted My printcap is, for the time being, as simple as possible: # cat /etc/printcap lp|local line printer:\ :sh:sd=/var/spool/output:\ :lp=/dev/ulpt0:\ :lf=/var/log/lpd-errs: #rp|remote line printer:\ # :lp=:rm=printhost:rp=lp:sd=/var/spool/output:lf=/var/log/lpd-errs: Priting via lpr or writing directly to the usb port (cat /etc/printcap > /dev/ulpt0) gives absolutely nothing. Ideas are most welcome because I am running out of it! Cheers, Luciano.