Addam Posted July 13, 2001 Posted July 13, 2001 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~
jorix Posted July 19, 2001 Posted July 19, 2001 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.
JW Posted July 19, 2001 Posted July 19, 2001 Or look at www.productivecomputing.com and see the 'Change Printer Plug-in'
John Wallace Posted July 21, 2001 Posted July 21, 2001 I don't think the print setup function remembers what printer it uses. I can't get it to work like that.
BobWeaver Posted July 21, 2001 Posted July 21, 2001 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.
markpro Posted July 22, 2001 Posted July 22, 2001 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!!!
cjaeger Posted April 29, 2003 Posted April 29, 2003 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 ,,,,
Ugo DI LUCA Posted April 29, 2003 Posted April 29, 2003 Hi, ...and Bob is too modest link for Mac with Applescript
BobWeaver Posted April 30, 2003 Posted April 30, 2003 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.
Recommended Posts
This topic is 7870 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 accountSign in
Already have an account? Sign in here.
Sign In Now