|
-
Nov 23rd, 2005, 02:05 PM
#1
Thread Starter
New Member
Printing Question
Ok I have a print question. I want to send .html files to the printer the user's default printer. I don't want the print dialog box to pop up asking the user to choose a printer, I just want these to print. Here is the code I have so far:
Dim pIE As New ProcessStartInfo
With pIE
.Verb = "print"
.WindowStyle = ProcessWindowStyle.Hidden
.CreateNoWindow = True
.UseShellExecute = True
.FileName = FilePath.ToString
End With
Process.Start(pIE)
This will pop up the print dialog box asking the user to choose a printer to print the documents too. I don't want that, I just want it to send it to the default printer. Anyone have any suggestions on this. As always thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|