473,385 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Visual Web Developer questions...

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?
Jan 15 '08 #1
3 1107
On Jan 15, 3:16 pm, Jason <paul...@excite.comwrote:
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]
Jan 15 '08 #2
On Jan 15, 3:27 pm, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Jan 15, 3:16 pm, Jason <paul...@excite.comwrote:
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]
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
Jan 16 '08 #3
On Jan 16, 9:53 am, Jason <paul...@excite.comwrote:
On Jan 15, 3:27 pm, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Jan 15, 3:16 pm, Jason <paul...@excite.comwrote:
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]

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]
Jan 16 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
30
by: Cowboy \(Gregory A. Beamer\) | last post by:
There seems to be a lot of confusion on the versions of Visual Studio 2005. My latest blog entry covers the different versions: Main URL:...
1
by: Eric Sassaman [MS] | last post by:
Online Chat: Visual C++ 2005 Beta Join the Visual C++ team to discuss your questions and comments on the Beta release of Visual C++ 2005. Whether you are a first-time user of the Visual C++...
3
by: bredal Jensen | last post by:
I'm currently downloading the Microsoft "Visual web developer 2005 Express" and i have a few questions in case someone could have insider informations about this. I have just attended a seminar...
8
by: Will Chamberlain | last post by:
I came across a rather interesting article this morning and thought I'd share. We all know that Visual Studio is a great IDE, but I think we can all agree that it is adds a dramatic change to how...
0
by: Scott Nonnenberg [MSFT] | last post by:
Log in with us and spend some time talking about your favorite tool for writing C# code! Come to ask questions, suggest new features, or just hang out with the people who work on the tool you use!...
5
by: cj | last post by:
I'm getting started writing WEB program in VB2005. I'm been doing windows apps to date. A friend told me to get Visual Web Developer Express Edition. But I have Visual Studio Pro 2005 and it...
8
by: Chris Asaipillai | last post by:
Hi there I have some questions for those experienced Visual Basic 6 programmers out there who have made the transition from VB6 to Vb.net. How long did it take you to learn at least the basic...
2
by: Cramer | last post by:
So, what is the relationship between Visual Studio and Visual Web Developer. I find a lot of documentation on MSDN that presents Visual Web Developer as it's own stand-alone product (which I'd...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.