Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GetDeviceCaps function in the gdi32 library

0 views
Skip to first unread message

Denise James

unread,
May 1, 2001, 4:21:56 PM5/1/01
to

Hi,

I'm using some code that was posted in article Q146022 - HOWTO: Set Up
the RichTextBox Control for WYSIWYG Printing.

This code uses GetDeviceCaps function from the gdi32 library
llLeft = GetDeviceCaps(Printer.hdc, PHYSICALOFFSETX)

The problem is that everytime I use this function it prints a blank
page to my printer. Am I doing something wrong here? I didn't think
that this function was supposed to print to the printer, I thought all
it was supposed to do was get the physicial left offset.

Thanks,
Denise.

0 new messages