3 Replies Latest reply on Sep 16, 2014 10:29 AM by schmity

    Print to Specific printer with script

    schmity

      Title

      Print to Specific printer with script

      Post

      Windows / FM 13

      I am trying to write a script that prints something to a specific printer, not the default printer for the computer (without any user intervention).  I know the user could manually change this, but it leaves a lot of room for human error.  Is there a way to automate selecting a specific printer with a script?

      thanks!

       

        • 1. Re: Print to Specific printer with script
          philmodjunk

          You might consider the MyFmButler plug in.

          But your script should also be able to explicity specify a printer with the print setup and print script steps. The issues that typically arise is when one user needs the script to use "printer A" and another "Printer B". Then you end up with little print scripts that specify one specific printer with an IF block that selects which script to perform or a plug in in order to better control the printing process.

          • 2. Re: Print to Specific printer with script
            WBSimon

            I had a setup similar. You can set up scripts for each printer, page orientation, tray etc. Only works well with small offices with a small number of printers. I found that if you have to have at least two script steps for each print style/printer; "Print Setup" & "Print". As I recall, the default printer and print setup is changed each time you run the script, so it is important that you run a print script for each print job to eliminate problems. Maybe a little tedious, depending on your solution size, but it does work.

            • 3. Re: Print to Specific printer with script
              schmity

              Thanks!  It works exactly like you said.  It actually changes the filemaker default printer, which is unfortunate. It would be better if it just printed to the specified printer and left the default alone.

              I think I can make this work though.

              Appreciate the help!