Andreas Klemm on Tue, 17 Apr 2001 09:01:24 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Problem with setup under FreeBSD...


On Fri, Apr 13, 2001 at 07:19:54PM -0500, Chris Watson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Your choice? t
> 
> Printing Test page using: cat setup/test.ps | gs -q -r600x600
> - -sDEVICE=ljet4 -sPAPERSIZE=a4          -dNOPAUSE -dSAFER
> - -sOutputFile='/tmp/aps_testout.ER8eL5'  -
> Ok to print testpage? [y/n] y
> 
> Creating test page...
>         5.05 real         0.00 user         0.00 sys
> 
> Printing test page...
> - -rw-------  1 root  wheel  630539 Apr 13 19:16 /tmp/aps_testout.ER8eL5
> eval: cannot create /dev/lpt0: error 16
> [ press RETURN to continue ]
> 
> Why is apsfilter refusing to print? This error makes no sense to me. Why
> is trying to create /dev/lpt0? It's already created. This is annoying me.
> GRRR. Im sure its something stupid it almost always is. But all be darned
> if I know what.

Never saw this one.
Can you "print" by concatenating an ASCII file to the printer ?

	root# cat /etc/passwd > /dev/lpt0

Do you use lpd or LPRng ?

What permissions does /dev/lpt0 have ?
crw-------  1 root  wheel   16,   0 15 Apr 19:25 /dev/lpt0

Otherwise enable debugging in apsfilter by enabling the prepared
set -x  in .../bin/apsfilter

Then have a look into the logfile (see lf= in /etc/printcap)

Although I don't think its apsfilter related, because finally it
tries to print something to the device and if this doesn't allow you ...

Try "cat" first and in further case of trouble please send only the
log of one unsuccessfull print session to the mailing list.

Then please also tell what apsfilter version you use.

I had to install a completely new FreeBSD last recently.
Apsfilter/gs run out of the box.

	Andreas ///

-- 
Andreas Klemm
Apsfilter Homepage                  http://www.apsfilter.org
Support over mailing-lists (only!)  http://www.apsfilter.org/support
Mailing-list archive                http://www.apsfilter.org/Lists-Archives

PGP signature