473,411 Members | 2,093 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,411 software developers and data experts.

Print to printer without opening print box

Hi,

I need to print stuff on the default printer on the click of a button
without opening the print box opening up. Any pointers?
Jul 21 '05 #1
2 2275
Piyush,
What do you mean by 'print box opening up'? If you are referring to the
small progress dialog you can make this go away by setting the
PrintController of the PrintDocument to an instance of
StandardPrintController.

Ron Allen
"Piyush" <Pi****@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.com...
Hi,

I need to print stuff on the default printer on the click of a button
without opening the print box opening up. Any pointers?

Jul 21 '05 #2
Hey thanks Ron,

I did try that out and it works alright... Although I am now using an
ActiveX component for acrobat reader (as the files i need to print are only
pdf files)

"Ron Allen" wrote:
Piyush,
What do you mean by 'print box opening up'? If you are referring to the
small progress dialog you can make this go away by setting the
PrintController of the PrintDocument to an instance of
StandardPrintController.

Ron Allen
"Piyush" <Pi****@discussions.microsoft.com> wrote in message
news:9C**********************************@microsof t.com...
Hi,

I need to print stuff on the default printer on the click of a button
without opening the print box opening up. Any pointers?


Jul 21 '05 #3

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

Similar topics

5
by: Alan | last post by:
While not rs.eof <td><%=rs("InvoiceNo")%></td> <td><%=rs("Name")%></td> <td><a href="InvoicePrint.asp?WInv=<%=rs("InvoiceNo")%>"></a></td> <td>Print this invoice</td> rs.MoveNext Wend Now...
7
by: avnit | last post by:
I can't seem to figure out how to print with my printer using python. I'm using Mac OSX 10.4. I was thinking maybe something with applescript. Does anyone know?
3
by: Piyush | last post by:
Hi, I need to print stuff on the default printer on the click of a button without opening the print box opening up. Any pointers?
6
by: moony marouane | last post by:
Hi Everybody I have a problem opening a file with ADODB.Stream when <HTML> exists on the same page here is the code I use : =================================== <HTML> <%
1
by: ccherlet | last post by:
I'm trying to create a print link that sends the page to the printer without opening the print dialog box on the browser. I know that window.print() will open the print dialog and then the user...
3
by: getmeidea | last post by:
Hi All, In javascript i am using the code window.print(). It opens the printer dialogue box and user has to confirm. I need the code to print the page directly without promoting Printer Dialogue...
0
by: EricJudge06 | last post by:
We are converting some reports from Crystal Reports to Microsoft SQL Reporting Services (SSRS) in an ASP 2.0 VB.Net web app. Crystal had a function called PrintToPrinter which was being used to...
2
by: ozipos | last post by:
I am trying to print text to a docket printer with the following command printer.print "trying to print" but I keep getting an error. Actually I want to print special keys so that the cah draw...
10
by: Snoopy33 | last post by:
I have a DB that I developed on access XP (2002) and deployed over a year ago. No one has had problems printing any of the reports within the DB until we started loading 2007 on new computers. ...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
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...

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.