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

Jul 21, 2008 at 11:03am
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
Jul 21, 2008 at 7:35pm
You have not linked to the correct library.
Topic archived. No new replies allowed.