Print grouping or batching

R

Ron

I have an automated merge process that creates many
separate word documents. Flexible paragraphs from another
database are added to individual documents using the magic
of VBA. This requirement eliminates the ability to merge
all documents into a single output. Each of the
individual documents needs to be printed to a network
printer. The printer is not dedicated to this task and
other print requests end up interspersed in the print.

In VBA is there a way to keep all of my print together?
Can I open a spool, loop through printing all documents,
close the spool? I also thought that I could create and
append to a PRN file, but I have not found out how to
automate sending the PRN to a network printer.

I am using Word 2000 9.0 on Windows 2000
 
D

Doug Robbins - Word MVP

Hi Ron,

See the article “Print all documents in a given folder to a single print
file” at:

http://word.mvps.org/FAQs/MacrosVBA/PrintAllDocsInFldr.htm


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
R

Ron

Doug, Thanks for the pointer to the code that generates
the PRN file, but how do I get the resulting PRN file to
my network printer within the automation?

I have seen some articles that discuss capturing the LPT1
printer, but they seem to be referring to NetWare. My
printers are controlled by Windows 2000 Server networks.

Ron
 

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