From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 15:13:58 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A1B216A4CE for ; Sat, 5 Mar 2005 15:13:58 +0000 (GMT) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63C8E43D39 for ; Sat, 5 Mar 2005 15:13:57 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with ESMTP id j25FDtia043855; Sat, 5 Mar 2005 16:13:56 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 98FF162DA; Sat, 5 Mar 2005 16:13:55 +0100 (CET) Date: Sat, 5 Mar 2005 16:13:55 +0100 From: Roland Smith To: FreeBSD Message-ID: <20050305151355.GA27619@slackbox.xs4all.nl> Mail-Followup-To: FreeBSD , v.demartino2@virgilio.it References: <420008E50005AC67@ims3e.cp.tin.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <420008E50005AC67@ims3e.cp.tin.it> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner cc: v.demartino2@virgilio.it Subject: Re: Cannot print X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 15:13:58 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 05, 2005 at 03:40:11PM +0100, v.demartino2@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 tirin= gly, > 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 ti= me > 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=3D"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/l= pd/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 --=20 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 --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCKcyzEnfvsMMhpyURAqiMAJ0Wi5J3kGNA0Qj2Miq1/rPmfAi8dACgibBk +yugOmV4LI9HjirN1ZEbRx4= =cR8v -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--