No Printer Collection Dumb Idea

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to go on record to say that I think not having the Printer
collection in .Net is dumb. The only help tells me that I should use the
Print Dialog. Well, I don't want to. Programming is about flexability but
..Net is all about taking things away. I am using the Farpoint Win Spread
control and it has limited printing so I am REQUIRED to create a custom Print
dialog. Thanks to the Microsurfs that think they know what I need better than
I do I cannot make the Print dialog that will fit the Farpoint Win Spread
control.
 
my my my.....
for the record, every release of software is a matter of balance. of
schedule versus content. There's lots of stuff in the Framework today, we
thought about a printers collection, but sadly, it was among the things that
didn't make the cut. We're sorry that we cannot include everything.

I know it probably does not help you today, but in .NET version 2.0
("Whidbey"), there is a printer collection, in the My.Computer.Printers
namespace.
http://msdn.microsoft.com/library/en-us/dnvs05/html/vbnet2005_preview.asp

In the meantime, maybe this will help you build your own collection?
http://cheeso.members.winisp.net/srcview.aspx?file=Printer.cs

I hope it helps.


-Dino
(just another microserf)
 
Wait a minute. Doesn't the PrinterSettings.InstallPrinters function in
System.Drawing.Printing provide exactly this feature?
 
Back
Top