Forum - Programmatic printing
Tagged: Printing cron API Rest
This topic contains 2 replies, has 2 voices, and was last updated by Asger Blekinge 4 months ago.
- August 13, 2019 at 9:05 am #54164Asger BlekingeParticipant
Is there any way, using the API, to print a slip.
Using the ALMA GUI, it is clear how to select a request and print a slip. But there seems to be no similar way to do so via the API. I can retrieve all the same information as goes into the print, but I cannot make use of the ALMA XSL Letter transformations if I want to print.
Is this really right, or have I missed something?
My use case: I need to daily print all the unprinted requests in “Pick From Shelf”. I could have a user do it, but really, should this not be something that could be done with a program?
Should I look into integration profiles? There might be something about periodic tasks there.August 14, 2019 at 5:30 am #54285Tami FuchesModerator
We have the “Task Lists” APIs ( see in https://developers.exlibrisgroup.com/alma/apis/tasklists/).
There are 2 APIs for “Requested Resources” which are parallel to the “Pick from shelf” list in Alma UI:
– One API is for retrieving the list
– The second API is for marking as printed
The report preparation – based on the returned information, should be done in the calling application.
I hope this helped,
TamarAugust 14, 2019 at 8:45 am #54288Asger BlekingeParticipant
Thanks Tami, but this does not really help.
I can retrieve the list with the GET operation, and I can mark it as printed with the POST operation.
But I wanted to use the ALMA ability to print, rather than having the style the output myself. As ALMA can clearly print the letters, it seems weird that I can only do this through the GUI, and not through the API.
This forces me to build my own system for formatting the output as printable and bypass the ALMA letter system. And if a user, heavens forbid, actually press print slip, I have to ensure that the ALMA printed slip looks somewhat like the one my system would have printed.
I understand the logic behind the design here. Without a login, you do not have a printer assigned. When using the API you do not log in, you use an API key, and thus do not have printer assigned. Thus, you cannot print. But it is a PITA for us.
You must be logged in to reply to this topic.