Additional help on Printing

  • Thread starter Thread starter Valeria Galvano
  • Start date Start date
V

Valeria Galvano

Hi,
when I use the System.Diagnostics.ProcessStart to send to a printer a
document that need to be printed, is possible to set a printer that is not
the default printer? (see the code below posted for me from Herfried K.
Wagner )
Thanks in advance
Valeria

\\\
Dim p As New System.Diagnostics.ProcessStartInfo()
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = "C:\filename.pdf"
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
///
 
Thank you, I think is not very easy to translate in vb.net for me!
But is possible to apply something like the PrinterName property on
System.Drawing.Printers?
I would only send the document to a printer different than the default one,
maybe simply indicating the name.
Regards
Valeria
 
* "Valeria Galvano said:
Thank you, I think is not very easy to translate in vb.net for me!
But is possible to apply something like the PrinterName property on
System.Drawing.Printers?
I would only send the document to a printer different than the default one,
maybe simply indicating the name.

I don't think that there is an easy solution.
 
Back
Top