RE: Printing in Windows

new topic     » topic index » view thread      » older message » newer message

Derek,

> when printing in Windows you have to do all the positioning yourself.

Unfortunately, I know. :(  My last Windows printing was done with 
Borland C++/OWL and I lost many strands of hair trying to get that right 
(I was never completely satisfied with the end product but the printout 
was produced).

> 
> To ensure that words begin on a new line, you must always measure the 
> size
> of the text you intend to fit on the line and if it doesn't fit, reduce 
> it
> by one word and try again until it does fit.

In OWL I used a function called getTextExtent which would give the 
amount of space the text would occupy on the page.  What would be 
comparable from Win32Lib's perspective?

> Its very messy and prone to easy mistakes, particularly when using 
> multiple
> fonts etc...

Well if I succeed and am pleased with what/how I got to the end results 
I'll send it to Rob so others will have something to start with.

Jonas

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu