Solved

print image in vc++ to printer

Posted on 2004-08-10
5
417 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now