By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,842 Members | 2,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,842 IT Pros & Developers. It's quick & easy.

How to print pdf file using .net by giving printer name

P: n/a
Hi there

I am .net developer ,right now working on a project in that i need to
print pdf file using vb.net and i also have to pass printer name as
argument ,file should be printed on a perticular printer passing by
user

for printing pdf file i am using this code ,plz give me some idea how
to print it with giving printer name

Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi.Verb = "print"
psi.WindowStyle = ProcessWindowStyle.Hidden
psi.FileName = sReport
Process.Start(psi)

Mar 10 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.