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

printing without dialog

Hi i have already create an interface which allow me to print a document. but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out the
printerdialog ??

Does it matter if my printer is connected USB or parallel port? do i need
different method to do it?
Nov 21 '05 #1
4 1941
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

Hi, thanks for the info

but how do i specific which printer i am going to print?

I am using multithreading method to print a same document to 8 different
printers

"Herfried K. Wagner [MVP]" wrote:
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4

Hi, thanks for the info

but how do i specific which printer i am going to print?

I am using multithreading method to print a same document to 8 different
printers

"Herfried K. Wagner [MVP]" wrote:
"notregister" <no*********@discussions.microsoft.com> schrieb:
Hi i have already create an interface which allow me to print a document.
but
i would like to skip the print dialog, which mean that while i click on a
self implement button x, i am able to print that document out.

For ur info, i have already stored the document path and name under a
variable string, how can i point this to the printer without calling out
the
printerdialog ??


This depends on the implementation of the application's print functionality.

Printing files of various types without user interaction
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=printinganyfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

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

Similar topics

9
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...
2
by: Adam Hulbert | last post by:
Hello there, I am quite new to .NET development so please forgive my question if it is trivial. I am trying to print a IHTMLDocument2 object in c# without spawning a dialog box, because the...
3
by: aniljain50 | last post by:
Hi All, I have a web form. let's say it has 3 fields. Employee No, Name ansd salary. Now my problem is I want to print the contents of this screen to a local printer. Note that this is client side...
2
by: LilBuh | last post by:
hi there :) i ve been looking for some time a way to print an html file from vb.net i came up with this code for printing and removing the header and footer from IE then once the printing is done...
0
by: LilBuh | last post by:
Hello :) this is a repost... i ve been looking for a way since last week ... i have a template html file that i modify from my code... i need to print this file without IE's Header and Footer or...
1
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...
1
by: hellohez | last post by:
We are currently looking into triggering printing of an HTML file to a designated printer in such a way that the print dialog box is not viewed. It is possible to use the print method of a default...
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...
6
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
1
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...
1
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.