473,320 Members | 1,974 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,320 software developers and data experts.

PrintDocument.Print - how to stop 'Printing' dialog box from showing.

How do I stop or hide the 'Printing' dialog box from showing when the method
PrintDocument.Print is invoked?
Nov 15 '05 #1
3 12069
Hasani,
Set the PrintDocument's PrintController to StandardPrintController.

Ron Allen
"Hasani" <HJ****@hotmail.c0m> wrote in message
news:x%*******************@twister.nyc.rr.com...
How do I stop or hide the 'Printing' dialog box from showing when the method PrintDocument.Print is invoked?

Nov 15 '05 #2
Hasani,
Set the PrintDocument's PrintController to StandardPrintController.

Ron Allen
"Hasani" <HJ****@hotmail.c0m> wrote in message
news:x%*******************@twister.nyc.rr.com...
How do I stop or hide the 'Printing' dialog box from showing when the method PrintDocument.Print is invoked?

Nov 15 '05 #3
jabol
1
Hello,

It was just was I was looking for, but only partially. How can I stop the Printing dialog box from showing when the document is prepared to preview using PrintPreviewControl? Setting PrintController works only for Print method. Just before the preview, dialog box always shows.

Thanks!
Jabol
Hasani,
Set the PrintDocument's PrintController to StandardPrintController.

Ron Allen
"Hasani" <HJB417@hotmail.c0m> wrote in message
news:x%wWa.81794$852.21115@twister.nyc.rr.com...[color=blue]
> How do I stop or hide the 'Printing' dialog box from showing when the[/color]
method[color=blue]
> PrintDocument.Print is invoked?
>
>[/color]
Jul 4 '06 #4

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

Similar topics

16
by: Neo Geshel | last post by:
I'm helping on a web site, and it's got our knickers in a knot. We're using the same basic CSS files (with mods) and same headers as from our other sites, but the "print preview" won't work...
0
by: Hasani | last post by:
How do I stop or hide the 'Printing' dialog box from showing when the method PrintDocument.Print is invoked?
2
by: trint | last post by:
I want to do something like this to interrupt the print process (But this does not work because the error is "cannot implicitly conver type void to bool"): while(pd.Print()) { pCounter++; ...
2
by: SamSpade | last post by:
In QueryPageSettings I tell the user to do things like reinsert a sheet to print on the other side. I also let him optionally cancel printing that page. Or the rest of the pages. Probably...
1
by: mark | last post by:
For the following document print handler I would like to enable changing the font with some external event. The font dialog returns a font, but I don't understand how to equate that return with...
1
by: mivey4 | last post by:
I have a project for which I need to print the contents of a richtext box to the printer. In VB6 this was a very simplified task but in VB.NET it seems to be noted as a more complicated technique....
1
by: Fox | last post by:
How to hide the printing dialog box during printdoucment.print() called?
0
by: Larry Page | last post by:
I have a need to auto print a form when the user clicks the submit button, then clear the form. The problem is the print dialog is appearing after the server side code has already cleared the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.