Word Automation printing question

B

Bikini Browser

Hello and thank you for reading my question... I'm not a programmer. I am
only doing the research for my team.

I have a MS Access 2003 application....

Step 1: I am merging data from MS Access to Word, and this is fully
automatted. It works fine.

Step 2: I want to automaticaly print that final merged document to a
specified printer (not the default printer) without any print preview of any
kind. (I don't know how to do this step.)

In other words...
From the MS Access application, click one button and the merge happens, then
I want it to print the merged document to a specified Printer.

I don't know how to do that.

Does any one have a KB Artical with sample code to help me with my
requirements?

Thanks in advance....
Dale in San Juan Puerto Rico.
 
A

Alex Ivanov

doc.Application.ActivePrinter = "HP LaserJet IIISi on \\printers\laser"
doc.printout
 

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