Jump to content

Trapping Printer Conditions


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

Recommended Posts

If you hit the cancel button on the Print dialog box while in a script, your script should drop down to the next step.

Personally, I tried not to allow my users to cancel print job in a script. I use the no dialog option. What I do is to take them to a report review, and script a print option into the process.

HTH

[This message has been edited by WBlanchard (edited February 13, 2001).]

Link to comment
Share on other sites

Use the script step "Allow User Abort (Off)" this will let people cancel out of print dialogs but stops the goofy "Cancel-Continue Script?" dialog that usually pops up and confuses users.

Link to comment
Share on other sites

Thanks san Jose and Sydney.

Unfortunately, hitting OK also drops down to the next step in my script.

I have a routine that prints an invoice. After printing, the records are marked as printed, the reason being that reprints of the invoice have to be marked with COPY (by law). If the user decides not to print, the records still get marked.

You may suggest adding a 'confirmation' routine, on the lines: "did the invoice print OK?", marking the records accordingly. However, the application prints to a print file, so the printing is 'asynchronous' anyway.

I have a feeling I'm looking for an external function here, which, of course, I don't have. Any offers?

Link to comment
Share on other sites

Status(CurrentError)=1 indicates that the user cancelled the operation

Status(CurrentError)=600 indicates a general print error

Status(CurrentError)=603 indicates that the printer connection was lost.

You can check for any of the 3 conditions to see if the print operation was unsuccessful.

The error codes are listed in the Filemaker help file.

Link to comment
Share on other sites

This topic is 7843 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
 Share

×
×
  • Create New...

Important Information

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