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.

Is there anyway to know if Printing was a success

Featured Replies

Hi,

I would like to log when a user prints out a report. Not too hard.

However, what if the printing doesn't happen? I logged it anyway.

is there a way to find out if the Report/layout was printed successfully?

thanks,

J__

You need a global field to trap error codes

then create this print script:

Enter Browse Mode

Allow User Abort [ Off ]

Go to Layout [ Print_Layout ]

Toggle Status Area [ Show ]{If needed}

Print Setup [ Restore setup options, No dialog ]

Enter Preview Mode

Pause/Resume Script [ "0:00:30" ]

Perform Script [ "PaperWarning**" ][ Sub-scripts ]

Print

Set Field [ _Error, Status( CurrentError) ]

Enter Browse Mode

If [ _Error = 0 ]

Perform Script [ "Log_Print" ][ Sub-scripts ]

End If

Toggle Status Area [ Toggle ]{If needed}

Go to Layout [ Original layout ]

The syntax might be a little different for V7.

The script goes to a print layout, shows the status area, enters preview mode, pauses for 30 seconds to preview the print, and then brings up the Print dialog box. If the user clicks OK (prints) the error trapped is "0" and the print is logged via another script. If the user cancels the print, nothing is logged. You could, however, log a cancelled print or run another script if needed.

...hope it helps...

  • Author

Great.

Thanks so much, I really appreciate it.

Would this also work for OS X ?

thanks again,

sincerely,

J__

Yes - this also works on the Mac side.

  • Author

Hi DykstrL,

I owe you an apology for not following up. I didn't notice you had responded... and I had some pressure over the last few days - if you can believe that <grin>

works the mac great!

thanks for the great tip.

Say, you wouldn't happen to know any good solutions for printing pdfs without distiller on Mac & Windodws would you? Just a thought.

thanks so much,

Sincerely,

J__

The PDF issue would be different for Mac and Win clients. You could script the process to check for which platform and run sifferent scripts for the different platforms.

In either case, you would need some kind of PDF printer (PDF995 works good for Windows machines) installed for each client.

  • Author

Hi,

thanks for the response. Yes, i was actually wondering if you knew of a good cross-platform PDF printing plug-in. Doesn't seem to be anyone who does both... except adobe (grin)

thanks,

sincerely,

J__

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.