Solved

print image in vc++ to printer

Posted on 2004-08-10
5
425 Views
Last Modified: 2009-12-16
Hi,

I need to print an image from my pc location directly to the printer using VC++. The printer will be attached to any port. Basically it should pick up the default printer. Im not a VC++ programmer and this is very urgent for me.

Kindly help me with complete code. This is very urgent.

Thanks in advance.

Regards,
-Vishal
0
Comment
Question by:vishalvp
5 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 100 total points
ID: 11762706
Hi vishalvp,
In windows environment, printing is process very similar to painting on screen, almost identical except for some scaling considerations. But it is a long answer.
I recomment you to read some examples at codeproject.com:

http://www.codeproject.com/printing/

It will be easier to do if you work with MFC library. Just refine your drawing on screen, add some printing message handler, and that's all.
Good luck,
Jaime.
0
 
LVL 2

Expert Comment

by:PCHolmes
ID: 11873753
If it's the image you need printed, I would use MGI Photosuite or Photoimpression to do a screen capture of what you need printed, and then go to the application and print it.

Or maybe I'm not understanding what you want to do here.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
countTriple  challenge 8 78
string initialization in java 11 113
java ^ examples 8 65
XML::LibXML and Xpath syntax How do I get attribute of sibling 2 139
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question