Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Is there anyway to know if Printing was a success


This topic is 7310 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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__

Posted

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...

Posted

Great.

Thanks so much, I really appreciate it.

Would this also work for OS X ?

thanks again,

sincerely,

J__

Posted

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__

Posted

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.

Posted

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__

This topic is 7310 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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