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
 
Top