Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I have created a script that saves 3 layouts to a single pdf file by appending them. I just can not find a way to print the file after it has been saved. I know I can open it in a pdf reader and then print it but I want to bypass this step. I also want to save the pdf to the desktop and also a network location. Right now I have it save to a temp location. Here is the script. I sure someone can help me to make it better.

# Set Error Capture [ On ]

# Allow User Abort [ On ]

# Set Variable [ $path; Value:"file:temp.pdf" ]

# New Window [ ]

# Go to Layout [ “Kit Consegna” (Modulo Contratto) ]

# Save Records as PDF [ File Name: “$path”; Current record ]

# Close Window [ Current Window ]

# New Window [ ]

# Go to Layout [ “Modulo DEN” (Modulo Contratto) ]

# Save Records as PDF [ File Name: “$path”; Current record ]

# Close Window [ Current Window ]

# New Window [ ]

# Go to Layout [ “Vadecum” (Modulo Contratto) ]

# Save Records as PDF [ File Name: “$path”; Automatically open; Current record ]

# Close Window [ Current Window ]

Thanks

CPE1704TKS

Why not print as you go?

  • Author

The user will be asked where to print 3 times. They each have there own printer, so I can not set a default printer.

Well, Filemaker cannot open a .pdf file, let alone print it - so I believe you are looking at either OS-level scripting or a plugin.

You could set the file path to the 'Desktop' so users can easily find the file, perhaps also displaying a dialog to notify them that's where it is...

e.g in your script:

Set Variable [$path; Value:Get(DesktopPath) & "myfilename.pdf"

All the best...

  • Author

Thanks sky

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.