Re: applescript-users digest, Vol 3 #1485 - 10 msgs
Re: applescript-users digest, Vol 3 #1485 - 10 msgs
- Subject: Re: applescript-users digest, Vol 3 #1485 - 10 msgs
- From: nino <email@hidden>
- Date: Fri, 21 Mar 2003 13:37:39 +0100
Hi Mike,
The Print command in Filemaker has a No Dialog option.
Everithing else depends on what system you are using.
Under OS 9
- you can create PDFs using the PDF Writer driver from Adobe to create your
special printer.
- to select the printer you may use Desktop Printer Manager (part of
Scripting Additions).
set my_printer to "your_pdf_printer_name"
tell application "Desktop Printer Manager"
set current printer to printer my_printer
end
- pdf destination is usually Desktop or Startup Disk so you may have to
move files to your folder once they are created
- pdf file name I think should be handled separately (I haven't tried, so
don't know what name will pass Filemaker)
Under OS X
- you can use my Nino's Virtual Printers available at
http://www.nexusonline.it/Demo.htm to create a pdf virtual printer whit a
destination folder
- use Print Center to select the printer
set my_printer to "your_pdf_printer_name"
tell application "Print Center" to set current printer to printer my_printer
- move and rename files as for OS 9
nino
>
Loop
>
Enter Browse mode
>
Copy [dealer_name]
>
Enter find mode
>
Paste [dealer_name]
>
Perform find
>
Sort
>
Enter preview Mode
>
Print
>
Enter Browse Mode
>
Delete All Records
>
Exit Loop If [Status(CurrentRecordCount) = 0]
>
Go to Record [first]
>
End Loop
>
>
I can't seem to Applescript the HP printer. When it gets to
>
the print command it opens the print window. I need to be able to:
>
>
select the right printer
>
save as a PDF file
>
set destination to a specific file
>
then select Save.
>
When the save window pops up it needs to:
>
select the file made in the second Applescript above
>
paste in the dealer name as file name
>
save into the folder.
_______________________________________________
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.