Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 1998 05:48:16 -0500
From:      "Netsmart" <network1@smartweb.net>
To:        "Freebsd-Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: FreeBSD and Printer
Message-ID:  <000801be24f3$c25425a0$920ecacf@crap>
In-Reply-To: <Pine.SCO.3.96.981211085501.15719H-100000@kiwi.pinnacle.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801be24f3$c25425a0$920ecacf>