Re: DCPS and 132 listings

From: JF Mezei (jfmezei.spamnot_at_teksavvy.com)
Date: 11/04/05


Date: Fri, 04 Nov 2005 07:40:25 -0500

Perhaps you need to look at a different escape sequence.

Looking at my old LN03 manual:

<ESC> ; sets it to 134 characters per line, 64 lines per page, 13.04
characters per inch 8.33 lines per inch.

<ESC> : gives 123 chartacters per line.

(I think the above applies only to Tektronix mode).

<CSI>7 SP C

(CSI seven, space, uppercase C would set the current font at a 7
point size.

You can also modify height and width with:

CSI pn1 ; pn2 SP B

pn1 is percentage of height, pn2 is percentage of width of the font.

So you could have CSI 100;60 B
which would make characters 60% of the width of the original, but 100 of
the original height.

Just did a test:

100;60- yields about 96 characters per line. characters seem just a tad
less tall.

70;40 yields 109 characters per line, and the characters are noticeably
smaller in height as well. Very readable and good spacing between
characters (but they are small).

70;20 yields the same output.

So does 50;20

I would have to dig deeper into the LN03 programming manual to find
other potential escape sequence and test to see how DCPS handles them.

I only tried the CSI pn1;pn2 B sequence above. You may with to
experiment with the others.



Relevant Pages

  • Re: x and strings
    ... >> The escape sequence for embedded bytes is three characters following ...
    (microsoft.public.vc.language)
  • Re: formatting text in JavaScript popup boxes
    ... there is also few additional special characters: ... which serves as escape sequence prefix itself ... Is there some Javascript popup Alert box text formatter, ...
    (comp.lang.javascript)
  • Re: Avoiding Escape Sequence....
    ... The use of 8-bit characters as characters is problematic in the C language. ... In the string below, I see the \ preceding a ", so if it isn't escaped as shown, the quote ... telling as '"': unrecognized character escape sequence. ... There is a backslash in this string, you should escape it with another ...
    (microsoft.public.vc.mfc)
  • Re: how to add Control G in the message
    ... > How to add control G in that. ... a string can contain special ASCII formatting characters ... -- and, a bit further down the page, a table with common escape ... If you go to that page, you will see what the escape sequence is and how ...
    (perl.beginners)
  • Re: In need of a Crypto hash algorithm design
    ... While collision prevention is important 0~Z yields 35 characters ... While a modification on a current algorithm like SHA1 is probably quick and easy, I'd prefer one that was designed from the ground up with these items in mind. ...
    (sci.crypt)