spartacus
20th January 2012, 10:54
Hi all,

what we need is a big fixed font. The font should be fixed because of the layout, we would like to realise.

Here the fonts as they are already defined in our printer driver:

small=\E(s4099T\E(s16.66H\E&k7.0H\E&a0L,
middle=\E(s4099T\E(s12H\E&a0L,
large=\E(s4099T\E(s10H\E&k11.6H\E&a0L,
pfont1=\E(s4102T\E(s17.2H\E&k7.0H\E&a1L,
pfont2=\E(s4102T\E(s17.2H\E&k7.0H\E&a1L\E&l8D,
pfont3=\E(s4102T\E(s23.5H\E&k5H\E&l12D,
pfont4=\E(s4102T\E(s5H\E(s0P\E(s30V\E&k7.0H\E&a1L,

"pfont4" is the font we added to play with, the others already exists.

What we found is:
-we can make an proportional font big enough, but we can use such a font hardly for our layout
-with a non proportional font we can just manipulate the height of the font, we have no idea how we can increase the width???

As "pfont4" is defined now, the letters are high enough. But because there is not enough width the letters are printed somehow over each other.

Kind regards
Richard

spartacus
23rd January 2012, 10:16
Solved it..

pfont4=\E(s4102T\E(s6H\E(s0P\E(s4B\E(s30V\E&k20.0H\E&a1L,

This is a relativ big (for us big enough) font.

The string contains also parts which don't have any function within the actual contents. It depends on the type of font, which parameters are active.
So, e.g. the "pitch"-paramter (s6H is not for proportional fonts active.

Kind regards
Richard