Force Printing to a printer based on the given printer name

  • Thread starter Thread starter Samuel Lee
  • Start date Start date
S

Samuel Lee

I have created a print button in my windows and web applications. I have two
printers. One printer is located at server and another one is at client. The
problem is every times I print at client it will spool to my server printer.
I wanted to force print directly to my client's local printer. Could anyone
show me vb.net codes to solve this problem?
 
* "Samuel Lee said:
I have created a print button in my windows and web applications. I have two
printers. One printer is located at server and another one is at client. The
problem is every times I print at client it will spool to my server printer.
I wanted to force print directly to my client's local printer. Could anyone
show me vb.net codes to solve this problem?

You may want to let the user select the printer:

<http://www.mvps.org/dotnet/dotnet/samples/printing/downloads/PrintFramework.zip>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
 
I have to print directly to the selected printer without the printer dialog
box. I'm not printing a report. I'm printing a receipt after a sales
transaction. For speed wise, I do not allow printer dialog box to appear.
Any idea?
 
Back
Top