|
Hi,
I am having problems trying to print more than 1 copy and in collate or non collate mode with the printDocument. I use a PrintDialog to set the printer settings for the printDocument, where I choose 3 copies and leave the check on for collate, and when I send to print, it prints only 1 copy of each page and that's all. What am I missing here? Don't tell me that I have to program this as well in the printDocument1_PrintPage to control the number of copies from there, this would be like no way, it should be that you only have to set the properties and the object does the rest.
I also have a second question, hope it doesn't bothers I'm doing it in this topic. It's about my own PrintPreview form, I created a form, inserted a printPreviewControl and programatically assign a printDocument. The area where i'm facing a problem is that I have a button that sets a flag that i'm going to make a zoom in, when I click the button, the flag turns true and the mouse cursor changes to a zoom in icon. In the click event of the control, each time the user clicks and if the flag is true, I do a performOperation to make a zoom in to the document. That went just fine except that when the user uses the scroll to scroll over the pages, it executes the zoom in operation, where in that case I did not want to. But I don't seem to find any event for that (when scroll or when using scroll), such that when user is clicking the scrollbar of the component, to not execute the zoom in action. Another way I was intending to do was with the mouse position inside the control when it was click and compare it is inside the boundaries of the control and outside the area of the scroll in order to let the zoom in operation to work, and otherwise to not work
Hope you all can help me.
thx in advance
|