sir,

I'v attached the jpg file. & i want print the same page by coding......
plz help me........

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.