[gobolinux-users] Configuring CUPS ?

MJ Ray mjr at phonecoop.coop
Sat Jan 20 14:06:39 UTC 2007


Hi There <goboster at yahoo.com> wrote:
> So has anyone else gotten printing working on Gobo?

Yes, but I hate CUPS, which I think is great if you want to run a
printer server and need its features, but is otherwise a lesson in how
to make a simple task very complicated and hard to debug.

I don't print much (save paper!) and my printer is fairly fast (6ppm),
so I don't mind not having a spooler.  All lpr needs to do for me is
convert postscript into printer commands.  Here's my bin/lpr:

#!/bin/rc
if (~ 0 $#*) { *=(-q -) }  # if no parameters, read stdin quietly
exec gs '-sDEVICE=gdi' '-sPAPERSIZE=a4' -dNOPAUSE \
  '-sOutputFile=/dev/lp0' $* -c quit

which should be fairly simple to translate to bash if you want.  Read
the ghostscript docs and linuxprinting.org to figure out the right
commands and options for your printer setup.  This seems to work with
mozilla-based browsers and openoffice, but beware any programs that
hardwire BSD lpr command-line options.

Hope that helps,
-- 
MJ Ray - see/vidu http://mjr.towers.org.uk/email.html
Somerset, England. Work/Laborejo: http://www.ttllp.co.uk/
IRC/Jabber/SIP: on request/peteble.


More information about the gobolinux-users mailing list