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

Home Posts Topics Members FAQ

Print without showing dialog

26 New Member
Hello fellow developers!

I want to print from a webpage without showing any kind of dialog. After some research some ppl say it´s impossible and som say it´s not. In fact I have seen it be done with help of an activex controler.

Anyways do anybody know how to do this with c#? I have gotten an activex control working but when i want to print i run in to some security issues, can u by pass theese?

Thanks for help!
/Krille
Feb 4 '08 #1
3 1468
radcaesar
759 Recognized Expert Contributor
There will be nothing impossible in the developer world. We have to do some work-arounds to achieve.

Here is the one,

http://forums.microsoft.com/MSDN/ShowPost.aspx?PageIndex=1&SiteID=1&PageID=1&PostID =2774045
Feb 4 '08 #2
krille
26 New Member
What you say is true, nothing is impossible...

However i cant install something on the client wich makes this solution useless to me.

I need to print from browser without any dialog showing and i cant install anything on the machine gotto be directly from web page. Its gonna be used to print "name tags" for participants on events when they arrive.

Somebody else know some solution to my problem?
Feb 4 '08 #3
krille
26 New Member
The error i get when trying to print from activex is:
"Request for the permission of type 'System.Drawing.Printing.PrintingPermission' "
Feb 4 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: cefrancke | last post by:
I have a custom toolbar for users during any preview of a report launched by a button click on a form. I would like to add a toolbar button to launch the Print Dialog (like 'Ctrl-P' or...
7
by: Frank | last post by:
Guys I have got an exe which takes a printername and file(s) as arguments for printing. This is running fine on the local machine (printing to a network printer from the local machine) Can I...
3
by: John Peterson | last post by:
Hello all! I'm at my wits end trying to search for what I assumed to be a relatively straightforward task. I have a Web application written in C#, and I have a button on the form that I want to...
1
by: Alba López | last post by:
Hi, I want to print a webform directly to the default printer, without showing the user the print dialog box. I used to do it with window.open and it worked as I wanted to, but after installing...
1
by: henning | last post by:
Hello, I'm involved in the development of a set of web pages that are meant to be used on touch screens. We use ordinary HTML, PHP and javascript for the pages. I wold prefer a serverside...
1
by: jasone | last post by:
I have various print buttons that allow the database users to print reports, the database has been created so none of the normal access background is showing, just the form. currently when the...
1
by: anne marie via DotNetMonster.com | last post by:
hello. im using ProcessStartInfo to print ms word files (coz this is the only way i could print it). but it is being printed directly without even showing the print dialog. is there a way to show...
1
by: Jorgen Bodde | last post by:
Hi All, I am at a loss. This is slightly OT because it concerns Windows and HTML printing. I would like to print a HTML document from Python, but not showing the printing dialog. After numerous...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
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 ...

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.