[Linker error] undefined reference to `ClosePrinter@4'

Hi

I have made a program that will change the settings of printer orientation.

But I am getting linker error.

" [Linker error] undefined reference to `OpenPrinterA@12' "

I am not able to find out the reason.

Kindly advice
Regards
Karan Gupta
You have not linked to the correct library.
Topic archived. No new replies allowed.