|
|
 |
cliebl2$2007106 cliebl2 04/18/2007 :: 18:16
Registered
| | You've been a great help so far and I'm getting very close on my project but now I have question about printing.
I have a multipage tiff loaded in the gdviewer. I'm doing: Call Me.gdViewer1.PrintSetFromToPage(1, Me.gdViewer1.NumPages)
but nothing happens, I thought that was all I needed to do to send it to the printer, am I missing something? Thanks!
| |
 |
cliebl2$2007106 cliebl2 04/19/2007 :: 01:31
Registered
| | If I add Me.gdViewer1.PrintImageFit after that call statement then it works, maybe that's just how I need to leave it?
One other question on printing. I have a 4 page tif document that is 101k. I load it to the viewer then call the same printing above but when it spools I noticed that it gets up to about 42MB! Why does it get so big or is there someway I can have it not send such a large file? | |
 |
Loïc$2006306 Loïc 04/19/2007 :: 11:21
Registered
| | Hi,
The PrintSetFromToPage method does not launch a print process. She only tell to the component to print a range of page during the next print process.
During a print process the image data are send to the printer as uncompressed data. It is the reason of the big size of the spool. A solution consists to resize the image before printing it.
Best regards,
Loïc Carrère | |
 |
cliebl2$2007106 cliebl2 04/19/2007 :: 17:04
Registered
| | Ok
Well, if I print the same document from Microsoft Office Document Imaging then it only spools to 1.79MB, just not sure why that original 101kb tiff would be so large. I still want to print the document in it's a original size, which in this case the tif document is just 4 page black and white on 8.5x11. If I resize the image won't it print the image smaller as well? | |