Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 105,772 C# Programmers for FREE! Ask your question and get quick answers from experts. There are 1,300 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



PrintDocument: Copies and Collate

 
Reply to this topicStart new topic

PrintDocument: Copies and Collate

siu
post 3 Jul, 2008 - 07:56 AM
Post #1


New D.I.C Head

*
Joined: 31 May, 2008
Posts: 2

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
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/21/08 04:07PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month