473,473 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

defautl printer

I have an Intranet application that I need to print documents from. With C#
is it possible to either create a component or web service that will get the
users default printer and print the documents to that printer without the
user seeing the print dialog box?

I will be passing the document name to the print process from an ASP page
not asp.net page.
I've created a dll in VB 6 and it only prints the document to the web
servers default printer, I need the users that access the app default
printer.
Nov 15 '05 #1
2 4399
No, this is not possible as it is a security breach. If you are running on
an intranet, then you might be able to write a client-side ActiveX control
to do it, but it is doubful. What you can do is display the document in the
browser and provide a javascript window.print() link.

HTH,

Bill P.
On Fri, 1 Aug 2003 14:25:17 -0400, Mike <cs*********@sbcglobal.net> wrote:
I have an Intranet application that I need to print documents from. With
C#
is it possible to either create a component or web service that will get
the
users default printer and print the documents to that printer without the
user seeing the print dialog box?

I will be passing the document name to the print process from an ASP page
not asp.net page.
I've created a dll in VB 6 and it only prints the document to the web
servers default printer, I need the users that access the app default
printer.


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #2
No, this is not possible as it is a security breach. If you are running on
an intranet, then you might be able to write a client-side ActiveX control
to do it, but it is doubful. What you can do is display the document in the
browser and provide a javascript window.print() link.

HTH,

Bill P.
On Fri, 1 Aug 2003 14:25:17 -0400, Mike <cs*********@sbcglobal.net> wrote:
I have an Intranet application that I need to print documents from. With
C#
is it possible to either create a component or web service that will get
the
users default printer and print the documents to that printer without the
user seeing the print dialog box?

I will be passing the document name to the print process from an ASP page
not asp.net page.
I've created a dll in VB 6 and it only prints the document to the web
servers default printer, I need the users that access the app default
printer.


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #3

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

Similar topics

2
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to...
2
by: Jody Burgess | last post by:
Hi; I am writing my first python program and would like to know how to change stdout to refer to my default printer or any other printer on my network. The other question is, Is there an API set...
7
by: Steve M | last post by:
Hello, I'm having problems sending information from a python script to a printer. I was wondering if someone might send me in the right direction. I wasn't able to find much by Google TIA...
0
by: James Griffiths | last post by:
Here is a report I've written about a printing problem that is being experienced by a particular company for whom I had developed a A97 system. After upgrading to Win XP and AXP, some printing...
0
by: Mike | last post by:
I have an Intranet application that I need to print documents from. With C# is it possible to either create a component or web service that will get the users default printer and print the...
1
by: Karthic | last post by:
When i right click on the .rpt file in the VS 2003, i see a property printer setting. It says "No printer" on the top and there is option to select printer and paper settings etc.. I want to...
2
by: cjreynolds | last post by:
Please excuse my cluelessness on the subject - this is the first time I've worked with printing in VB (and it may be the last) and the more I work with it, the more confused I become... First, I'm...
4
ADezii
by: ADezii | last post by:
Recently, there seems to be several questions specifically related to Printers and changing Printing characteristics for Forms and Reports. For this reason alone, I decided to dedicate this week's...
9
by: id10t error | last post by:
Hello, I am going to be using a Symbol WT4090 to scan items. I need to printer a tag from the Zebra ql320 plus. I am trying to do this is Visual basic 2005. Does anyone know and good site 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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.