Thomas Seidler Posted January 29, 2003 Posted January 29, 2003 Mmmm... I've already put this on the printing section, but I think it would be more appropriate here. I've already read some fine stuff by the brethren on 'choose printer via applescript', and I was just going to add this to that. But it ain't quite the problem. I've worked out the printer switching, but I WANT MORE. I want what I got from OS 9 with the Use Printer OSAX which is still in my opinion the mutts walnuts. It is the bomb. But I recognise I may be forced to go OS X so I'm trying to get prepared for the painful transfer. Here is my blurb: I have repeatedly been told that OS X (I now have 10.2.3 installed on one of my 10ish machines) has got all the features of OS 9's brilliant osax 'Use Printer'. This is the reason given as to why this osax has not been developed for OS X. But I don't reckon this is the whole truth. MY OS 9 APPLICATION OF 'USE PRINTER' OSAX 1. I saved 2 settings for ONE printer: 'multipurpose' and 'upper tray' - which both printed from their different respective trays. 2. All printing could therefore be done without dialog boxes and 100% accurate. Before the [print(no dialog)] script step, I would place a [perform applescript("tell application "Finder" use printer 'multipurpose' {or 'upper tray'} end tell")]. I still have this in place, though it is rather more developed now. You can imagine how easy it would be then to print off orders that had a field containing 'URGENT' on coloured paper and thus making sure they could be picked out from among the hundred of plain paper orders and be picked in good time. This was all very marvellous and still is now I have discovered it and I thoroughly commend its use to anyone outputting a large volume and variety of paper from your database. It's saves us at least 10,000 dialog boxes a year, additionally confusion for the users when we change printers, also a thing of the past is the substantial number of irate phonecalls from customers who did not get the goods on time. PS if you do try this you may well also need a 'Page Setup(restore)' in your script - this is specific to each database, so you need to run it whenever in that database you switch size paper a3/a4/letter or from printer to printer - well I had to when switching from HP2200 to PagePro9100 and back! WHAT I'M LOOKING FOR IN OS X The ability to switch the default settings of printing behind the scenes via applescripting - if anyone knows or can make it happen please smile on me! Thanks to a chap called Steve Rothman I thought I had got there, but in reality I think I am still a few yards from the truth! The following (nicked from SRothman) allows automated switching between printers tell application "Print Center" set current printer to printer("XXXX") end tell (this is quick and discreet if you have run "tell application "Print Center" activate close window "Printer List" end tell" on start up) But I would like to be able to specify which 'preset' it uses when it Filemaker runs its print(no dialog). If I could alter the 'Standard' preset from applescript that would be enough. I think. Anyone any bright ideas? thanks, tom
Recommended Posts
This topic is 7967 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