Solved

Immediate Print Screen

Posted on 1998-07-22
1
149 Views
Last Modified: 2013-11-20
I am writing an app using MFC and I want to know how to do a printScreen command that prints a full screen shot directly to the printer without any dialogs appearing.
0
Comment
Question by:VEngineer
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 10 total points
ID: 1319566
You'll need to create a screen DC and a printer DC. If the printer has the proper flags (most important being supporting bitmaps over 64K), then you can do a BitBlt from the screen to the printer.

Otherwise, you'll need to do it in bands.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 176
dog bark java program 15 94
viewing source code from eclipse 13 104
Thin secure Windows 10 5 93
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

806 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