Jump to content

Recommended Posts

Posted
There is a plugin that comes with ZiLink. I've yet to get it to work for some reason though! Just refuses to connect.

 

There may be an issue with the url and the trust of any ssl certificate the papercut server is using.

Posted
I notice on the Papercut website (PaperCut KB | Adding the PaperCut Web Widgets in Moodle) there is a section about integrating Papercut with Moodle, but it looks out of data.

 

The papercut block is now part of the ZiLink plugins that are available from moodle.org.

if you only need papercut then just download the plugins and there dependencies, if you only need the papercut bit and not mis integration you've got everything installed you need, you just need to configure the settings for papercut.

 

And also, if there is a SAML or other SSO mechanism to automate the sign in from Moodle to Papercut?

 

AFAIK you can setup ntlm sso with papercut so you would just need a link from moodle to the papercut server windows will log you in.

  • Thanks 1
Posted

Does the PaperCut block in ZiLink work if the PaperCut server is not directly accessible, i.e. if Moodle is accessed from home?

If not, and anyone wants that ability, I've got a couple of blocks which use the PaperCut web service to grab and then display the relevant data. This also prevents the need for clients to trust the PaperCut server's certificate, as only the web server ever connects to it.

https://github.com/akitching/block_papercutws

https://github.com/akitching/block_papercutws_quota

Posted
Does the PaperCut block in ZiLink work if the PaperCut server is not directly accessible, i.e. if Moodle is accessed from home?

If not, and anyone wants that ability, I've got a couple of blocks which use the PaperCut web service to grab and then display the relevant data. This also prevents the need for clients to trust the PaperCut server's certificate, as only the web server ever connects to it.

https://github.com/akitching/block_papercutws

https://github.com/akitching/block_papercutws_quota

 

Nice work. What is the output like compared to the papercut widgets?

Posted

The output is plain HTML so it should follow your site's style, which IMO provides a better look than the widgets.

 

The main block shows the user's balance (if they are unrestricted) and the environmental statistics. The quota block simly displays the user's balance if they are restricted.

I've done it this way as it suited our needs, but if you'd rather just use the main block for everyone, whether of not their printing is restricted, just comment out or delete lines 65 and 75 in block_papercutws.php

Also, the blocks are hardcoded to use pounds sterling, which isn't ideal, but was good enough for us and should be fairly easy to adjust.

 

One last point, the webservice API doesn't give access to the environmental statistics so the block has to calculate them itself, so expect them to be different than the ones Papercut lists.

 

The main block:

block.png

The main block in context:

site_example.png

  • Thanks 1
Posted
The papercut block is now part of the ZiLink plugins that are available from moodle.org.

if you only need papercut then just download the plugins and there dependencies, if you only need the papercut bit and not mis integration you've got everything installed you need, you just need to configure the settings for papercut.

 

 

 

AFAIK you can setup ntlm sso with papercut so you would just need a link from moodle to the papercut server windows will log you in.

 

Thanks.

 

NTLM SSO only works with domain joined computers though right? We're a BYO school,, mostly use Mac..

 

Is there anywhere that shows what the Paper cut plugin actually does?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...