Mime-Version: |
1.0 (Apple Message framework v919.2) |
Content-Type: |
text/plain; charset=US-ASCII; format=flowed; delsp=yes |
Date: |
Sat, 1 Mar 2008 15:19:54 -0500 |
Reply-To: |
|
Subject: |
|
From: |
|
In-Reply-To: |
<p0624083dc3ee409191ae@[172.21.197.244]> |
Content-Transfer-Encoding: |
7bit |
Sender: |
|
Parts/Attachments: |
|
|
On Feb 29, 2008, at 6:09 PM, Jan Hendrikx wrote:
> Dear Scripters,
>
> I used to have a script for printing labels from Filemaker Pro to a
> special label printer. The script would set the label printer to the
> default printer, print, then set the default printer back to the
> original regular office printer. This script does not work in
> Leopard, and it is entirely unclear to me how to script the default
> printer in Leopard. Has anyone found a solution for this?
>
>
> Kind regards,
>
> Jan Hendrikx
> Memorial Sloan-Kettering Cancer Center
> --
>
tell application "Printer Setup Utility"
get name of current printer
"SysEngLanier"
(*SysEngLanier*)
set current printer to printer "Sys Eng3"
get name of current printer
"Sys Eng3"
(*Sys Eng3*)
set current printer to printer "SysEngLanier"
get name of current printer
"SysEngLanier"
(*SysEngLanier*)
end tell
seems to work for me.
-Mark
Wondering why he is reading email on such a lovely spring day
|
|
|