Jump to content
Sign in to follow this  
blenkhn

printwinapi problems

Recommended Posts

blenkhn

I have finally upgraded to the newest version of Autoit and encountered several problems with printwinapi. The first were easy where You just needed to comment out the duplicated functions. However I get

Variable used without being declared.:

$PixelsPerInchY = _WinAPI_GetDeviceCaps($hPrintDc, $__WINAPCONSTANT_LOGPIXELSY)

$PixelsPerInchY = _WinAPI_GetDeviceCaps($hPrintDc, ^ ERROR

When I run my program now. What was the constant and where do I put them. I also assume that the $__WINAPCONSTANT_LOGPIXELSX will need to be declared as well.

Share this post


Link to post
Share on other sites
Beege

You are in the wrong forum. Post questions in General Help and Support

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.