![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
hell-o ppl
I have been struggling for some time now with a Brother HL-2032 laser printer. tryed cups, afsfilter, but eventualy failed. So I'm trying a diferent approach to the situation but need some help. First of all, when I plug in the printer (usb) BSD "sees" it as ulpt0 in dev with root ![]() Code:
brother|hl-2032:rm=da1.ro:rp=brother Code:
echo "whatever" >> /dev/ulpt0 On Windows the printer works fine but, I have a small network setup here and would benefit from the printer being conected to the bsd box, as it acts as a NAS, firewall, gateway and some other devilish things. |
|
|||
![]()
Does the HL-2032 appear in the driver directory of apsfilter ( /etc/apsfilter/basedir/driver) ?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
![]() Quote:
cheap Laser printers produced by Brother are supported by Ghostscript drivers hl1240 and hl1250. I could not find HL-2032 printer listed on the Linux printers data base but I found that HL-2030 is supported by by hl1240 driver. He needs to make sure that has the latest version of Ghostscript since there was a bug in Ghostscript and one of these drivers was accidentally removed from the package. Code:
gs -h I didn't want to get involve into discussion as I got sick as soon as I read that he replaced LPD with CUPS. I suspect that he probably didn't replace LPD commands with CUPS commands. I just do not want to think about CUPS unless it is necessary for enterprise printing. Long story short if you have nerves you can help him. The easiest way is as you said to use apsfilter and select particular device driver which I told you. The other way would be to use the script that comes with Ghostscript to create input filter and then to edit printcap file with a location of it. This would be helpful reading http://www.freebsd.org/doc/en_US.ISO...d.html#AEN1106 The reason that he didn't get anything by sending things with echo is probably that he didn't replace lpr from LPD with lpr from cups which is unnecessary to begin with. Secondly he needs to do testing with Code:
lptest >/dev/ulpt0 That is very likely as those cheap Brothers are actually good printers. Last edited by Oko; 24th February 2009 at 01:12 AM. |
|
||||
![]()
openprinting.org recommends the hl1240 driver. It seems, from the listings of possibles, though, that they support a version of hp's PCL, so your options are good.
openprinting.org (which used to be linuxprinting.org) is always a good first stop to find out about getting printers to work, even if you don't use their foomatic system.
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
|||||||
![]() Quote:
Also openprinting.org had a PPD file for hl1024 wich I downloaded and used with cups, all went ok, test pages printed out ok, but after a reboot of the bsd box nothing worked and I had to retrace my steps, reproduce the errors I thought I made.... etc; long story short it doesn't work anymore. I have installed GhostScript8-nox11. Code:
gs -h Quote:
Quote:
Quote:
![]() Quote:
Quote:
Quote:
Thanks for all of your answers, and sorry it took me so long to answer but for some reason I received no mail that someone posted in this thread. Now that it's morning it's time for me to go to bed, and sleep the day off. Will start reading and testing stuff latter this day and will keep you posted. |
|
|||
![]()
I have a Brother 5240 and just use the HP PCL support with gs.
My printcap says: lp|brother:\ :lp=:rm=192.168.1.2\ :rp=L1:sd=/var/spool/brother:\ :lf=/var/log/lpd-errs:\ :sh:\ :if=/usr/local/bin/lppsfilter: and my /usr/local/bin/lppsfilter has: /usr/local/bin/gs -q -dNOPAUSE -sDEVICE=pxlmono -sOutputFile=- - postscript printer works great. I never bothered to get asci working, as I never use it personally. There are pleanty of examples on how to setup another ascii printer or use some detection method. don't forget to create the spool directory. I love my brother printer. The best $50 I've spent in a while! |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printer dont take rights | mururoa | FreeBSD General | 3 | 5th October 2009 12:54 PM |
FBSD 7.1 and Canon LBP-660 Printer | Calderon | FreeBSD General | 8 | 4th May 2009 07:04 AM |
Printer setup question | JMJ_coder | NetBSD General | 12 | 6th November 2008 12:04 AM |
IP Printer Setup | kjemison | FreeBSD General | 4 | 2nd June 2008 02:35 PM |
Cups + USB-Printer | nihonto | OpenBSD Packages and Ports | 3 | 21st May 2008 07:49 PM |