Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print to file, using wildcard to form filename

Status
Not open for further replies.

Jase1971

Technical User
Dec 7, 2004
1
GB
Hello

I am able to set up a new local pinter port that prints to a specified file name i.e. c:\printjobs\myfile.prn but is there a way to use a variable file name along the lines of myfile(time).txt (where time inserts the actual time). Reason being we would have many users printing to this printer and each job over writes the previous and would like a way to keep each print job unique without the need to enter in a filename everytime we print. Thanks.
 
Can't you do some kind of concatenation in the name, along the lines of

filename = "myfile" & time & ".prn"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top