0 Replies Latest reply on May 12, 2016 6:20 PM by rtolliver

    Report Printing Issue: 2 reports are printed with 1 selected in the print dialog box

    rtolliver

      I have a print report script that's been working for the past 3 month but now for some unknown reason I'm having problems printing a single copy.

       

      Script:

      Print Setup[Restore; No dialog]

      Enter Preview Mode []

      Set Variable [$path; Value; Get (TempoaryPath) & "Inventory 2 Report.pdf"]

      Save Records as PDF [Restore; No dialog; "$path"; Automatically open; Records being browsed]

      Show Custom Dialog ["Print Report?" "Return to Print Layout"]

      If [Get (LastMessageChoice ) =1]

       

      End If

       

      This script creates a pdf file that is opened with the Mac Application "Preview" and in Preview;

      • File -> Print
      • Print Dialog
      • Printer: is selected
      • Copies; is selected (always one)
      • Print
      • Return to FileMaker Pro
      • Click "Ok" to Return to Print Layout