>I have problems with printing in Foxpro for Windows 2.6a to Generic / Text Only printer under Windows XP Professional. I can't print condensed, wide...
>Some workarounds ? Tips ?
>
>Thanks
>
>Srecko
>
>[And please don't delete this message again ;)]
I didn't try this with XP, but you can try this as an alternative.
Create your text document, including some printing codes (bold, etc.; see the printer manual), load the text to memory (FileToStr() function), and send it to the printer with "???". This should bypass formatting done by the printer driver.
HTH,
UPDATE: Sorry, I just noticed the "FoxPro 2.x" part. FileToStr() isn't available as a built-in function, but you may get an emulation from the download section. Or construct the entire file directly in memory. Or use low-level file functions.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)