J
Joel
Hello,
Here is some code I use to print a Word template. But how can I make it
print from a certain printer and print a certain # of copies?
Sub CommandButtonPilkRelease_Click()
Dim objDoc
Set objDoc =
GetWordDocPilkRelease("\\tgps8\drawing$\Jobs\Task_Templates\ReleaseGlass.dot
")
Call FillFieldsPilkRelease(objDoc)
objDoc.Application.Options.PrintBackground = True
objDoc.PrintOut
objDoc.Close wdDoNotSaveChanges
Call RestoreWordPilkRelease
Set objDoc = Nothing
End Sub
Here is some code I use to print a Word template. But how can I make it
print from a certain printer and print a certain # of copies?
Sub CommandButtonPilkRelease_Click()
Dim objDoc
Set objDoc =
GetWordDocPilkRelease("\\tgps8\drawing$\Jobs\Task_Templates\ReleaseGlass.dot
")
Call FillFieldsPilkRelease(objDoc)
objDoc.Application.Options.PrintBackground = True
objDoc.PrintOut
objDoc.Close wdDoNotSaveChanges
Call RestoreWordPilkRelease
Set objDoc = Nothing
End Sub