Hi there,
I am having a problem about the printer in windows XP.
Does anyone know how to print out the image (JPG) file from the printer by c++ and WinAPI?
Any idea will be helpful.
Appreciate it.
James
Printable View
Hi there,
I am having a problem about the printer in windows XP.
Does anyone know how to print out the image (JPG) file from the printer by c++ and WinAPI?
Any idea will be helpful.
Appreciate it.
James
The idea is to handle this as usual bitmap printing. Load JPG with GDI+, open printer DC, blit an image to DC. End of story.
Hey Igor Vartanov,
Thanks, let me do some research about it.
James
Hi
Thanks Laurentis.
But I am confused too.
Would u please have more explanation.
Also I am thinking another way.
Actually, I am modifying a virtual printer code.
So, when the user generate the "image" file through virtual printer, I need to print the file out via the real printer too.
Therefore, I am thinking whether it is possible to copy the print job to the real printer's queue in the same time.
Sorry, I am a newbie in Winapi programming.
Any idea is appreciated.
Thanks.
James
Yes, with COM and IE (you let IE doing all the printing)
see news://194.177.96.26/comp.os.ms-wind...ogrammer.win32
where it's a Win32 usual question for a long time...