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

Print any doc ( .doc, .xls, .pdf, .jpg, .etc )

Hi,

I have a folder with many different document types ( .doc, .xls, .pdf, .jpg,
..etc )
how do I print them all?

I need to do this
loop
print next document
endloop
what are the ways of programmatically telling, M.S. Word for example, to
open the document and print it.
I can open the document but the verb to "print" is not available.

Also another possible way how do I send a document ( .doc, .xls, .pdf, .jpg,
..etc ) to the Print Queue in the Control Panel???

any other solutions please let me know.
I posted this on C# and no reply hoping B# people will

Thank you in advance,

SA
Mar 31 '06 #1
2 1927

"MSDN" <sq**********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a folder with many different document types ( .doc, .xls, .pdf,
.jpg,
.etc )
how do I print them all?

I need to do this
loop
print next document
endloop
what are the ways of programmatically telling, M.S. Word for example, to
open the document and print it.
I can open the document but the verb to "print" is not available.

Also another possible way how do I send a document ( .doc, .xls, .pdf,
.jpg,
.etc ) to the Print Queue in the Control Panel???

any other solutions please let me know.
I posted this on C# and no reply hoping B# people will

Thank you in advance,

SA

Them B# people can't do it either. However, the VB crowd can.
james
Mar 31 '06 #2
Hay James,

So what is your VB/VB.NET solution?

Thank you James.

SA

"james" <jj***************@earthlink.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

"MSDN" <sq**********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a folder with many different document types ( .doc, .xls, .pdf,
.jpg,
.etc )
how do I print them all?

I need to do this
loop
print next document
endloop
what are the ways of programmatically telling, M.S. Word for example, to
open the document and print it.
I can open the document but the verb to "print" is not available.

Also another possible way how do I send a document ( .doc, .xls, .pdf,
.jpg,
.etc ) to the Print Queue in the Control Panel???

any other solutions please let me know.
I posted this on C# and no reply hoping B# people will

Thank you in advance,

SA

Them B# people can't do it either. However, the VB crowd can.
james

Apr 3 '06 #3

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

Similar topics

12
by: Michael Foord | last post by:
Here's a little oddity with 'print' being a reserved word... >>> class thing: pass >>> something = thing() >>> something.print = 3 SyntaxError: invalid syntax >>> print something.__dict__...
14
by: Marcin Ciura | last post by:
Here is a pre-PEP about print that I wrote recently. Please let me know what is the community's opinion on it. Cheers, Marcin PEP: XXX Title: Print Without Intervening Space Version:...
0
by: bearophileHUGS | last post by:
There is/was a long discussion about the replacement for print in Python 3.0 (I don't know if this discussion is finished): http://mail.python.org/pipermail/python-dev/2005-September/055968.html ...
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: Steff | last post by:
I am wandering if my code is making sense... I use a lot the print function. Is it weird in this case where I have to display an array ? I thought it would be better to have the entire array in php...
3
by: James J. Besemer | last post by:
I would like to champion a proposed enhancement to Python. I describe the basic idea below, in order to gage community interest. Right now, it's only an idea, and I'm sure there's room for...
69
by: Edward K Ream | last post by:
The pros and cons of making 'print' a function in Python 3.x are well discussed at: http://mail.python.org/pipermail/python-dev/2005-September/056154.html Alas, it appears that the effect of...
2
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...
7
by: samslists | last post by:
Am I the only one that thinks this would be useful? :) I'd really like to be able to use python 3.0's print statement in 2.x. Is this at least being considered as an option for 2.6? It seems...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.