473,513 Members | 2,397 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

QueryPageSettings and the Printing dialog box

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 add a button that cancels previous pages not yet sent to the
printer (when I figure how to do it)

Meanwhile there is a dialogbox visible (from DotNet or the driver - I don't
know which) advising what page is being printed and enabling the user to
cancel.

It's redundant. Is there a way to keep it from appearing?

Thanks,

BTW, does that boxes Cancel button cancel the entire job including what is
already spooled of just future pages?
Nov 20 '05 #1
2 1266
Sam,
Set the PrintDocuments PrintController to an instance of a
StandardPrintController. The default is a
StandardPrintControllerWithStatusDialog.

Ron Allen
" SamSpade" <st**************@REMOVEaol.com> wrote in message
news:Oi**************@TK2MSFTNGP10.phx.gbl...
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 add a button that cancels previous pages not yet sent to the
printer (when I figure how to do it)

Meanwhile there is a dialogbox visible (from DotNet or the driver - I don't know which) advising what page is being printed and enabling the user to
cancel.

It's redundant. Is there a way to keep it from appearing?

Thanks,

BTW, does that boxes Cancel button cancel the entire job including what is
already spooled of just future pages?

Nov 20 '05 #2
Perfect - thanks a lot

"Ron Allen" <rallen@_nospam_src-us.com> wrote in message
news:eW**************@TK2MSFTNGP12.phx.gbl...
Sam,
Set the PrintDocuments PrintController to an instance of a
StandardPrintController. The default is a
StandardPrintControllerWithStatusDialog.

Ron Allen
" SamSpade" <st**************@REMOVEaol.com> wrote in message
news:Oi**************@TK2MSFTNGP10.phx.gbl...
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 add a button that cancels previous pages not yet sent to the
printer (when I figure how to do it)

Meanwhile there is a dialogbox visible (from DotNet or the driver - I

don't
know which) advising what page is being printed and enabling the user to
cancel.

It's redundant. Is there a way to keep it from appearing?

Thanks,

BTW, does that boxes Cancel button cancel the entire job including what is already spooled of just future pages?


Nov 20 '05 #3

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

Similar topics

9
4084
by: Jody Gelowitz | last post by:
I am trying to find the definition of "Safe Printing" and cannot find out exactly what this entitles. The reason is that I am trying to print contents from a single textbox to no avail using the PrintDialog control under a security setting with only SafePrinting allowed. I have attached a sample project that I am using to try to accomplish...
0
736
by: SamSpade | last post by:
What if in QueryPageSettings you decide that you do not want to print the page but want to continue printing the rest of the pages. I could set a flag and in PrintPage not output anything but it still bumps the page counter (as shown in Printer and Faxes display) and I don't know what else that might do. Any suggestions?
0
791
by: SamSpade | last post by:
What if in QueryPageSettings you decide that you do not want to print the page but want to continue printing the rest of the pages. I could set a flag and in PrintPage not output anything but it still bumps the page counter (as shown in Printer and Faxes display) and I don't know what else it might do. Any suggestions?
2
1500
by: Just Me | last post by:
When I print QueryPageSettings gets called a few times before PrintPage is called. I just occurred to me that the problem may be that I do AddHandler each time I print. Is that wrong? If so, is there something I can check to see if a handler has already been added?
1
5686
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out of a Microsoft book, "Visual Basic,Net Step by Step" in Chapter 18. All but the bottom two subroutines will open a text file, and then allow me...
3
3684
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 print the current contents of the browser without bringing up the print dialog. At first I thought it was a simple matter to have the button's...
1
5062
by: Dreamtime | last post by:
Hi I am using Visual Studio 2005 and the bundled Crystal Reports (previously I used .net 2003 and bundled Crystal Reports for 2 years - same issues!) I have a report which is displayed in the crystal reports viewer. This report needs to be printed. Its that simple! I would like to use the report.printtoprinter method as this is direct
6
4072
by: Siv | last post by:
Hi, I am getting into printing with VB.NET 2005 and want to implement the usual capability that a user can select a selection of pages. I have a report that is generated by my application that if the user wants all pages will produce 3 pages. I want to offer the user the ability to select via the print dialog that only pages 1 and 2 of it...
2
22102
by: Brad Pears | last post by:
I have some sample code that uses the print dialog, print preview and a print direct options. If I select print preview and then click the printer icon from that, the document prints. If I select the print directly option, it also prints right away to the defauilt printer. However, if I use the printer dialog control to print and I click...
0
7559
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7123
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5701
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4756
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
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 we have to send another system
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
470
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.