Re: ASCII Characters

2002-12-19 Thread Rob Dixon
"John W. Krahn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Paul Kraus wrote: > > print "\e[120;72 G\e[120;43 G" > Of course. Thanks John. /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ASCII Characters

2002-12-19 Thread John W. Krahn
Paul Kraus wrote: > > My UNIX system prints these print commands to printer to set font as > well as page breaks ect... I need to be able to add them to my reports > but just inserting them doesn't do the trick so I am guessing I need the > actual ASCII codes to do it. > > Here is the text the wo

RE: ASCII Characters

2002-12-19 Thread Paul Kraus
Thanks. I spoke to soon. The answer I found in the line feed thread. Didn't work for this. But \c[ worked like a charm. > -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 8:40 AM > To: [EMAIL PROTECTED] > Subject:

Re: ASCII Characters

2002-12-19 Thread Rob Dixon
Hi Paul. These are ANSI escape sequences, with the square as the ASCII escape character 0x1B. This is control-[, so you can code these strings in Perl as "\c[[120;72 G" etc. HTH, Rob "Paul Kraus" <[EMAIL PROTECTED]> wrote in message 013101c2a762$06dc2700$64fea8c0@pkrausxp">news:013101c2a762$06

RE: ASCII Characters

2002-12-19 Thread Paul Kraus
Ignore. I just found my answer in the removing line feeds thread. > -Original Message- > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 8:25 AM > To: 'Perl' > Subject: ASCII Characters > > > My UNIX system prints these print commands to printer to set fo