|
-
May 29th, 2001, 01:46 PM
#1
Copying PictureBox to Printer
WITHOUT USING THE PRINTER OBJECT, which precludes using the PAINTPICTURE method, How can I print a Picturebox on the Printer.
Currently I am using the following APIS to produce text on the printer (successfully I might add)
StartDoc
EndDoc
StartPage
EndPage
TextOut
But I can't figure out how to put a Picture image on the printer. BITBLT doesn't like my attempts for some reason. Here is my BitBlt. picHdc is the printer and pmask is a Picturebox.
Pmask is correct because when I use the printer Objects .PaintPicture, I get a picture on the printer but it's on a seperate page from one that I am building.
BitBlt pichdc, 0, 0, pMask.Width, pMask.Height, pMask.hdc, 0, 0, SRCCOPY
'
What stupid thing am I doing wrong????????
John G
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|