Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 09 2019 22:40
    RyanReichenberg closed #11
  • Dec 09 2019 22:40
    RyanReichenberg commented #11
  • Aug 30 2019 06:41
    RyanReichenberg closed #14
  • Aug 30 2019 06:40
    RyanReichenberg commented #14
  • Aug 30 2019 06:39
    RyanReichenberg unlabeled #14
  • Aug 30 2019 06:38
    RyanReichenberg labeled #14
  • Aug 28 2019 21:34
    ksaylor11 opened #14
  • Aug 23 2019 22:30

    alecthegeek on master

    Updated for user aliases and ot… (compare)

  • Aug 21 2019 07:36

    alecthegeek on master

    Add support for user-source.upd… (compare)

  • Aug 21 2019 06:24

    alecthegeek on master

    Added support foruser-source.up… (compare)

  • Jul 26 2019 05:44

    alecthegeek on master

    Added a new example for PaperCu… Forgot to apply settings Merge branch 'master' of github… (compare)

  • Jul 01 2019 07:33

    alecthegeek on master

    Added some refinements after in… Merge pull request #13 from Pap… (compare)

  • Jul 01 2019 07:33
    alecthegeek closed #13
  • Jul 01 2019 07:33
    alecthegeek opened #13
  • Jul 01 2019 07:32

    alecthegeek on internal_review

    Added some refinements after in… (compare)

  • Jun 29 2019 08:02

    alecthegeek on master

    Added example for listing expir… Merge pull request #12 from Pap… (compare)

  • Jun 29 2019 08:02
    alecthegeek closed #12
  • Jun 28 2019 02:33
    diptopratyaksa assigned #12
  • Jun 28 2019 02:33
    diptopratyaksa review_requested #12
  • Jun 28 2019 02:33
    diptopratyaksa opened #12
Jonathan Bennetts
@Joffcom
really all you are doing is sending XML over HTTP or HTTPS
Bakuryu
@Bakuryu
so In theory I should be able to use the same connection function for this then, just with the different url?
Jonathan Bennetts
@Joffcom
Mostly yeah
Bakuryu
@Bakuryu
For the regular api our server already denies access based on IP and authtoken I think, for the release station api some of the command as looking for a release station id, is the ip/name/some other token of the station itself or the computer/server making the call?
Jonathan Bennetts
@Joffcom
That sounds right so you would first hit authicate station endpoint and pass in the id PaperCut gave you then that will return a special ID that you can use for future requests in that sessions which you pass in like you would with the web services auth token
but not all of the release methods require the token
(Sorry if I have put too much in public there Alec)
Bakuryu
@Bakuryu
Yea the problem is that it needs a release station id, but not as one to pass the job to, but as if I am a release station. Which technically the server this will come from is not. So I guess I need to register that server as a release station somehow?
Jonathan Bennetts
@Joffcom
There is a registration method for the release station which will register your application on the server and it will show up under devices
Bakuryu
@Bakuryu
Is it in the web ui somewhere?
Jonathan Bennetts
@Joffcom
Now you have me thinking I will have to do a test, I did think they show up under devices once registered
Bakuryu
@Bakuryu
My network guy said the devices was for MFC stuff, not sure what that means, but I thought the device area was something related, but I don't have access to it. Can only see the queues/printers
Jonathan Bennetts
@Joffcom
Devices are release terminals and copiers
Alec Clews
@alecthegeek
@Bakuryu You should apply for access to the correct resources. We also have a Gittter channel for the release station API
Bakuryu
@Bakuryu
Is there a link to that gitter channel?
Jonathan Bennetts
@Joffcom
@Bakuryu I would email integration-dev-support@papercut.com for that one and they make sure you have access :smile:
Alec Clews
@alecthegeek
I've added a note to the release station API readme wit the missing info. Sorry about that
Thomas Bonham
@tbonham
With the new Enable Printing option and the advanced printing enablement pack will I be able to add computer names to a group and deploy a printer to that group ?
Alec Clews
@alecthegeek
@tbonham That's a question for our support team support@papercut.com
Thomas Bonham
@tbonham
@alecthegeek thanks I will do that .
Lancs Print
@lancsuniprint_gitlab
Apologies if I'm being blind, but in the release notes for v19.1.1 it says "Added a new server command that initiates an update to the device of any outstanding configuration changes. PC-15434" which I was expecting to see in the ServerCommandProxy.cs as something like api.applyDeviceSettings. We're presently on 19.1.3 and I'm looking at the version of ServerCommandProxy.cs from our application server and I'm not seeing that function. Should I be looking for something else? Thanks Phil
Jonathan Bennetts
@Joffcom
It isn't in the example file so you would need to add it
Lancs Print
@lancsuniprint_gitlab
Are there some instructions somewhere for that, it's not something I've done before? I always compile the ServerCommandProxy.cs file from C:\Program Files\PaperCut MF\server\examples\webservices\csharp and use the .dll from within Powershell, as per https://www.papercut.com/kb/Main/AdministeringPaperCutWithPowerShell. Thanks
Jonathan Bennetts
@Joffcom
In the past when we have had to add bits PaperCut have missed we just look at the API docs found under the java examples and add it in. Give me a minute and I will dig out what you need to add
Lancs Print
@lancsuniprint_gitlab
Thanks very much Jonathan
Jonathan Bennetts
@Joffcom
[XmlRpcMethod("api.applyDeviceSettings")]
void ApplyDeviceSettings(string authToken, string deviceName);

public void ApplyDeviceSettings(string deviceName) {
  _proxy.ApplyDeviceSettings(_authToken, deviceName);
}
Give that a bash
Lancs Print
@lancsuniprint_gitlab
Great, thank you, I'll give that a go.
Jonathan Bennetts
@Joffcom
Put the first 2 lines with the rest of the interface options and the bottom 3 in the proxy class
Alec Clews
@alecthegeek
Thanks @Joffcom -- once we get further down our backlog we will start up dating the proxy class. We have just had no time over the last few years
Jonathan Bennetts
@Joffcom
No problem @alecthegeek, Would you like a ticket sent in about the above so you can track it?
Alec Clews
@alecthegeek
No -- we know it's a problem and already have a number of tickets
Lancs Print
@lancsuniprint_gitlab
That worked perfectly, thanks Jonathan, and thanks to you and your team Alec for adding that feature, it'll be really helpful.
Alec Clews
@alecthegeek
Thanks for @lancsuniprint_gitlab for the kind words. Credit should go to @RyanReichenberg though
kraco-ux
@kraco-ux
Hi, does anyone have a python script for adding newly created virtual queues to all configured devices in papercut mf?
I am trying to add new virtual queues on existing configured devices, only need to add new virtual queues on all devices, and not change any other setting s on them
Alec Clews
@alecthegeek
I don't have a script. Please send a support email to integration-dev-support@papercut.com and I will have a look. It will take a few days.
Jonathan Bennetts
@Joffcom
If you are using MF I would start by getting in touch with your ASC or reseller as they should be able to assist
Alec Clews
@alecthegeek
That is true. It will take us some time to find a slot to look at this
kraco-ux
@kraco-ux
okay thanks
kraco-ux
@kraco-ux
Fixed it, I created a Template device and copied the settings to all the other devices of the same type, and it worked
Thanks for the reply/help
Jonathan Bennetts
@Joffcom
Nice work :smile: I took a quick look about 30 minutes ago and you would need to use advanced-config.ext-device.assoc-printers but you would first need to get the value of it and add the id number for the new virtual queue to it
kraco-ux
@kraco-ux
Do you have a example script on device changes I can copy and learn from? I am learning Python these days. Thanks for the reply.
Alec Clews
@alecthegeek
kraco-ux
@kraco-ux
Thank You Much Appreciated
Jonathan Bennetts
@Joffcom
That was where I started to look at it
kraco-ux
@kraco-ux
NICE thanks
Alec Clews
@alecthegeek
I've had a look at this and there is a feature gap in our API -- you can't set up a device as a release station. We are looking at how much work that would be
Alec Clews
@alecthegeek

I re-arranged the material on advanced printer/device attributes. Please let me know if you suggestions for further improvement.

https://github.com/PaperCutSoftware/PaperCutExamples/wiki/Using-Advanced-Printer-Properties