Re: Setting Memory allocation for Desktop Printers
Re: Setting Memory allocation for Desktop Printers
- Subject: Re: Setting Memory allocation for Desktop Printers
- From: Andy Wylie <email@hidden>
- Date: Mon, 01 Jul 2002 00:15:19 +1200
on 30/6/02 7:47 PM +1200: Phelix Leiter wrote:
>
so what would could be like
>
set minimum size of XXX to 500
>
>
where XXX is name of Desktop Printer/Application and 500 is minimum size in
>
K
>
same for preferred size?
>
thanks
I don't know anything about desktop printers but any old application
requires a file path as returned by the following line...
--------
set xxx to (choose file of type "APPL") as string
try
tell application "Finder"
activate
--here 'preferred size' compiles to 'total partition size',
--perhaps 'preferred size' as in my Finder dictionary is obsolete
set total partition size of application file xxx to 500--kilobytes
set minimum size of application file xxx to 500
end tell
on error m number n
error {n, m}
end try
--------
Please reply to the list Phelix where someone may have a better answer and
this discussion might benefit others.
_____________________________ Andy
>
> on 29/6/02 9:45 PM +1200: Phelix Leiter wrote:
>
>
>
>
>
>> I am writing a script to creating desktop printers for MAc OS 922
>
>> clients;
>
>> once created I want to set the minimum and preferred memory allocation,
>
>> which must be script from Finder; not the Desktop Printer Manager.
>
>>
>
>> I dont seem to be having much luck and have been unable to find out how
>
>> to do it with normal applications!
>
>>
>
> Here under OS 8.6 AS 1.3.7 Finder returns bytes on get but expects
>
> kilobytes
>
> for set, 1024 bytes =1 kilobyte
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.