cirrusprint

Top  Previous  Next

cirrusprint

 

o=new("cirrusprint"[,server$,login$,password$])

 

The cirrusprint object enables file submission to a CirrusPrint server, designating a location ID and device ID to deliver the file to.  CirrusPrint is cloud printing and file delivery product offered by the UnForm publisher.  It is useful in situations where UnForm output must be sent to remote printers, file systems, or users, such as when UnForm is hosted in the cloud and send print jobs to office location printers.

 

Properties

server$ contains the CirrusPrint server url, starting with http:// or https://, normally ending with a :port, such as "https://cloudprint1.sdsi.cloud:8443".  This value can be passed in the new() function.

login$, password$ must be set to login to the CirrusPrint server. The settings must match a company location id or user in the format locid@company, or a site user configured with API access by the CirrusPrint administrator. These values can be passed in the new() function.

 

If the password has the format "store:name", the password is retrieved from the secure password store maintained in the admin browser interface.

lasterr, lasterrmsg$ are set if an error occurs during a method call.

 

Methods

sendfile(filename$,locid$,deviceid$[,title$]) sends the specified file from the UnForm server to the CirrusPrint server, and delivers it to the location and device specified.  The optional title$ value is used to assist in delivery naming, such as when a file is delivered to a remote file system.  If supplied, the remote file name will be derived from the title rather than a random work file name.