bartman
31st January 2007, 15:34
Hello friends,

i have a problem by using different fonts in a report.

All fonts were printed fine until an form-field with "userfont-16". This form field still is printed fine but every report-row after this one is printed "small" and "bold" - except those, which have defined a different font then the font defined in the report properties.

I think there is something wrong with the Unix printer-driver. Maybe in the escape sequence of pfont16?

pfont16=\E(s1p48v0s3b4101T

Does anyone have an idea?

bdittmar
31st January 2007, 15:58
Hello friends,

i have a problem by using different fonts in a report.

All fonts were printed fine until an form-field with "userfont-16". This form field still is printed fine but every report-row after this one is printed "small" and "bold" - except those, which have defined a different font then the font defined in the report properties.

I think there is something wrong with the Unix printer-driver. Maybe in the escape sequence of pfont16?

pfont16=\E(s1p48v0s3b4101T

Does anyone have an idea?


Hello,
maybe it's a missing , at the end.

pfont1=\E(s0p20h0s0b4102T,
pfont2=\E(s0p16.67h0s0b4102T,
pfont3=\E(s0p15h0s0b4102T,
pfont4=\E(s0p14h0s0b4102T,
pfont5=\E(s0p10h0s0b4102T,
pfont6=\E(s0p9h0s0b4102T,
pfont7=\E(s0p8h0s0b4102T,
pfont8=\E(s0p5h0s0b4102T,
pfont9=\E(s0p20h0s3b4102T,
pfont10=\E(s0p16.67h0s3b4102T,
pfont11=\E(s0p15h0s3b4102T,
pfont12=\E(s0p14h0s3b4102T,
pfont13=\E(s0p10h0s3b4102T,
pfont14=\E(s0p9h0s3b4102T,
pfont15=\E(s0p8h0s3b4102T,
pfont16=\E(s0p5h0s3b4102T,

This is a sequence of pfont for laserjet 4 printers.

Regards

bartman
31st January 2007, 16:06
Hello bdittmar,

that is not the problem. I just forgot to mark it... :)

Have you any other idea?

csecgn
8th February 2007, 00:10
On the fly I don't know the ESC sequence for small, but 3b is bold. It keeps active until an 0b at another font resets it. For my experience you don't need it, because it only sets the whole font to bold. Better remove it from the font definition. If you need a single field in bold, you can set the bold flag.

hth

Regards
csecgn