home *** CD-ROM | disk | FTP | other *** search
- ;* TogglePrt AmigaDOS script by Brian J. Cerveny
- ;* Change GPFax.pre and Normal.pre to preset files of your choice.
- ;* (See documentation for details.)
-
- ;*** Test if fax driver active
-
- If $fax EQ 1
- Skip Normal
- EndIf
-
- ;*** Fax driver not active, enable
-
- echo "Loading fax driver."
- SYS:Prefs/printer FROM SYS:Prefs/Presets/GPFax.pre USE
- SetENV fax 1
- Skip Exit
-
- ;*** Fax driver active, return to normal printer
-
- Lab Normal
- echo "Loading standard printer driver."
- SYS:Prefs/printer FROM SYS:Prefs/Presets/Normal.pre USE
- SetENV fax 0
-
- Lab Exit
-