Automatic Printing to a File Name in Windows

  • Thread starter Thread starter JimR
  • Start date Start date
J

JimR

I have read the article "kbprint KB119256", in Microsoft
KnowledgeBase, which explains how to setup
a path and file name for a printer that basically has a FILE port
type.

I am wondering if it is possible to have the filename change
dynamically. For example: append some sequence counter. The idea
being
that in a multiple-user network many users printing to the same
printer would not overlay each others files. The prefix would be
consistent: "\\server\path\fileXXXX.txt" where XXXX will be the
result
of some sequence counter generated by Windows automatically.
 
Having read the article, you should have seen this in the Additional
Information section.

"Windows NT stores all the user-defined print information in the
registry; it does not allow you to modify an .ini file to disable the
pop-up messages prompting for a file name from program."

Using that info, and being crafty. you could then "merge" any filename
changes to the registry entry where you found the unique filename you
created when you made the original entry. You could then use a batch
file to create your "new" registry reg file for the next round.
 

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

Back
Top