Solved

Immediate Print Screen

Posted on 1998-07-22
1
163 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unable to delete all specified values regedit 38 727
modThree challenge 4 110
building a service to accessed via telnet client, want colors ? 4 98
Message not shown 5 85
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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