Clear Print Queue failes in Guest and Standard user accounts

Hello community
I've created a launchd configuration file to clear the entire print queue in Mac OS X at startup. This worked fine in Mac OS X Leopard but is broken in Mac OS X Snow Leopard when logging in to Guest or Standard accounts. It works fine for Admin user accounts.
The launchd configuration file is saved in /Library/LaunchAgents/ and loaded successfully. I've checked the content of the plist (created with Lingon), ownership (root:wheel) and permissions (-rw-r--r--). Everything seems fine to me.
Console error messages:
Standard User
com.ksry.ClearPrintQueue[5654] cancel: purge-jobs failed: Forbidden
com.apple.launchd.peruser.502[5618] (com.ksry.ClearPrintQueue[5654]) Exited with exit code: 1
Guest User
com.ksry.ClearPrintQueue[6367] cancel: purge-jobs failed: Forbidden
com.apple.launchd.peruser.201[6039] (com.ksry.ClearPrintQueue[6367]) Exited with exit code: 1
com.ksry.ClearPrintQueue file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.ksry.ClearPrintQueue</string>
<key>ProgramArguments</key>
<array>
<string>cancel</string>
<string>-a</string>
<string>-</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Any help would be much appreciated.

Welcome to the forums Novacco!
I saw your post about not being able to scan from 3 Admin. Accounts from your PC. I would like to offer my suggestion that may help you.
Try these troubleshooting steps on all 3 of the user accounts that are unable to scan: Windows: HP Scan Software Does Not Open or Scan on a Printer Using a USB Connection
Happy Monday
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

Similar Messages

  • Hp 3915. vista 32 "print queue issue" and i have to clear print queue and redo print.

    hp 3915.  vista 32 "print queue issue" and i have to clear print queue and redo print.  I think it may be a driver issue. Is there a driver for 3915 using Vista. Mine says only 2000 and XP. Thanks.

    Hi there ken4863,
    Try downloading and running the print and scan doctor located here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Clear another user's print jobs from standard user account

    I have Parallels set up to print from Windows through Bonjour printer sharing with Mac OS X. Periodically print jobs I've sent from Windows will hang, or for some other reason I need to cancel them. Because I usually use a standard user account, I apparently can't delete them from the print queue--or, rather, I can, but then they just appear again. I can get rid of them by fast-switching over to the admin account, opening System Preferences, opening the Print & Fax pane, opening the queue, deleting the jobs, logging out, and then logging back in to my standard account. But that's kind of a pain, and I've been trying to find a faster way to do it.
    I have some extremely rudimentary knowledge of Terminal, and came across the sudo lprm - command, which seemed like it would do it. I had thought that sudo would just ask me for an admin password, but when I tried it, of course, I discovered that what it apparently actually wants is for my standard user account to be in the sudoers file (or, I guess, for me to have root enabled and use that password somehow).
    But since I don't really know what I'm doing, and doing anything with sudo or root access scares the bejesus out of me unless I know exactly what I'm doing: Can anyone tell me exactly what I need to do here? Is there a way to run the lprm - command to clear everything out of the print queue with just an admin password, without requiring root access? Or have I gone completely off the rails and missed some other easy way to clear another user's print job from a standard user account without resorting to Terminal at all?
    Thanks!

    OK, never mind--I had assumed I needed to work some sort of admin privilege into the mix to do this, since that's what the GUI seemed to require, but it turns out that just using "lprm -" in Terminal clears it right out. Perfect!

  • How do I get firefox to up date from a standard user account....or at least tell me to log on as administrator and update?

    I do almost all my work from a standard user account. Firefox neither automatically updates (as I set it to) or informs me an update is available.
    How do I get Firefox to update automatically when I am logged on as a standard user....or at least tell me to switch to admin account and update?

    Let me add a note to the developers: WE ARE ALL NOT ADMINISTRATORS!
    Even on our own personal computers.
    I claim that administrator accounts are for administering, or developing; not using. I wouldn't be an administrator for longer than is necessary than walk down the centre of a highway with my eyes closed.
    I'll repeat: Mozilla really should prevent the 'Update' button showing to an ordinary user if it's not going to be possible to use it.

  • Guest and all users have invalid password

    Dear all,
    os oul5x64
    ebs 12.1.3
    when login from login page no one can connect because somehow guest user password was invalid.
    using note How To Successfully Change The Guest Password In E-Business Suite 11.5.10 and R12 (Doc ID 443353.1)
    and was able to change guest password and now had to change password for every users.
    This is a test ENV so not many users on it.
    Question: How can i find down what happened to GUEST and all users password.
    and where to check.
    Thanks in advance.
    Regards,

    Thanks Hussein,
    there is some error in the application.log file.
    Would you please advise.
    Regards,
    13/09/18 15:27:53.717 html: Servlet error
    java.io.IOException: Broken pipe
            at sun.nio.ch.FileDispatcher.write0(Native Method)
            at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
            at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:72)
            at sun.nio.ch.IOUtil.write(IOUtil.java:43)
            at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
            at java.nio.channels.Channels.writeFullyImpl(Channels.java:59)
            at java.nio.channels.Channels.writeFully(Channels.java:81)
            at java.nio.channels.Channels.access$000(Channels.java:47)
            at java.nio.channels.Channels$1.write(Channels.java:155)
            at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
            at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
            at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
            at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:662)
    13/09/18 15:32:25.704 html: OABodyBean, localName='body': Could not find partial target: PayablesReviewSettings
    13/09/18 15:33:50.414 html: OABodyBean, localName='body': Could not find partial target: PaymentMethodCode2
    13/09/18 15:33:50.414 html: OABodyBean, localName='body': Could not find partial target: PaymentDocumentName
    13/09/18 15:33:50.415 html: OABodyBean, localName='body': Could not find partial target: BankAccountName
    13/09/18 15:43:05.385 html: OABodyBean, localName='body': Could not find partial target: SendPaymentARFlag
    13/09/18 15:43:05.385 html: OABodyBean, localName='body': Could not find partial target: SSNId
    13/09/18 15:46:30.744 html: OABodyBean, localName='body': Could not find partial target: SendPaymentARFlag
    13/09/18 15:46:30.744 html: OABodyBean, localName='body': Could not find partial target: SSNId
    13/09/18 15:47:34.80 html: OABodyBean, localName='body': Could not find partial target: SendPaymentARFlag
    13/09/18 15:47:34.80 html: OABodyBean, localName='body': Could not find partial target: SSNId

  • How do I enable Find My Mac from a Standard User Account

    Hi there,
    I'm trying to enable Find My Mac from a Standard User account via System Preferences > iCloud, but it says Administrator authorization is required. However, there is no padlock like other System Preferences panes have to enable Administrator access.
    If I log into the Administrator user, it doesn't have iCloud set up.
    Any ideas?
    Thanks!

    Yes, Its registered. clcking on icloud shows Icloud is unticked and no option to enable it as its greyed out. That is the part I am trying to overcome. Also It shows "recovery system update required" just below find my mac and an update button next to that. When I then click on update, it says system up to date. I have been told this issue could be attributed to Filevault. I disabled Filevault (after 5 hours of waiting), Doing so now meant I was able to enable guest user on this machine. but that  means my data is not encrypted and the option to enable find my mac still not available.
    I am in the process of re-enabling filevault. Another 4 hours to go. So as you can see, I am really stuck.

  • In regard to Time Machine. I have two accounts one is an admin account, the other is a standard user account. When I implement Time Machine when I am logged into the Admin account, is the standard user also backed up?

    in regard to Time Machine.
    I have two accounts on one Macbook Pro running OS 10.6.8. One account is an admin account, the other is a standard user account.
    When I initially implemented Time Machine I was logged into the Admin account. I allowed Time Machine to erase the drive and backup the computer. Is the standard user account contents also backed up?
    Also after I completed the Time Machine backup session, I turned off Time Machine and removed the portable hard drive. I plan to return in to Time Machine after being away from the portable hard drive for approximately a month. After a short interruption of approximately one month, when the Macbook Pro is reconnected and Time Machine is turned back on, will Time Machine create a new instance of a backup? WIll the back up contain the standard user account changes?

    Time Machine backs up by default all the user accounts.
    When you reconnect the backup drive after one month, Time Machine will do an incremental backup and it might take a while minutes to hours depending on how much has been changed. With a gap of a month, Time Machine will have to do a lengthier than normal survey of both drives to see what has changed, so it might take some time preparing for the backup. The backup will include everything that has changed since the previous one.

  • Enable Third Party Preference Panes for Standard User Account

    I work as a Mac admin for a private school.
    All of our Macs are imaged with two accounts, an Admin account (for tech support) and a standard user account (for faculty/staff/students).
    One of our art rooms has Wacom tablets.
    There is a Wacom preference pane in the "Other" section of System Preferences, which allows you to customize the sensitivity, etc of the stylus.
    In the admin account, this preference pane is enable, in the standard user account, it's grayed out.
    I would like to give the standard user account access to this preference pane, so each student can customize the Wacom to their liking.
    I've tried everything I can think of, from changing the ownership and permissions of the preference pane in /Library/PreferencePanes to creating an identical folder with the preference pane in ~/Library. Any help would be MUCH appreciated. Thanks!

    If this is retricted by policy there is not much you can do about it.
    There are no settings to change on LPT ports.  COM have utilites that sett the settings.
    At a command prompt type: MODE /?
    Follow the instructions.  Only administrators can use this utility.  Only administrators can change hardware settings.
    I recommend contacting your network admins for assistance in getting this done.  It cannot be done with a script.
    ¯\_(ツ)_/¯

  • How do I stop my computer from going to the standard user account when I wake it from sleep

    When I wake my computer from sleep it logs on the standard user account. I need it to go to the administrator account so I can log on to that .

    Hello rnash62.  I understand you'd like to automatically log into your Administrator account when waking from sleep.
    What notebook do you have?  Please identify it by the product number.  This document can show you where it is located.
    What version of Windows are you running?
    Once I have this information I should be able to provide you with instructions.
    I hope you have a great day and an amazing weekend!
    Please click the white star under my name to give me Kudos as a way to say "Thanks!"
    Click the "Accept as Solution" button if I resolve your issue.

  • Difference between ACS Administrator account and ACS user account?

    Does an ACS administrator by default have full rights to every device it manages?
    I thought ACS administator accounts and user accounts were different.
    I have an acs admin account called admin_1. then i created another user account called admin_1 (for switch/router access)
    when i set the password for admin_1(user accounts), when i tried to login into the switch it wouldn't take. It would only take the password set for the ACS admin account.
    Is this by design?

    My understanding was that this is not the case, Ive just tested my installation again to make double sure and the user accounts and the admin accounts are clearly seperated
    The RADIUS server does not make use of the Admin user database.

  • What is the difference between "Adiministrator" & "Standard" user accounts?

    Hi,
    I was wondering what is the difference was between "Adiministrator" & "Standard" user accounts?
    Is "Standard" more sucre for everyday use than "Administrator"?

    An administrator has more latitude in taking actions that have potential for harming the computer intentionally or accidentally than a standard user. Also, an administrator has the power to enable the "root" user--the user who can do the most harm intentionally or accidentally. The less one knows about his or her computer and its environment the more important it is for the individual to run as a standard user. If one is running as a standard user, then he or she will have to take a time out, which allows a period of reflection, before actually taking potentially harmful action since to do so he or she would have to logout and back in.

  • Difference Between Database Schema and Database User Account ??

    First i would like to know what an Oracle Database schema exactly is ?
    And what is it for and also What is it's use ?
    Later the exact "Difference Between Database Schema and Database User Account".
    I googled about it but i'm unable to find out it's The difference,
    Please try to explain in a simple manner........
    Thank you very Much in Advance..........

    user13655582 wrote:
    Greate example. but i would like add one more point..
    a user is a schema and schema is a user. but when this applies to the user that he become a schema, only if he has got some objects. so we can say while creating the user which dosent contain any objects called simple user account but afterwords when he has got an objects then we can say its a schema as the above user has shown you through the exampleIt is just word-play. There is nothing in like a 'status' indicator to say "USER_A is just a user but USER_B has become a schema". Many people use the terms "user" and "schema" interchangeably, and some very good DBAs will insist this is correct. I don't disagree with them even though I usually try to make the distinction.
    In a typical application, all of the objects (tables, procedures, etc) that implement the app will be owned by a "application schema owner" - a user which exists for the sole purpose of owning the schema. Said user will have no privileges at all .. especially not CREATE SESSION. Except for possible maintenance activity no one ever actually connects as this user. User accounts are then given to actual humans who connect with their own accounts. The accounts have the necessary system and object privileges granted to them - via a role. One could also create a special account (let's call it APP_ADMIN) that is used for maintenance and batch operations within the application.

  • Forms Authentication Error: User '' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed

    I created a custom security extension following the steps listed in the Readme_Security Extension Sample. It works fine if I login as the user that is specified AdminConfiguration section of the rsreportserver.config file but if I
    log in as another user, I get this error: User '' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.  I've added the user to both System Administrator
    and System User roles to try to get it to work but still no luck.
    Does anyone know how to fix this?
    Thanks.

    Hi MetronM,
    The issue is due to that user have no permission to access the report server. In report manager, Reporting Services includes predefined roles that we can assign to users and groups to provide immediate access to a report server. Each role defines a collection
    of related tasks.
    You can refer to the following steps to assign corresponding role to the user.
    Open report manager.
    Click “Folder Setting” button. 
    Click “New Role Assignment” icon.
    Type the user name and select the corresponding role.
    There is an article about Granting Permissions on a Native Mode Report Server, you can refer to it.
    http://technet.microsoft.com/en-us/library/ms156014.aspx
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • I used this command and my user account is hidden sudo mv /Users/ed /Users/.ernestotaricone .

    i used this command and my user account is hidden and my account name ED
    sudo mv /Users/ed /Users/.ernestotaricone
    Please help me retrieve this Ed account back. Will there be any luck?
    When i checked the size of Users account the same gigabyte space is there but cannot see my user account ED

    This is the report the system gave me: CFPreferences: user home directory at file://localhost/Users/ernestotaricone/ is unavailable. User domains will be volatile.
    What of if i create another account say User account say good, can i transfer it back there?
    Seth

  • Clear Print Queue HP P1102w LaserJet

    After printing to my wireless HP P1102w LaserJet, the print queue does not clear/empty.  So, when I print, again, the printer does not respond because there are queued docs to print, yet.  I can physically delete the queue, but this is cumbersome.  And, I am not the only user of the printer. It took forever to get the proper drivers loaded by using Apple Update.  Finally, the printer prints, whether using wireless or Wi-Fi. But, the document remains in the queue. Any ideas?  Or, is this an HP problem?

    I just went through this myself. It is basically as fede says. You need cups installed and running, and hplip installed. Some of the printers require a plugin (like my LaserJet 1018), and that may be why you get the message 'filter failed'. I got it too.
    You have to run hp-setup to get the plugin BUT hp-setup won't run properly without a /usr/bin/python symlinked to python2.7 . Either create that symlink or as fede says, if you already have one that points to python3, delete that symlink and create a new one pointing to python2.7, and then run hp-setup. It will run fine and your printer should work.
    On my other computer I have Ubuntu 12.10 and I noticed they have /usr/bin/python symlinked to python2.7 as a standard, that's why hp-setup ran correctly on it the first time. When I did a basic install of Arch recently it only installed python2, but there was no symlink of python -> python2.7 included in the package. If you install python3 (also known as python), you get the symlink of python -> python3. It's all a bit confusing, but I think if we only have python2 installed it might be a good idea to include the symlink python -> python2.7 in the package. Seems to me this confusion has been going on for a couple of years? I think I will leave my symlink python -> python2.7 in place.
    Last edited by nirvanix (2012-11-20 01:20:54)

Maybe you are looking for

  • Sending an Email via ColdFusion as a Service leads to ActionScript-Error "Server is undefined to setup the connection"

    Hi, Ben Forta shows in his video "ColdFusion9 exposed as Flex Services" how to send an Email using ColdFusion as a Service. I tried out this example with Flashbuilder4 Beta2 but I got the following ActionSript-Error: Error: Server is undefined to set

  • Web Gallery and iWeb

    There is a template in iWeb for albums, but not one for iPhoto Web Galleries. You can use the insert .mac web gallery option to get a web gallery onto a page, but is there a way to use the cool album template instead? It seems so odd that there isn't

  • Camera button not working full stop

    Hi,my phone is a few days old,since having said phone is z1 compact,I.cannot take a picture with my camera button if my phone is on nevermind sleep mode,I have tried changing all the settings..the only way of taking a pic is touching the screen butto

  • Failure: "oleautomg​r.cpp" line 364 (LabView 6.0)

    This failure occurred when I try to print a graph. It was working properly before. Does anyone have this failure before or know a remedy to the failure? Thanks in advance.

  • Security settings on Nano

    My son has entered a security code on his Nano and now cannot remember what it is - I assume the only option is for him to sit and working his way from 0000 - 9999. Does anyone know if it can be reset if we provide proof of purchase; or if there is a