943,565 Members | Top Members by Rank

Ad:
Nov 20th, 2008
0

Print attached .jpg page by code

Expand Post »
sir,

I'v attached the jpg file. & i want print the same page by coding......
plz help me........
Attached Thumbnails
Click image for larger version

Name:	PrintPaymentReminder.JPG
Views:	14
Size:	72.1 KB
ID:	8271  
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pankaj1980 is offline Offline
1 posts
since Nov 2008
Nov 20th, 2008
0

Re: Print attached .jpg page by code

well; depending on where this image is... if it's within your project - as opposed to an external file - you could print it from whatever image control it's in... if it is an external file you could load it into an image type control (image box, picture box, anything that has a .picture attached to it...) or, you might be able to just load the picture directly onto the printbuffer mentioned below (i didn't try it though)

using the printer object in vb6 will let you print this to a print buffer. with Printer.PaintPicture (you can look up the syntax) you can add your picture do the print buffer, when you're ready to print it, use printer.EndDoc.
Reputation Points: 22
Solved Threads: 3
Light Poster
kain_mcbride is offline Offline
25 posts
since Nov 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Numbering in Printing report
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: print loop help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC