Posted on 02-04-2009 06:09 AM
Hey there folks,
One of our High Schools uses Papercut (sp*) for managing printing in his
building. In any case he's got a login hook that starts papercut and
sets it so that if it's closed it re-opens again.
This is all well and good, but as soon as the enforce management
framework runs either after imaging, adding the quickadd package, or
daily it quits working. We've tried putting a unix command in an
ongoing policy to launch what the login hook did but for some reason I
think we missed something as it just doesn't work. In any case is
anyone using this in their organization alongside Casper? If so some
direction would be great.
Thanks a lot folks!
-Dusty-
Dustin Dorey
Technology Support Cluster Specialist
ISD 196 Apple Valley, Eagan, Rosemount
dustin.dorey at district196.org
952|423|7971
Posted on 02-04-2009 06:20 AM
Hello,
We just went through this with JAMF.
We just setup a login script that runs the following:
#!/bin/sh
echo "Launching PaperCut..."
/Applications/PCClient.app/Contents/Resources/login-hook-start "$3"
exit 0
----------
Brad Rellinger
Technology Specialist
Anthony Wayne Schools K-12
aw_aca_bre at nwoca.org
Posted on 07-17-2013 07:46 AM
I love JAMF Nation. Thanks for the info. Just saved me a boatload of time.
Posted on 04-27-2016 05:15 PM
If you install the PaperCut Client and require it to run for all users at login, this can be used.
dscl . -mcxset /Computers/localhost loginwindow AutoLaunchedApplicationDictionary-managed always '( { Hide = 0; Path = “/Applications/PCClient.app"; }, "Path = "/Applications/PCClient.app"" )'
Tested and working on a OSX 10.10.5 client.
Posted on 04-28-2016 10:38 AM
I created a LaunchAgent make sure PaperCut is opened for users of our labs upon login. There's definitely more than one way to skin this cat.
Posted on 04-29-2016 06:53 AM
I went the LaunchAgent path as well (recommended by PaperCut).
http://www.papercut.com/kb/Main/MacClientStartupWithLaunchd
P.S> This works beautifully!
Posted on 06-26-2019 10:16 AM
"I went the LaunchAgent path as well (recommended by PaperCut).
http://www.papercut.com/kb/Main/MacClientStartupWithLaunchd"
I've tried this with jamf pushing out the application and the plist and rebooting. The issue i am having is the printers do not get added unless I login as an admin first. I verified the files owner and permissions match the papercut documentation.
Any know a solution to this?
Posted on 07-01-2019 02:14 PM
@ostrowsp The kbase you linked to is about launching the papercut client. I'm not sure what you're referring to about printers not getting added...
Posted on 07-03-2019 07:05 AM
Yea... @ostrowsp I'm not making your conenction either. PCClient is on thing, adding printers is another. How are you intending to add printers?
Posted on 07-03-2019 07:50 AM
If you want the Client to launch and stay launched then the LaunchAgent route is the way.
<?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.app.pcclient</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/PCClient.app/Contents/MacOS/JavaAppLauncher</string>
</array>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
The KeepAlive Key is the bit to do that for you.