Robert Starr
March 31st, 1999, 08:08 PM
I output some text using DrawText (in order to use the WORDBREAK feature).
I am using Arial Font, created with a CreateFontIndirect call.
The application prints correctly on HP laser jet printers and on the DeskJet
1600, but fails (prints blank) for some low-end desk jets (the 695 and 870).
I am using the latest drivers.
If I output the same text (and same font) with TextOut instead of DrawText
it prints correctly no matter what printer I use. (The test case is a short
string so it fits on one line; TextOut works but DrawText is blank.)
Does anyone have any idea why the DrawText fails on some DeskJets?
I am using Arial Font, created with a CreateFontIndirect call.
The application prints correctly on HP laser jet printers and on the DeskJet
1600, but fails (prints blank) for some low-end desk jets (the 695 and 870).
I am using the latest drivers.
If I output the same text (and same font) with TextOut instead of DrawText
it prints correctly no matter what printer I use. (The test case is a short
string so it fits on one line; TextOut works but DrawText is blank.)
Does anyone have any idea why the DrawText fails on some DeskJets?