Font substitutions
Posted: Thu May 10, 2012 6:46 pm
Larry just brought up the subject of font subsitutions and NWP.
A number of us have noticed that we often make a font substitution like "[TINY]" and it has no effect on our print job.
This is becasue fonts that are proportional are governed by a vertical parameter "V" and fonts that are fixed width are governed by a horizontal parameter "H". The substitutions in PRINTER.SYS deal with only one of these at a time. Consequently if we are using a proportinal font and issue a [CPI=10] substitution nothing happens.
The approximate relation between H and V is H=163.3/V
To correct your PRINTER.SYS file then you need to have each substitution address BOTH the H and V parameters. Following the HP convention, letters within a substitution string are lower case and only the last letter is a Capital. BR NWP printing respects this convention and PCL printing requires it. Tthe corrected substitution strings that you should make in your PRINTER.SYS file would then be:
H V SUBSTITUTION PRINTER.SYS
23 7 [TINY] \E(s23h7V
20 8 [SMALL][CPI=20] \E(s20h8V
17 10 [CPI=17] \E(s17h10V
16 10 [LITTLE] \E(s16h10V
15 11 [CPI=15] \E(s15h11V
14 12 [MEDIUM] \E(s14h12V
12 14 [ESSAY][CPI=12] \E(s12h14V
10 16 [CPI=10] \E(s10h16V
9 18 [LARGE] \E(s9h18V
7 23 [BIG] \E(s7h23V
5 33 [JUMBO] \E(s5h33V
2 96 [GARGANTUAN] \E(s2h96V
Hope this helps.
FNGeorge
A number of us have noticed that we often make a font substitution like "[TINY]" and it has no effect on our print job.
This is becasue fonts that are proportional are governed by a vertical parameter "V" and fonts that are fixed width are governed by a horizontal parameter "H". The substitutions in PRINTER.SYS deal with only one of these at a time. Consequently if we are using a proportinal font and issue a [CPI=10] substitution nothing happens.
The approximate relation between H and V is H=163.3/V
To correct your PRINTER.SYS file then you need to have each substitution address BOTH the H and V parameters. Following the HP convention, letters within a substitution string are lower case and only the last letter is a Capital. BR NWP printing respects this convention and PCL printing requires it. Tthe corrected substitution strings that you should make in your PRINTER.SYS file would then be:
H V SUBSTITUTION PRINTER.SYS
23 7 [TINY] \E(s23h7V
20 8 [SMALL][CPI=20] \E(s20h8V
17 10 [CPI=17] \E(s17h10V
16 10 [LITTLE] \E(s16h10V
15 11 [CPI=15] \E(s15h11V
14 12 [MEDIUM] \E(s14h12V
12 14 [ESSAY][CPI=12] \E(s12h14V
10 16 [CPI=10] \E(s10h16V
9 18 [LARGE] \E(s9h18V
7 23 [BIG] \E(s7h23V
5 33 [JUMBO] \E(s5h33V
2 96 [GARGANTUAN] \E(s2h96V
Hope this helps.
FNGeorge