[vox-tech] Printouts cliped, how to fix?

Henry House vox-tech@lists.lugod.org
Wed, 18 Sep 2002 10:47:24 -0700


--EXKGNeO8l0xGFBjy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 17, 2002 at 11:37:04PM -0700, Ryan wrote:
> When I print things with default settings, (ie, `ls | lpr`) my text is cu=
t=20
> off at the top and right. Anyone know how to fix this?

There can be many causes for this problem. In my experience (limited to
postscript laser printers, as I avoid all other printers like the plague),
clipped plain text has occurred when the printer tries print right to the
edge of the paper, with little or no margin. This behavior is probably
tunable by setting some variable in the printers' firmware, but I found it
easiest to set up a print filter (I use lprng) that runs plain text through
mpage to convert it to postscript. An example print filter that does this is
/etc/magicfilter/psonly600-filter from magicfilter on Debian. Another fun
filter is:

	#!/bin/sh
	pstops '1:0U(8.5in,11in)'

which causes the postscript printer to print every page upside-down. This is
useful to make all the printers in an office all expect letterhead, etc to =
be
fed in the same way.


--=20
Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/p=
gp>
for information.  My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.

--EXKGNeO8l0xGFBjy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9iLwsi3lu92AVGcIRAmcrAJ43woFeLO84zC8DsAxHLcOulJQ26ACeMGyd
unDGpu/lTedkEbFlRNkM1aI=
=QlaO
-----END PGP SIGNATURE-----

--EXKGNeO8l0xGFBjy--