By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,376 Members | 1,566 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,376 IT Pros & Developers. It's quick & easy.

Can DefaultPageSettings.PaperSource contain 3 seperate values?

P: n/a
When PrinterSettings.Copies fires, I need to somehow get it to select
three separate papersources...one for each of 3
defaultpagesettings.copies.

PrinterSettings printerSettings = new PrinterSettings();
printerSettings.MaximumPage = m_numberOfPages;
printerSettings.MinimumPage = 1;
printerSettings.PrintRange = PrintRange.SomePages;
printerSettings.FromPage = 1;
printerSettings.ToPage = m_numberOfPages;
printerSettings.Copies = 3;
printerSettings.PrinterName = printerName;

PrintDocument pd = new PrintDocument();
m_currentPrintingPage = 1;
m_lastPrintingPage = m_numberOfPages;
pd.PrinterSettings = printerSettings;
pd.DefaultPageSettings.PaperSource =
pd.PrinterSettings.PaperSources[comboBox1.SelectedIndex =
Class1.counter]; <<I would love it if I could somehow have 3 separate
values here before it hits the next command:
pd.Print(); "Which is PrintDocument.Print".

I just mainly want to print three copies of same document without
rendering document more than once.
Thanks,
Trint

Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Or, is it possible to send 3 separate documents to the printer at the
same time?
like:

Thanks,
Trint

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.