April 14, 200322 yr I want to insert an id_number in a document only after it is printed and have that number increment by 1 for the next time the document is printed. How would I do this?
April 15, 200322 yr It depends upon what you mean by "after it is printed". If you really need to verify that readable, printed copy came out of the printer, you probably can't, unless you have a human check and acknowledge a dialog box ("Did the job print correctly?"). It is easy enough to add a step in a print script: Print() Set Field[PrintCntr, PrintCntr+1] or ask the user to check. Print() Show Message["Did the job print correctly?"] If [status(CurrentMessageChoice) = 1)] Set Field[PrintCntr, PrintCntr+1] End If -bd
April 15, 200322 yr If you're printing multiple records in the same print job, then put a loop around the SetField command and add a GoToRecord[Next, Exit after last] command in the loop as well.
April 15, 200322 yr Author Thank you guys. I appreciate your help as always and this was exactly what I was looking for. Thanks again.
Create an account or sign in to comment