I am using vb.net. and sql server 2005 reporting services. But the report in question uses the local report functionality.
I am writing a credit card processor that prints a slip at the end of the transaction. There is an annoying message form that pops up on the screen stating that it is "Printing Page 1 of Document" . It seems to be beyond my reach. Its position is the typical windows auto positioning (ala cascade). I dont want the user to see it.
How do i surpress this printing message Is it embedded in the printer driver or spooler services Is it surpressable from the reporting services local report configuration
Thanx

surpressing the "Printing page 1 of Document" message
Ritesh305
Thank you
This works!
Coder4Christ
JerryCic,
Are you writing the printing message in VB.NET Do you mean you want to make sure whether you can surpress the reporting services into local report configuration I am afraid that I cannot understand your meaning exactly.
Could you just give me your sub in VB.NET or tell me the problem in your program Waiting for your reply.
ippological
cgn
JerryCic,
Sorry to reply you for quite a long time because I am in charge of the posts during two to seven days. Could you tell me how is your pproject going and what about your problem now
In your description, there is a strange message box shows the process of printing. I don't think it is difficult for you to eliminate this MsgBox. What about your printing function now Is there still some problem
Waiting for your reply.
RS2007
PrintDocument1.PrintController =
New System.Drawing.Printing.StandardPrintController()ppd.Document = PrintDocument1
PrintDocument1.Print()
' As opposed to the PrintControllerWithStatusDialog
Jayaram Krishnaswamy
Hi!
Thank you for your responce.
I create a form and drop a button and a printer document on it. when i click on the button, the following code is executed.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.PrintDocument1.Print()
End Sub
Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
e.Graphics.DrawString("This is a test", Me.Font, Brushes.Black, 5, 5)
e.HasMorePages = False
End Sub
End Class
The result is that the document prints. this is good. But in the process, a message box titled "Printing" displays indicating that the document is printing. I wish to not show that message.
Here is a screenshot of the undesirable message.
http://www.acornway.com/microsoft/Issue.JPG
vijaygill
Yes I still have the problem. This is not a strange message box, It is quite normal. i just dont want to see it.
If you read my second post above and either try it or click on the link to the screen shot. You will see the box i am trying to get ridd of.
Thanx
Jerry Cicierega