Date: Tue, 19 May 1998 15:50:14 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: Spidey <beaupran@JSP.UMontreal.CA> Cc: Question=answer <freebsd-questions@FreeBSD.ORG> Subject: Re: sending escapes char to printer... Message-ID: <Pine.BSF.3.96.980519154826.11841m-100000@gdi.uoregon.edu> In-Reply-To: <Pine.BSF.3.96.980519020419.644F-100000@outpost.nada.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 May 1998, Spidey wrote: > Hi > > I would like to know how to send escape sequences (like ESC + 5 + 0x0F) to > my printer... I am setting up my filters and the example in the handbook > is not really clear... The string printf "\0335\020" should do it. \### means output the ASCII character ### where ### is an octal number. See `man ascii' for a table. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major 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.BSF.3.96.980519154826.11841m-100000>