Home All Groups Group Topic Archive Search About

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

Author
31 Mar 2006 1:25 AM
MSDN
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

Author
31 Mar 2006 1:38 AM
james
Show quote Hide quote
"MSDN" <sql_agent***@hotmail.com> wrote in message
news:%23e6P5HGVGHA.224@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
Author
3 Apr 2006 1:35 AM
MSDN
Hay James,

So what is your VB/VB.NET solution?

Thank you James.

SA

Show quoteHide quote
"james" <jjames700REMOV***@earthlink.net> wrote in message
news:%23uPpFPGVGHA.4960@TK2MSFTNGP10.phx.gbl...
>
> "MSDN" <sql_agent***@hotmail.com> wrote in message
> news:%23e6P5HGVGHA.224@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
>
>