From owner-freebsd-questions Wed May 21 15:55:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA12711 for questions-outgoing; Wed, 21 May 1997 15:55:26 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA12706 for ; Wed, 21 May 1997 15:55:24 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id WAA23619; Wed, 21 May 1997 22:53:46 GMT Date: Wed, 21 May 1997 15:53:45 -0700 (PDT) From: Dan Busarow To: Patrick Gardella cc: questions@FreeBSD.ORG Subject: Re: Juki Printer? In-Reply-To: <199705212109.OAA20866@geocities.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 21 May 1997, Patrick Gardella wrote: > There is a filter for HP printers (printf "\033&k2G") and one for > serial line printers, but not for parallel line or a Juki. > > The printf noted above does not work. > > Any other thoughts? Could have sworn there was a generic one in the handbook. Oh well. Try this from the mailing list archives. ================================================================= Keith Leonard writes: #!/bin/sh if [ "$1" = -c ]; then cat else sed -e s/$/^M/ fi echo -ne \\f The '^M' is produced in vi with Ctrl-v Ctrl-m - this is NOT a '^' followed by a 'M'. If you use Emacs Ctrl-q Ctrl-m should do it. ================================================================= Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82