Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text and Images using Printer Object!

Status
Not open for further replies.

mciing7912

Programmer
Jul 14, 2006
16
MX
Hi!

I need to "join" text and images into the printer object!

my problem is if I insert text, the image desappears!! any idea? this is my code:

Printer.Print

'Copy picture to Printer
Printer.CurrentX = 0
Printer.CurrentY = 0
Printer.Print "Project: Image and Text"
Printer.PaintPicture picturebox1.Picture, X, Y Printer.EndDoc

thanks!
 
You are so close!

Here's something to try:

1) Change your picturebox AUTOREDRAW property to TRUE.

2) Change this line
Code:
Printer.PaintPicture picturebox1.Picture, X, Y
to
Code:
Printer.PaintPicture picturebox1.Image, X, Y

I hope it helps. :) Let me know if you need further assistance.

Best regards,
Harold

***You can't change your past, but you can change your future***
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top