473,803 Members | 3,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No Printer Collection Dumb Idea

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.
Jul 21 '05 #1
2 1440
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.Pri nters
namespace.
http://msdn.microsoft.com/library/en...05_preview.asp

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

I hope it helps.
-Dino
(just another microserf)

"Marion" <Ma****@discuss ions.microsoft. com> wrote in message
news:F6******** *************** ***********@mic rosoft.com...
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.

Jul 21 '05 #2
CMM
Wait a minute. Doesn't the PrinterSettings .InstallPrinter s function in
System.Drawing. Printing provide exactly this feature?

"Dino Chiesa [Microsoft]" wrote:
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.Pri nters
namespace.
http://msdn.microsoft.com/library/en...05_preview.asp

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

I hope it helps.
-Dino
(just another microserf)

"Marion" <Ma****@discuss ions.microsoft. com> wrote in message
news:F6******** *************** ***********@mic rosoft.com...
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.


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
22320
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to the selected printer. I'm not concerned about the text format. What I tried is something like this CommonDialog1.ShowPrinter
0
2058
by: Yaseen | last post by:
I am not sure if someone can help me, but please bare with me for a second... My problem is to retreive the Client's Printer Collection for a web application and then print to the client's default printer or a printer of his choosing. I know Asp.Net is basically server-side. So I was thinking of using an ActiveX Control which is downloaded on to the client's machine and then the ActiveX control Reads the client's printer settings and use the...
3
5127
by: Olaf Rabbachin | last post by:
Hi folks, during printing, I'm constantly checking the printer-spooler to monitor whether a document has showed up in a printer's spooler and - after it has - whether the print-job has been finished. I'm using the following code for that: --- 8< --- Imports System.Management
2
253
by: Marion | last post by:
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...
1
5473
by: i8mypnuts | last post by:
Could someone please help? I am using the 'defaultprt.zip' tool provided by Ken Getz to change the default printer via VBA code (code below). My problem is that once the default printer has been changed, Access 2003 still directs the report to the former default printer. Access 2003 picks up the new default printer setting only after I have reopened the application. I have checked the default printer setting in the OS control panel and the...
1
2369
by: groulder | last post by:
hi all, i have a problem with a network database that's used by a lot of people. people are finding, they will start the database, and if the mouse is moved over the print icon, the tooltip appears to show which printer it will print to as normal. this printer however is a printer that the user doesn't even have installed.
5
4126
by: Sub-Lt | last post by:
Hello. Cor Ligthert In: microsoft.public.dotnet.general recommended I ask this question here: We are upgrading one of our apps from VB6 to VS2005(VB). Barcode printing is part of the app. What we used to do is send the printer command directly to the printer. Printer.print {long printer command} would
7
20733
by: Mark | last post by:
Hi, I am creating application in VB 2005. and when I print report it adds extra 0.45 cm margin on left and top, and the reason for this is physical margins of printer. Is it possible to change printer's physical margins using VB coding? Cheers -- Osmotion Blue
5
4183
by: itfetish | last post by:
I have made an electronic sign out book for my office in ASP using VBScript. Problem is, when there is a fire we need to check who is out and who is burning. I have been trying to think of how to go about this, perhaps the only way is by having an 'emergency print' button that quickly prints thedocument to one, or even better all printers on the network. That way when everyone is leaving they can grab the print from the printer.
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10555
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10317
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10300
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9127
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.