PrSw_PrintSetup("setup_allow_user_override") not working

Jason Tallman's Avatar

Jason Tallman

11 Jun, 2014 02:41 PM

What is the proper order of script steps to get PrSw_PrintSetup("setup_allow_user_override") working. Currently I'm calling in the following order

PrSw_SelectPrinter ( $printername )
PrSw_PrintSetup("restore|" &$thePrintSetup)
PrSw_SetPrintCopies( 1 )

This has all been working perfectly for 2 years. One of our customers wants to sometimes override the print dialog to switch a printer just temporarily for one print job so I added PrSw_PrintSetup("setup_allow_user_override") after PrSw_SetPrintCopies( 1 ) thinking that would allow them to change things for that one print. But it disregards his changes and still prints to the restored print setup and script selected printer. We are using the latest version of PrinterSwitch

  1. Support Staff 1 Posted by Support on 16 Jun, 2014 06:49 AM

    Support's Avatar

    Hi Jason,

    I did some tests before the weekend and I couldn't get it to work either. I'm going to check with the developer to see what's going on.

    We're sorry for the inconvenience.

    Kind regards,
    Jasper

  2. 2 Posted by Jason Tallman on 24 Jun, 2014 08:17 PM

    Jason Tallman's Avatar

    Jasper an progress on this issue. This is creating a real problem for me.

  3. Support Staff 3 Posted by Support on 27 Jun, 2014 09:27 AM

    Support's Avatar

    Hi Jason,

    The developer is looking at the problem.

    Which operating system and FileMaker version are you using if I may ask?
    And are you using PrinterSwitch 2.2 or an older version?

    Kind regards,
    Jasper

  4. Support Staff 4 Posted by Support on 03 Jul, 2014 12:50 PM

    Support's Avatar

    Hi Jason,

    Can you try adding PrSw_PrintSetup("setup_unlock") just before PrSw_PrintSetup("setup_allow_user_override")?
    That line should fix the issue your having.

    We're going to change our documentation and add this step too.

    We're sorry for the inconvenience.

    Kind regards,
    Jasper

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac