Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 1999 12:41:09 +1300 (NZDT)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Gerry Marcelo <germar@pair.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Printer Problems "staircase effect" 
Message-ID:  <Pine.SCO.3.96.990105123830.7236E-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <00e001be35de$349d52d0$c1772581@doppelganger>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Jan 1999, Gerry Marcelo wrote:

> #!/bin/sh
> printf"\033&k2G" && cat && printf"\f" && exit 0
> exit 2
> 
> I checked my printer's manual and the ESC &k2G should do the trick,
> but my printer continues to "staircase" no matter what I do.

If you don't like using `sed' and having control characters in your
script file, you can use:

	#!/bin/sh
	awk '{ printf {"%s\r\n", $0}; }'
	printf "\f"

---------------------------------------------------------------------
Jonathan Chen                       | Opportunites are seldom labeled
---------------------------------------------------------------------


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?Pine.SCO.3.96.990105123830.7236E-100000>