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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I interupt a windows print job?

Status
Not open for further replies.

dieselBREATH

Technical User
Mar 14, 2001
48
US
This should be simple, but I am just a beginner with VB.

When a user clicks "print" I want a box to pop up first that asks for two pieces of info. Once entered, the print job continues and the information is appended to an ASCII, Coma Delimited Text File located on a mapped network drive. The info could also be in the form of an Access data base.

Also, chooseing the mapped drive should be a part of the install. ( Since the drive letter could be different from machine to machine).
 
How are you Printing your document??
If you are using the Printer object in Visual Basic all you have to do is prompt the user for the infomation before you call the printer.enddoc. Otherwise just call the prompt for the information before you start the print, would that not also work? If not please provide more detail on what you are trying to do.
 
Well, Whenever some one wants to print something from within any windows program, I want this dialog box to pop up first and prompt the user for 3 pieces of info. Then when they click "ok" the print job proceeds and all the info that the user added along with the number of copies printed needs to be appended to an output file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top