Visual Web Developer questions...

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hello,
I want to write a simple program in Visual Web Devekoper, a simple
webpage that has textboxes on it such as:

txtName
txtAddres
txtPIN

and then a button btnPrint

when the button is pressed I want to print the data like so:

Name: contents of txtName
Address: contents of txtAddress
PIN: contents of txtPIN

I can print this but I want to also make sure that this gets printer
to a specific printer and not just the default printer, for example I
want to print to: \\pntserv1\printerb

can this be done? Can it be also done programatically to, if the
printer is not installed, install the printer and then print?
 
Hello,
I want to write a simple program in Visual Web Devekoper, a simple
webpage that has textboxes on it such as:

txtName
txtAddres
txtPIN

and then a button btnPrint

when the button is pressed I want to print the data like so:

Name: contents of txtName
Address: contents of txtAddress
PIN: contents of txtPIN

I can print this but I want to also make sure that this gets printer
to a specific printer and not just the default printer, for example I
want to print to: \\pntserv1\printerb

can this be done? Can it be also done programatically to, if the
printer is not installed, install the printer and then print?

Are you trying to print on the client or server side?

Thanks,

Seth Rowe [MVP]
 
Are you trying to print on the client or server side?

Thanks,

Seth Rowe [MVP]

I'm trying to print on the client side I believe. All I am doing is
wanting to print whatever is in the textboxes to a printer. I don't
think I really need to go to the server for that.

thanks
 
I'm trying to print on the client side I believe. All I am doing is
wanting to print whatever is in the textboxes to a printer. I don't
think I really need to go to the server for that.

thanks

Then you can't specify a certain printer, as you have no clue what
printers a client has installed, if any at all. The best you can do is
use javascript to bring up the print window and have the client select
what printer.

Thanks,

Seth Rowe [MVP]
 
Back
Top