You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These examples are created using Python3. Python is available for a lot of platforms including Windows. A version of Python can be downloaded here: https://www.python.org/downloads/
4
+
Note that these examples have been created using Python3
5
+
6
+
## Installation
7
+
Run the downloaded Python installer and make sure to check "Add Python 3.x to PATH"
8
+
9
+
## Configuration
10
+
Some Python libraries need to be installed before you can use these examples. To install the needed linraries, run:
# The jmfmessages library contains examples of how jmf can be used to send commands to PRISMAsync and obtain information from PRISMAsync
7
+
# This file is an example of how the libraries can be used to send jobs to PRISMAsync
8
+
9
+
print("Job was submitted and has QueueEntryID:",SendJob("http://hq-cep3.oce.nl:8010", "file://jmfjdf/Test.pdf"))
10
+
print("Job was submitted and has QueueEntryID:",SendJob("http://hq-cep3.oce.nl:8010", "http://ubuntu-hdok.ocevenlo.oce.net/pdf/PosterFashionWomanplusTextSample.pdf"))
<JMFxmlns="http://www.CIP4.org/JDFSchema_1_1"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"MaxVersion="1.5"SenderID="Python by hdok"TimeStamp="2020-08-30T11:39:00+02:00"Version="1.5"xsi:type="JMFRootMessage">
<JMFxmlns="http://www.CIP4.org/JDFSchema_1_1"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"SenderID="Python by hdok"TimeStamp="2020-08-30T16:12:32+02:00"Version="1.3">
0 commit comments