hexagon logo

Printing reports with serial # as file name.

I output a PDF report for every part I check and I currently use auto indexing to name them. There is a report comment at the beginning of the program that asks for the serial # of the part. I was wondering if it's possible to instead have PC DMIS automatically add that same serial # to the end of the file name instead of the index #. This would be helpful if I need to find the report for a specific piece later. I know I could just manually type it in each time. I'm just looking for a more efficient method since the serial #'s are often over 20 characters and I never remember what it was at the end of the program and I'd rather not take it off the machine before viewing the report in case I need to remeasure something. Am I asking too much here?
Parents
  • You need to create assignments to build your file name/file path. Then you want to put that completed assignment name into the print command at the end of your program.
    There are many examples for building your file path with varied complexities in this forum.
    One of the best is on conditioning the output to display if the report has any outtol items.

    For the issue of 'work once' in post 5, I believe you set the title using the File>Printing>Report Window Print Setup, which you would then need to adjust every run unless you select 'Prompt'.
Reply
  • You need to create assignments to build your file name/file path. Then you want to put that completed assignment name into the print command at the end of your program.
    There are many examples for building your file path with varied complexities in this forum.
    One of the best is on conditioning the output to display if the report has any outtol items.

    For the issue of 'work once' in post 5, I believe you set the title using the File>Printing>Report Window Print Setup, which you would then need to adjust every run unless you select 'Prompt'.
Children
No Data