"Panos" <Pa***@discussions.microsoft.com> schrieb:
Hi, is there a way that i could get the default printer of the system? I'm
using VB.net 2001
See:
<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/654608b1fa80e219>
\\\
Imports System.Drawing.Printing
..
..
..
Private ReadOnly Property DefaultPrinterName() As String
Get
Dim ps As New PrinterSettings()
Return ps.PrinterName
End Get
End Property
..
..
..
Dim DefaultPrinter As String = DefaultPrinterName
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>