Hello guys,
Every time i try to get the name of all paper trays of an installed printer,
i just get the first 23 characters of each name.
I use the System.Drawing.Printing.PaperSource.SourceName property in
Visual Studio 2003, .NET 1.1 to obtain the information.
I tried to use some WMI Queries too, but i could'nt find the required Information there.
Anyway, the collection of the paper trays looks like this. The printer model is irrelevant.
Epson LQ-850
Automatisch auswahlen
Traktoreinzug
Manuelle Papierzufuhr
Papierzufuhr - Schacht
Papierzufuhr - Schacht
HP Laserjet 5P
Automatisch auswahlen
Automatische Auswahl
Schacht 1
Manueller Einzug (Schac
Schacht 2
Umschlageinzug
Schacht 3
In every standard Windows printing dialog this list looks like this:
Epson LQ-850
Automatisch auswahlen
Traktoreinzug
Manuelle Papierzufuhr
Papierzufuhr - Schacht 1
Papierzufuhr - Schacht 2
HP Laserjet 5P
Automatisch auswahlen
Automatische Auswahl
Schacht 1
Manueller Einzug (Schacht 1)
Schacht 2
Umschlageinzug
Schacht 3
Where does the printer dialog window obtain the information
Any Ideas how to get the missing characters
Ralph

Get Full Name of Printer paper tray