Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!husc6!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: FKEY to change LaserWriters?? Message-ID: <16028@unix.SRI.COM> Date: 8 Sep 90 21:13:10 GMT References: <1327@radius.com> Reply-To: mxmora@unix.UUCP (Matt Mora) Organization: SRI International, Menlo Park, CA Lines: 78 Included is a fkey and its pref file that allows you set the current printer as per Steve's request. Unfortunatly it doesn't do everything that Steve requested. It will allow you to save the current printer to be recalled later. It doesn't let you set the background printing bit yet. (though ben just posted how to do this) You also can't put multiple copies in the system folder to have a different fkey set a different printer. (because they would all use the same pref file) Features that I plan to include are a swap mode where you would click a button and you could toggle between two printers. Also I want to include a list of printers and the ability to turn background printing on and off. Becareful the fkey hasn't been test to throughly yet and I have been having problems with the dialog box loading :-( . The reason I didn't use Steve suggestion in regards to just checking to see if the caps lock key is down was that I wanted to be able to see what the current printer was and also have a way to cancel the fkey. The dialog approach works much better for this reason. Unfortunatly this requires a preference file that you have to stick in the system folder. (Oh well you need a place to store the papa resource anyway) Current version is 0.1 Matt Mora (This file must be converted with BinHex 4.0) :$h0PG#"`FQPZG'9b,R0TG!"6593K8dP8)3%!!!!(UJ!!!!$SV90*9#%!!J!!"kT b6'&e!3!!!!!!!!!#!!p6CA43FQPZG'9b)&"bC@C*6NP8!!!!!!!"B!-!"N#!eFi !'a%b!!`"P!!EHYi"%!!C!3!"%!!C!!!!!!!E%8abFh*M8P0&4!%!S``h'+-1Tb` !!!3[!!!!!!!!![-!!!!!Na!!!!!!!!!!!,mG!!!%#!KJ3*q!!Ji'P29L#3!*)*k !BZ#0(`!S5S!iU@-(J#H,-L,5q9F%h8-5b4j-+8-(LT`dEZL8N32#C4Nc!JM+Q50 RM*3T4BJ-,!!Xi-kH2i-1,9U8S01R"'Z3!"M&i!B'U!4HJ0%'JN!S$b+3!%3%!qd &M`"@FJSjC4C-3#"#cLc*&l!IT#,Y!-Kjm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DJY+D0kV!U!P!*LNXJVPKDqY#ZQ 4Tc,j%i)6RVSQT#[0p!"1qa"Z+TMF[EQKI2YpKJ1')fjiRrbiFhXQU@QZDTkI`b$ km8T$3-!8!!MQMcRYTM,)lF1H#bF6hh#!ciJ804&%%NiFH#!!&V$r3%Yda$4666I &9)CJ!K&N%%)+!H$$CQ@!J`$N34!1!#!b!,K-CJLLJ-dS*3(FB-!#i!F6QG$%*P' U!!!: -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@sri.com SRI International | my unix mxmora@unix.sri.com ___________________________________________________________