July 13, 200124 yr Is there a way to change printers in a script. Ex: I want to create a button that will print the current view in PDF, And another button to print to the local printer. We have atleast 5-7 printers (not including Adobe) and it'a a pain to sift through these printers. can anyone help? ~Addam~
July 19, 200124 yr Sure, no problem. All you have to do is setup a printer, create a script that does a print setup step with restore setup options on. Repeat these steps for each printer you have (7 printers is not that much, believe me, we have about 30 to 40 printers in the building) and your done.
July 21, 200124 yr I don't think the print setup function remembers what printer it uses. I can't get it to work like that.
July 21, 200124 yr Correct. Filemaker (and most applications in general) don't have control over which printer is selected. They can only change attributes related to page layout, size orientation, etc. It's an operating system issue. So, to switch printers, you will need an external utility or plug-in such as the ones mentioned above . You can also check out Winbatch which provides Applescript-like scripting ability on Windows machines.
July 22, 200124 yr Bob is correct. It is a windows issue. I used to use Winbatch to solve this problem, but you had to pause the script long enough to allow Winbatch to modify the Windows Registry. I now have been using Productive Computing's plug-in for a couple of years now. Works flawlessly! Very Simply! Can't Say Enough!!!
April 29, 200322 yr it's based on changing the registry. elegantly made, because it is set up for different versions of FileMaker. Another tip here: When you are using StandardUS-Letter Portrait, you can set custom page margins of about 1 cm, that shoud fit most printers. Only the landscape and scaled printouts have to be cusomized ,,,,
April 30, 200322 yr Ugo, I wasn't trying to be modest. My ego is just as big as anybody's. I had somehow assumed that the system in question was Windows, so I didn't bother mentioning the Applescript method.
Create an account or sign in to comment