papercut login hook

Contributor III

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!


Dustin Dorey

Technology Support Cluster Specialist

ISD 196 Apple Valley, Eagan, Rosemount

dustin.dorey at



Not applicable


We just went through this with JAMF.

We just setup a login script that runs the following:


echo "Launching PaperCut..."
/Applications/ "$3"

exit 0

Brad Rellinger
Technology Specialist
Anthony Wayne Schools K-12
aw_aca_bre at


I love JAMF Nation. Thanks for the info. Just saved me a boatload of time.

New Contributor III

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/"; }, "Path = "/Applications/"" )'

Tested and working on a OSX 10.10.5 client.


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.

Valued Contributor II

I went the LaunchAgent path as well (recommended by PaperCut).

P.S> This works beautifully!

Contributor II

"I went the LaunchAgent path as well (recommended by PaperCut)."

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?


@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...

Valued Contributor II

Yea... @ostrowsp I'm not making your conenction either. PCClient is on thing, adding printers is another. How are you intending to add printers?

Valued Contributor

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" "">
<plist version="1.0">

The KeepAlive Key is the bit to do that for you.