sjh - mountain biking running linux vegan geek spice - mtb / vegan / running / linux / canberra / cycling / etc

Steven Hanley hackergotchi picture Steven
Hanley

About

email: sjh@svana.org

web: https://svana.org/sjh
twitter: https://twitter.com/sjhmtb
instagram: https://instagram.com/sjhmtb

Other online diaries:

Aaron Broughton,
Andrew Pollock,
Anthony Towns,
Chris Yeoh,
Martijn van Oosterhout,
Michael Davies,
Michael Still,
Tony Breeds,

Links:

Linux Weekly News,
XKCD,
Girl Genius,
Planet Linux Australia,
Bilbys,
CORC,

Canberra Weather: forecast, radar.

Subscribe: rss, rss2.0, atom

August
Mon Tue Wed Thu Fri Sat Sun
  2
     

2006
Months
Aug

Categories:

Archive by month:

Wed, 02 Aug 2006

Getting a Kyocera FS 820 Laser Printer working under Linux - 14:42
I needed to buy a laser printer that would be used on a POS system and make it work under Linux. I looked at the Linux printing suggested printers page and found they recommended a Kyocera FS 820 as it is fully supported and provides a very low cost per page. I purchased it at a local computer shop for AUD $185 which is pretty damn cheap.

Kyocera provide a lot of ppd's that can be used with Linux, however they do not provide one for this printer. The Linux Printing page for the printer is not much help, however I find the PPD for the F-820 drives it successfully at 300x300 and also at 600x600 if I manually add the line

*Resolution 600x600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
to the ppd file. I also found the margins needed a bit of adjustment, at the moment the best I can get (losing a few mm off the top of the page currently) is with
*Margins Custom/Custom : "<</.HWMargins[0 20 30 0] /Margins[0 0]>>setpagedevice"
as a Custom margin in the ppd file.

To get the printer working I needed the usblp driver in the 2.6 kernel and to install a few packages (cups and related), at the moment I have installed "cupsys foomatic-filters-ppds cupsys-driver-gutenprint cupsys-driver-gimpprint foomatic-filters python-foomatic python-ipy printconf hpijs hplip linuxprinting.org-ppds pconf-detect" (on debian) however I suspect I do not really need all of them.

One problem I had with it for a while is it did not seem to be able to find the usb printer most of the time. It took me a while to realise (by running lpinfo -v a few times that it seemed the printer utilities no longer were able to see the usb printer device after the first time they looked for it after it was plugged in. I hope this is due to some bugs in the kernel version or cups version I am using (notably I compiled usblp with gcc 4.0.3 and the kernel I inserted it into was compiled using gcc 4.0.2) and this is on a machine running sid. When I get the production machine set up it is running a debian kernel image and also a sarge system everywhere. For now I can put up with testing from my laptop by re plugging the cable every time I need to print.

Interestingly the device shows up as usb://Kyocera/FS-820 (also you can speak to /dev/usb/lp0) which as they say means it can be plugged in with other printers and not be dependent on plug in order (though if you plug in multiple FS-820's that may now work <g>) Oh and I wonder if the above mentioned need to re plug the usb interface all the time is a cups utils bug due to the fact /dev/usb/lp0 is there all the time an if I do "echo text > /dev/usb/lp0" at any time it prints a page with that plain text on it quite happily.

[/comp/hardware] link


home, email, rss, rss2.0, atom