From owner-freebsd-questions Fri Dec 11 02:49:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA17838 for freebsd-questions-outgoing; Fri, 11 Dec 1998 02:49:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smartmail.smartweb.net (smartmail.smartweb.net [207.202.14.198]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA17831 for ; Fri, 11 Dec 1998 02:49:44 -0800 (PST) (envelope-from network1@smartweb.net) Received: from crap (ppp-dialup-ny-146.smartweb.net [207.202.14.146]) by smartmail.smartweb.net (2.5 Build 2639 (Berkeley 8.8.6)/8.8.4) with SMTP id GAA04799 for ; Fri, 11 Dec 1998 06:04:38 -0500 From: "Netsmart" To: "Freebsd-Questions" Subject: RE: FreeBSD and Printer Date: Fri, 11 Dec 1998 05:48:16 -0500 Message-ID: <000801be24f3$c25425a0$920ecacf@crap> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Allow me to first say thank you for the response. :] Secondly this hasn't solved the problem. I have tried your suggestion and also have tried the following in; "/usr/local/libexec/if-simple" EXamples I have tried: This is said to mostly work with HP printers /bin/cat && printf "\f" && exit 0 exit 2 The next was the generic/default line in the ; "/usr/local/libexec/if-simple" All of the above lines has note affected my problem for better or worse. The HP 600c printer still continues to print one horizontal line at the very top of the page OR print a staircase effect. After the printer prints either of the above lines one time... it will not print another character staircase or otherwise unless i turn the power off then on again. And then the cycle starts over. Ps I am using Freebsd-3.0 release & the printer does print a test page as it is designed to do, via the HP method from the front button on the printer itself. > -----Original Message----- > From: Jonathan Chen [mailto:jonc@pinnacle.co.nz] > Sent: Thursday, December 10, 1998 3:00 PM > To: Netsmart > Cc: Freebsd-Questions > Subject: RE: FreeBSD and Printer > > > On Thu, 10 Dec 1998, Netsmart wrote: > > > in either case above after it prints the first line whether > staircase effect > > or a straight line, it will never print another character > unless I turn the > > printer off then back on again. However, while it wont print > anything it > > continues to spit out whatever amount of blank sheets of paper that the > > document calls for.... just no printing. > > You've got 2 problems here. The staircase effect, and the final > formfeed to push the paper out of the printer. What you've can do > is to put in a filter for the queue like: > > #!/bin/sh > awk '{ printf ("%s\r\n", $0); }' > printf "\f" > > Also read up the handbook for setting up printers & filters: > http://www.freebsd.org/handbook/handbook92.html Jonathan Chen -------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message