• 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
stop a print job in OSX ? re: lprm, whatis and cancel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stop a print job in OSX ? re: lprm, whatis and cancel


  • Subject: stop a print job in OSX ? re: lprm, whatis and cancel
  • From: Tony <email@hidden>
  • Date: Tue, 22 Apr 2003 20:51:28 -0700

Emmanuel, Thankyou very much for your detailed suggestions.

"lprm" certainly stops the printer but in mid page and I have to send another print request from Appleworks to free the page. "cancel" does not seem to work as the printer completes printing the page without stopping.

I have tried to use "apropos" to find other commands to throw the page but I get a message saying that I do not have the "whatis" database. I have tried to use "makewhatis" to make the database using:

do shell script "/usr/libexec/makewhatis"

but I get the message /usr/share/man/whatis.db.tmp permission denied

I have looked at the "sudo" command but it is getting a bit deep and dangerous for me. Tony.



On Monday, Apr 21, 2003, at 02:12 US/Pacific, Emmanuel wrote:

At 9:29 PM -0700 20/04/03, Tony wrote:
Thankyou very much for your message. It will take me a little while to use your suggested approach as I have no experience with the use of terminal but I shall look at it to see what I can do.

Let me propose my help here.

Like you, I need to run shell scripts. Actually I run tenths/hundreds of them daily. And I don't want to learn how to use Terminal. I have finally found that the AppleScript environment is better for me than Terminal to make up and run shell scripts.
------


--------

----------------------
do shell script "lprm"
----------------------

Emmanuel

[1] URL <http://www.satimage.fr/software/downloads/Getman.sit>
_______________________________________________
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.

  • Follow-Ups:
    • Re: stop a print job in OSX ? re: lprm, whatis and cancel
      • From: Jean-Baptiste LE STANG <email@hidden>
References: 
 >Re: how can I stop a print job in OSX with AS? response (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Entourage Script
  • Next by Date: Re: Change computer name
  • Previous by thread: Re: how can I stop a print job in OSX with AS? response
  • Next by thread: Re: stop a print job in OSX ? re: lprm, whatis and cancel
  • Index(es):
    • Date
    • Thread