Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2005 11:10:32 -0400
From:      Rick Preston <rickjpreston@gmail.com>
Cc:        modelt20@canada.com, freebsd-questions@freebsd.org
Subject:   Re: Adding a FormFeed to an LPR printcap file?
Message-ID:  <c4d7bf4905052808106be7a5b5@mail.gmail.com>
In-Reply-To: <1117291494.9411.0.camel@chaucer>
References:  <20050528031003.12739.fh051.wm@smtp.sc0.cp.net> <1117291494.9411.0.camel@chaucer>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I believe that :sh is called suppress header and that it suppresses
the banner page.  Form feed is a control character.  hex 0c.  In the
past I have added it to the bottom of my text or PCL documents or
added it in the printer interface script on UNIX systems that use the
lpsystem print subsystem.  I'm not sure if it would go in the :if or
:of in the printcap or even how to add it (why I didn't respond
earlier)  I haven't worked on the BSD spooler since FreeBSD 3.3 so I'm
a little rusty.

You might look at the printer, I've seen on some where you can add a
timeout to eject the last page and if you are doing job based or page
based printing, you can set the value low.  If you are doing line
based printing, that could cause the printer to eject the paper before
you finish printing.

good luck,


On 5/28/05, Mike Jeays <Mike.Jeays@rogers.com> wrote:
> On Fri, 2005-05-27 at 23:10, modelt20@canada.com wrote:
> > Hello:
> >
> > Could someone suggest a way to add a form feed to the
> > end of a print document in LPR? I have a printer that
> > doesn't eject the last page when the print job is
> > finished; and I can't seem to find this in the manual.
> >
> > My guess is I need to add it to my printer filter, but
> > its not clear to me what I need to add.
> >
> > I'm running freeBSD 5.3-Release.
> >
> > Thanks in advance.
> >
> > Harold.
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd=
.org"
>=20
> I think you have to remove the :sh parameter in /etc/printcap
>=20
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c4d7bf4905052808106be7a5b5>