Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2005 18:37:02 +0000
From:      "Viktors =?iso-8859-1?Q?=8Eilinskis?=" <royce@no.lv>
To:        freebsd-hardware@freebsd.org
Cc:        royce@no.lv
Subject:   Fwd: Epson LQ300+ setup
Message-ID:  <WorldClient-F200509281837.AA37021192@no.lv>

next in thread | raw e-mail | index | archive | help

Hi! I have put this problem on forum a couple of days ago, but
unfortunately nobody seems to know the solution. I've tried to set up
the printer in various ways, but neither of them succeedded. Now I redid
everything in accordance with "The complete FreeBSD", Chapter
"Printers". Now my //etc/printcap/ file looks as follows:

lp|ps|epson|Epson|Epson LQ300+:\
:lp=/dev/lpt0:sd=/var/spool/output/Epson:lf=/var/log/lpd-errs:sh:mx#0:\
:if=/usr/local/libexec/psfilter:

//usr/local/libexec/psfilter/ looks:

#!/bin/sh
/usr/local/bin/gs -sDEVICE=epson -q -sPaperSize=a4 -dNOPAUSE
-sOutputFile=- -

The following tests have succeeded:
$ lptest 80 5 | lpr
# ps waux > /dev/lpt0
both print some test info successfully. However, wherever I try to
perform  another test
$ ps waux | lpr
or simply print something from  Mozilla or any editor, the document
seems to be sent to printer by the programm, no errors. But the printer
itself doesn' t react in any way. Also in the terminal, where I am
logged in as a root I get the following system message:
Sept 26 12:16:10 btv lpd[724]: lp: cannot
execv(/usr/local/libexec/psfilter): Permission denied

Any suggestions would be highly appreciated! Thanks beforehand! :)




------------------------------------------------------------
http://e-no.lv/ - 1GB vieta tavam e-pastam!
http://no.lv/ - Zemakas cenas web lapu izvietosanai!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?WorldClient-F200509281837.AA37021192>