• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can applescript see printer properties?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can applescript see printer properties?


  • Subject: Re: Can applescript see printer properties?
  • From: Graham Samuel <email@hidden>
  • Date: Tue, 3 Jun 2003 21:57:03 +0100

On Mon, 2 Jun 2003 20:25:12 +0200 Emmanuel <email@hidden> wrote:
At 10:30 AM +0100 02/06/03, Graham Samuel wrote:
Hi list

I admit to being almost completely ignorant of Applescript despite my best intentions to become familiar with the language and its 'universe of discourse', but I'm looking for a way to interrogate the printer API so as to pass information to an xTalk development system (SuperCard or Runtime Revolution, both of whichm can interact with AppleScript). The key information I need at present is the minimum margins of a page of a given size, i.e. parameters which describe the actual printable area on the page. I know this info is available in principle, but neither of my development tools provide it explicitly and I wonder whether AppleScript might help.

(Assuming you're running OSX)
Not saying that this a reply, did you run a:

-----------------------------
do shell script "defaults read com.apple.print.PrintCenter"
-----------------------------

Nope, wouldn't now how as of now, but I'm willing to try. Where would the output appear do you think? I really do not know where to start. I should say that I am switching between OSX and OS 9.2.2 (a reboot, not Classic mode) with far more familiarity on my part with the earlier version. But I am gradually moving to Jaguar as and when I can afford the key applications...

Graham
--
-------------------------------------------------------------------
Graham Samuel / The Living Fossil Co. / UK & France
_______________________________________________
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.

  • Prev by Date: Re: list question
  • Next by Date: Re: list question
  • Previous by thread: Re: Can applescript see printer properties?
  • Next by thread: How to list folder contents and show only certain file types ...
  • Index(es):
    • Date
    • Thread