GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 12-Jul-2007, 08:39
VimaxV VimaxV is offline
New Member
 
Join Date: Jul 2007
Posts: 1
VimaxV is on a distinguished road
Question

Printing huge shelf layout


Hello All,

my program allows users to organize products in a retail shelfs, and print it out.

Here is my big problem:
There are 1000+ products in one shelf, and each of them has photo with it.I use stretchBlt to scale the orginal photo dimension (e.g. 50x100) to (10x20) and put those photo to the CDC (for printing).

Photos are saved as jpeg, less then 200kb each. if i need to print a layout, which will send 1000x0.2M = 200MB to the printer. but most of the time the printer do not have enough memory to print.

I sort of come up with two solution, but dont know which one is better.

first, instead of using stretchBlt to resize only the photo size, write a funciton to resize the photo size and the file size. then load it onto the printing CDC.

the other option is to do a 'print screen'. only problem is layouts are bigger than the screen display size, so it will not print the entire layout. users need to crop out all other window's stuff, such as tool bar, task bar, start menu, etc. before sent to the printer. it also adds workload on users.

Is there any source code that can send the entire CDocument's content as an optimized image to the printer?

Thank you in advance
 
 

Recent GIDBlogFlickr uploads of IA pictures by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
css and layout wood1e Web Design Forum 1 05-May-2005 07:28
looking for new layout Allowee Web Design Forum 2 14-Jul-2003 06:57

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:42.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.