Hi
We have a ASP.net app which calls into a web service which allow users to
print stuff. At the moment they have to specify the printer. Apparently
this is too much for our users, so I was wondering if there's a way of
getting the default printer from their user profile?
TIA
Glenn 5 1987
Are you saying that you want a remote application to make a call to the
client's default printer and print something on it? That would be a Security
nightmare.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries: http://www.miradyne.net
"Glenn" <gl**********@yahoo.co.ukwrote in message
news:el****************@TK2MSFTNGP05.phx.gbl...
Hi
We have a ASP.net app which calls into a web service which allow users to
print stuff. At the moment they have to specify the printer. Apparently
this is too much for our users, so I was wondering if there's a way of
getting the default printer from their user profile?
TIA
Glenn
Kevin
Your right of course, but in this case the application server and clients
all reside within a single domain and are authenticated by the application.
Thanks
Glenn
"Kevin Spencer" <un**********@nothinks.comwrote in message
news:e1**************@TK2MSFTNGP03.phx.gbl...
Are you saying that you want a remote application to make a call to the
client's default printer and print something on it? That would be a
Security nightmare.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries: http://www.miradyne.net
"Glenn" <gl**********@yahoo.co.ukwrote in message
news:el****************@TK2MSFTNGP05.phx.gbl...
>Hi
We have a ASP.net app which calls into a web service which allow users to print stuff. At the moment they have to specify the printer. Apparently this is too much for our users, so I was wondering if there's a way of getting the default printer from their user profile?
TIA
Glenn
I meant "You're"
"Glenn" <gl**********@yahoo.co.ukwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Kevin
Your right of course, but in this case the application server and clients
all reside within a single domain and are authenticated by the
application.
Thanks
Glenn
"Kevin Spencer" <un**********@nothinks.comwrote in message
news:e1**************@TK2MSFTNGP03.phx.gbl...
>Are you saying that you want a remote application to make a call to the client's default printer and print something on it? That would be a Security nightmare.
-- HTH,
Kevin Spencer Microsoft MVP
Printing Components, Email Components, FTP Client Classes, Enhanced Data Controls, much more. DSI PrintManager, Miradyne Component Libraries: http://www.miradyne.net
"Glenn" <gl**********@yahoo.co.ukwrote in message news:el****************@TK2MSFTNGP05.phx.gbl...
>>Hi
We have a ASP.net app which calls into a web service which allow users to print stuff. At the moment they have to specify the printer. Apparently this is too much for our users, so I was wondering if there's a way of getting the default printer from their user profile?
TIA
Glenn
"Glenn" <gl**********@yahoo.co.ukwrote in message
news:OT**************@TK2MSFTNGP05.phx.gbl...
"Glenn" <gl**********@yahoo.co.ukwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>Kevin
Your right of course, but in this case the application server and clients all reside within a single domain and are authenticated by the application.
When you talk of a 'single domain', I'm assuming you mean a corporate
intranet...?
If so, you *might* be able to write an ActiveX control which would need to
run on each client machine - however, you'd have to seriously ramp down your
security just to even get it to download and install, never mind run...
Mark
Yep, it's an intranet app and the ActiveX idea is a no go because of group
policy.
I had a feeling it wasn't meant to be.
Thanks anyway.
Glenn
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:Ol**************@TK2MSFTNGP05.phx.gbl...
"Glenn" <gl**********@yahoo.co.ukwrote in message
news:OT**************@TK2MSFTNGP05.phx.gbl...
>"Glenn" <gl**********@yahoo.co.ukwrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...
>>Kevin
Your right of course, but in this case the application server and clients all reside within a single domain and are authenticated by the application.
When you talk of a 'single domain', I'm assuming you mean a corporate
intranet...?
If so, you *might* be able to write an ActiveX control which would need to
run on each client machine - however, you'd have to seriously ramp down
your security just to even get it to download and install, never mind
run...
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Pablo |
last post by:
Friends,
how can i get the name of the default printer??. I'm
working with winforms. VB,C#, nevermind.
Thanks a lot
Pablo
|
by: Geraldine Hobley |
last post by:
Hello,
How would you get and set the current default printer by using the
system.drawing.printing class or any other class.
Regards
Geri
|
by: Geraldine Hobley |
last post by:
Hello,
I have the following code that sets the default printer using the WMI
(windows management system).
' Add a Reference to System.Management
Dim moReturn As...
|
by: Panos |
last post by:
Hi, is there a way that i could get the default printer of the system? I'm
using VB.net 2001. There is a function in SDK called "GetDefaultPrinter", but
i don't understand how to use it.
|
by: Karthick_Microsoft |
last post by:
Actually, in my ASP.Net application, i have a requirement of
automatically changing the default printer. I did a OCX using VB and
put it on the web page. The client machines do not have local...
|
by: sathyp |
last post by:
Public Function SetPrinterDefaultsW(ByVal sPrinterName As String, _
ByVal nPaperSize As Long, ByVal nOrientation As Long) As Boolean
Dim Prn As Printer
Dim hPrinter As Long
Dim pd As...
|
by: nevlek |
last post by:
My boss one day ask if I can create a web site in intranet to let user
install printer as well as set it as default themselves without IT's help. I
have done some research and brain storming with...
|
by: Mark Rae |
last post by:
Hi,
I have used the code below to return the default printer in 32-bit WinXP
Pro, but now that I am running 64-bit Vista Business I'm getting an error:
using System.Drawing.Printing;
using...
|
by: evenlater |
last post by:
I have an Access application on a terminal server. Sometimes my users
need to export reports to pdf, rtf or xls files and save them to their
own client device hard drives.
They can do that right...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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,...
|
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: 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...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |