Re: [Dev-C++] [C/C++][Windows OS] Print Preview
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Per W. <pw...@ia...> - 2009-03-30 11:21:11
|
Unless you select a framework containing this function, you will have to implement it yourself. Basically, you should draw the same information to a displayable device context as you would draw when outputting the actual print. The only difference is that the resolution of the display context (your preview) is lower than the resolution of the actual printer. /pwm On Mon, 30 Mar 2009, Frederico Marques wrote: > > > Hello. > > > I am developing a small program that should print some text and images to a specified printer. > I can't seem to find the Windows API that I can use to display the output to the user... Like a "preview". > > Imagine a bmp, and 2 string... I can, by the printers API, position and scale both. I don't know, however, how to display the result to the screen. > > I don't know how I can display the job to the user before it is printer... Please, keep in mind that my Windowing is basic... receiving message and processing ;) > > Thank you for your time > > Frederico Marques > > > > _________________________________________________________________ > Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos com até 6,000 fotos! > http://www.amigosdomessenger.com.br |