Sign in to follow this  
Followers 0
blenkhn

printwinapi problems

2 posts in this topic

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



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  
Followers 0