Skip site navigation (1)Skip section navigation (2)
Date:      05 Jan 1999 01:36:35 -0500
From:      Kevin Street <street@iname.com>
To:        net work <1500354@usa.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FBSD-3.0 and WordPerfect-8
Message-ID:  <877lv29qfg.fsf@kstreet.interlog.com>
In-Reply-To: net work's message of "4 Oct 98 01:54:17 EDT"
References:  <19981004055417.7914.qmail@www0s.netaddress.usa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
net work <1500354@usa.net> writes:

> When printing anything (envelopes OR documents), the printer always kicks out
> an extra *blank* sheet of paper when the print job is finished.... (almost
> like a separator page)

Check what you've got for :if= in /etc/printcap.  You're probably
sending to a filter that adds an extra form feed at the end of the
document.  That's what you want for printing files you create in vi,
but not what you want for wp.  For wp you want a raw filter.
Something like:

$ cat /usr/local/libexec/rawif
#! /bin/sh
#
# rawif: lpr input filter
#    this is a raw device - users must set the printer state
#    (eg. using PCL) in their print file to get reasonable output.
 
/bin/cat && exit 0
exit 2


So set up a new printcap entry that uses :if=/usr/local/libexec/rawif
and aim your wp output at it. 

-- 
Kevin Street
street@iName.com

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?877lv29qfg.fsf>