Word-to-prn

W

Word-to-prn

I need to convert the Doc(word) file to Prn file through any programming
language. Could you please advise me how to convert doc to prn(or)ps without
manual interaction (Or) Is there any third party tool available for this.

Thanks in advance
 
D

Doug Robbins - Word MVP

Use the following VBA command

ActiveDocument.PrintOut _
Background:=False, _
Append:=False, _
OutputFileName:="c:\myfile.prn", _
PrintToFile:=True


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top