Cannot print

Roland Smith rsmith at xs4all.nl
Sat Mar 5 07:13:58 PST 2005


On Sat, Mar 05, 2005 at 03:40:11PM +0100, v.demartino2 at virgilio.it wrote:
> I've just installed apsfilter on the latest FreeBSD 5.3 to print with my
> epson stylus color 640 (driver eps640lp.upp) following both the handbook
> chapter on printing & an artcle in freebsddiary.org.
> But:
> 1) If I - running apsfilter SETUP - use the 'T'(est) option, the PC tiringly,
> after un unbearable  couple of minutes or so, starts printing  a first row
> of squares of the test picture only, then seems to hang, emitting from time
> to time a (useless) sound. At this point it's better to stop CTRL+Del.

Is your printer connected via the parallel port? If so, and there is a
line reading "Interrupt storm detected on "irq7: lpt0"; throttling
interrupt source", add the following to /boot/device.hints:

# For the parallel port. Set ECP mode, disable interrupt. See ppc(4).
# ECP mode is bit 3 (0x08), disabling IRQ is bit 5 (0x20).
# By disabling the IRQ I put the port "polling mode".
hint.ppc.0.flags="0x28"

The lines starting with '#' are comments, you can omit these if you
want. After you have added this line, reboot and try again.

> 2) If I try to print via lpr -Plp plaintestfile the log under /var/spool/lpd/lp
> says
> "/usr/local/etc/apsfilter/basedir/bin/apsfilter: cannot open /var/spool/lpd/lp/lock:
> Permission denied"

This means apsfilter does not have access rights to that file.

> and doesn't print anything.

Try printing a file from your own home directory.

Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050305/909f0c8d/attachment.bin


More information about the freebsd-questions mailing list