Re: Educate me on Printing

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

George Walters wrote:
> 
> 
> I thought I new how to print in windows using Win32 but apparently I don't
> know...or I'm missing the point all together.
> 
> I've been using this
> 
> fontSize = getFontSize( Printer ) -- get the font metrics
> 
> and spacing down the page like this
> 
>     line += 1
>     setPosition(Printer,0,line*fontSize[2])
>     wPuts(Printer,"stuff")
> 
> where line is the line number down the page
> 
> The problem is I get different spacing from printer to printer as you go down.
> the page. The laser does one thing and the inkjet is different. So I can't
> fill
> in forms consistently (like labels for addresses etc)
> 
> Can someone explain how to make a printer output the same from one to the
> other?

Use PCL code.

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

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

Search



Quick Links

User menu

Not signed in.

Misc Menu