> Moises Simon wrote: > > Hi, I need some help to setup or buy new printer. > > I have been trying to make a Brother DCP-L2530DW working on OpenBSD. >
A quick look into "Open" Printing https://www.openprinting.org/printers doesn't show any info on the device you have. However, DCP-L2540DW, DCP-L2550DW, and DCP-L2560DW are listed but the info is of the very low quality provided by users. For example https://www.openprinting.org/printer/Brother/Brother-DCP-L2550DW I have a bad feeling that that is one of those cheap one-in-all devices for which Linux "open" source driver is provided by the manufacturer. Those so-called "open" drivers have a hidden binary blob component. > I have tried: > > * Send ps files to the printer `cat file.ps > /dev/ulpt0` > * Filter plain-text (and ps) with a2ps,foomatic-rip and the oem > provided ppd. > > But all this just "print" blank pages, and not always. > > Since its seems this printer its not very OpenBSD friendly I'm searching > for another one with Postscript and/or PCL support (which should be > easier to setup) > > I want a monochrome laser printer to connect via usb to my server and > set it up with lpd(8) (better if it has multifunction capabilities). > # Remote printer must use jetdirect since foomatic-rip doesn't speak LPD rp|HL-5250DN:\ :lp=9100@192.168.3.15:\ :if=/etc/foomatic-rip/script_brother.sh:\ :sh:sd=/var/spool/output/brother:\ :lf=/var/log/lpd-errs: predrag@oko$ more /etc/foomatic-rip/script_brother.sh #!/bin/sh /usr/local/bin/a2ps -BRq --columns=1 -o - | \ /usr/local/bin/foomatic-rip -P HL-5250DN --ppd /etc/foomatic-rip/direct/brother-hl-5250dn-postscript-brother.ppd Make sure you read /usr/local/share/doc/pkg-readmes/cups-filters Linux guys have broken foomatic-rip few years ago which requires little hack these days to work with a Berkeley lpd spooling system. It is counter intuitive but you will need to install cups-filters package to get foomatic-rip. 5250dn is a bit old now but HL-L5100DN which I bought two years ago for my lab works equally well on OpenBSD. > Any Postscript printer should be compatible and easy to setup? Even if > it's not on `foomatic-ppdfile -A | grep Postscript` > > What have I to consider regarding scanner support? > Note that most scanners these days are capable of scanning to umass storage devices or directly to email so they are OS agnostic. OpenBSD scanner support is provided by sane-backends just like on Linux with the caveat that the drivers with hidden binary blobs (epkowa-epson comes to mind) will not work. oko# uname -a OpenBSD oko.int.bagdala2.net 6.4 GENERIC.MP#9 amd64 oko# sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8 [EPSON], product=0x011f [EPSON Scanner]) at libusb:000:003 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. Make sure you do the homework http://www.sane-project.org/sane-mfgs.html The one I am listing above is very old but high quality (for old negatives and photos) scanner. I have few others. I picked on the garbage two years ago EPSON WorkForce 845 which doesn't require binary firmware like the one above and scannes out of the box. Unfortunately the inkjet color printer on WorkForce 845 is paperweight on OpenBSD but my kids were printing from smart phones. I hope this helps. Cheers, Predrag > Do you have any recommendations on the 100-200 price range. > > Thanks