How do I get "collate" from e?

R

Robert Liles

I am using Visual Basic.NET 2002 and cannot get "collate" from the
PrintDialog1 or e.PageSettings.PrinterSettings.Collate to return anything
but "False." What am I doing wrong?

I am using
PrintDialog1.Document = PrintDocument1
'PrintDialog1.PrinterSettings.Copies = 4 'I have tried these two lines
too
'PrintDialog1.PrinterSettings.Collate = True 'I get the 4 but not the
True
If PrintDialog1.ShowDialog() = DialogResult.OK Then
Messagebox.Show(PrintDocument1.PrinterSettings.Collate .ToString)
PrintPreview1.Document = PrintDocument1
'PrintPreview1.Document = PrintDialog1.Document 'I have tried this too
PrintPreview1.ShowDialog()
End If

TIA, Bobbo
 
C

CT

Okay, I might be asking the obvious, but does the printer and the driver
support collating?
 
R

Robert Liles

If I check the "Collate" box in the PrintDialog it is ignored, always
returns "False" and does not collate. If I add the line
e.PageSettings.PrinterSettings.Collate = True
in my print routine, it does Collate just fine. How can I get it to
recognize that the user has checked the Collate box in the PrintDialog? Or,
how can I determine that the user has checked the Collate box so I can
programatically turn on Collation?

TIA, Bobbo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top