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

Ah, yes.

I should just do a search for all records that have letters printed for that day, and set them to print. I think the script could be quite extensive, though, because I have over 38 letters. Each letter has its own print date field. I just thought that someone might have a little shortcut.

Thanks for your help

Ken

There is a challenge here: the OS considers printing successful if it is spooled to the disk for background printing. If there is a paper mis-feed or something (or the pages are accidentally shredded by somebody) FMP has no way of knowing.

I suggest scripting the process. After the print dialog, bring up a "Show Message" that asks if the letters have printed correctly. If yes, mark them done. If no, offer to print them again.

  • Author

Thanks for continually helping me, Vaughan.

I like your idea of a message asking if they printed correctly. The only problem is that right now I have a script with several sub-scripts - one for each letter. When a given sub-script finds records that match the find criteria, it marks a field for each letter, and another for its print date. Then it moves on to the next sub-script for the next letter. What I was thinking of doing was have another script that searches the records for letters that printed that day, then printing them. What do you think??

Thanks,

Ken

Is there a way for people to re-print the letters if (when) the dog eats them? Easily? Really easily? If not, then I'd NOT mark them "done" until the user says so.

  • Author

I see your point.

Ken

  • Author

A thought occurred to me the other day. And since this is the best forum site on the Internet, I thought I would ask you guys.

In my solution, a button is clicked to trigger a script to print letters automatically. I was thinking that there might be a problem with the printer, and the print job would be messed up. Has anyone thought of a useful way to re-print jobs that have just occured??

Have you tried clicking the button again?

OK, assuming the script also does something to the records so that they don't print again...

Create a "LetterSent" field that returns the date in which the letter was printed. Have the script enter the current date in that field. That way, you can find the latest batch and reprint. (I'll leave the actual scripting to you).

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.