From owner-freebsd-questions Tue Sep 12 21:50:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from datasphereweb.com (c182500-a.frndl1.wa.home.com [24.10.46.121]) by hub.freebsd.org (Postfix) with ESMTP id 2B9A037B424 for ; Tue, 12 Sep 2000 21:50:13 -0700 (PDT) Received: from localhost (davidd@localhost) by datasphereweb.com (8.9.3/8.9.3) with ESMTP id VAA01241; Tue, 12 Sep 2000 21:50:10 -0700 (PDT) (envelope-from davidd@datasphereweb.com) Date: Tue, 12 Sep 2000 21:50:10 -0700 (PDT) From: David Daugherty To: Harry Woodward-Clarke Cc: questions@FreeBSD.ORG Subject: Re: printer setup In-Reply-To: <39BF02D0.201D4746@S1.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 13 Sep 2000, Harry Woodward-Clarke wrote: > Hi David, Thanks for the input > > My question is can I put 2 if: in my /etc/printcap? Currently > > /etc/printcap is: > > Photosmart|Photosmart P1000 Photo Printer:\ > > :sh:lp=/dev/lpt0:sd=/var/spool/output/Photosmart:\ > > :if=/usr/local/libexec/lpr/hpif: > > > > I didn't see anyting in man printcap about using 2 if= > > uh, why would you want '2' "if=" commands? Are you trying to force the > last page out with a 'form-feed'? Actually, the form-feed isn't the problem. I tried printing a 3 page document where the 3rd page was empty and it stopped in the same place. Halfway through printing out the 2nd page. A 1 page doc prints great. > If so, have a closer look at the commands in the sample 'if' file, I > would guess that you have a numeral '1' where a lowercase 'l' should be > in the escape sequences. Perhaps it might be 'better' if you post your > file /usr/local/libexec/lpr/hpif ? I copied and pasted the script at http://www.freebsd.org/handbook/printing-troubleshooting.html. > Also, in your printcap, do you have "another" printer attached to the > machine? I.e. the 'default' printer "lp" - what is that pointing to? If > there is no 'lp' printer, can I suggest prepending "lp|" before the > lines starting "Photosmart|Photo..." ? this will have the effect of you > not needing to specify the printer by that rather long name of > "Photosmart" - also, can I suggest "photosmart" as a name (all > lowercase)? Yes, I left the default lp in there and put the above lines right below it. I just noticed about adding an err log file. No errors printed to it and it stopped again halfway through the second page. |> /\ \/ @ davidd@datasphereweb.com DataSphere - Back end web programming, site security, and networking To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message