View Single Post
  #3   (View Single Post)  
Old 23rd February 2009
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by J65nko View Post
Does the HL-2032 appear in the driver directory of apsfilter ( /etc/apsfilter/basedir/driver) ?
No it is not going to show up. But you are on the right track. Most of those
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
Will list you the list of drivers in the Ghostscript package installed on your computer.

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
which will work only if his printer can print ASCII code out of box.
That is very likely as those cheap Brothers are actually good printers.

Last edited by Oko; 24th February 2009 at 01:12 AM.
Reply With Quote