[gobolinux-users] Configuring CUPS ?
MJ Ray
mjr at phonecoop.coop
Sat Jan 20 18:27:25 UTC 2007
Hi There <goboster at yahoo.com> wrote:
> [...] is there a simple command line I could pipe to
> lpr or invoke to test my printer/your script to some
> degree?
You should get a page containing just two words in 10pt times by:
echo 'Hello world' | groff | lpr
You can also try replacing /dev/lp0 (or equivalent) in the script with
/tmp/dump.lp to get a file containing what is being sent to the
printer from gs and check it looks sane for your printer. Then try
cat /tmp/dump.lp >/dev/lp0 (or equivalent) to check if that part works.
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