Solved

Get the printing data from the Client

Posted on 2009-04-07
1
365 Views
Last Modified: 2013-12-14
How to capture (in the client) the data being printed or atleast the window screen snap?. The main objective is to get the data before it could get spooled. Can it be done through MFC?
0
Comment
Question by:Loganathan Natarajan
1 Comment
 
LVL 39

Accepted Solution

by:
itsmeandnobodyelse earned 250 total points
Comment Utility
You could get a screenshot into a CBitmap. But is difficult to retrieve any data from a bitmap.

You also could (try to) hook into a print dialog but the data actually sent to a printer maybe graphical data as well as text data, it even could be raster points if you have no luck.

No, capturing printing data is not really a good method (beside you only want to prevent from printing).
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

771 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

10 Experts available now in Live!

Get 1:1 Help Now