Printer WebAPI
Incident Properties
Question
Hello,
I am attempting to use the /rws/service/printer/* WebAPI to do some local printing from our Secure Delivery SmartSDK application. So far, all of the tests I am doing are on our IM C2000.
I don't really have any issues calling the API and getting the response I am expecting. But, I am having trouble getting 2 document types to print. Mostly, these are the only two types we really care about.
For PDF, when I have a PDF file on the HDD, I use the /rws/service/printer/jobs endpoint to send the job. When I send it, I get a 200 OK response, but I get the attached error response (pdf_error.txt). It basically says "document_format_error". I have tried this with many different PDF documents and it always gets the same error. I am also attaching one of the PDF documents I am testing with (test.pdf).
Any ideas why I keep on getting "document_format_error" for seemingly any PDF I throw at this? Also, all of the PDFs I have tried can be printed without issue when sending to port 9100.
For PCL, I print a text document with only the word "test" in it using a Ricoh PCL6 Universal driver. If I print directly to the device (9100), the document prints without an issue. If I send the document using the /rws/service/printer/jobs endpoint, the job prints without an error, but it just comes out with garbage, as if the PCL/PJL is not being processed by the printer properly. I am attaching the PCL document I am testing with (test.pcl). Why would the PCL print fine over 9100, but not using the Printer Jobs API?
Regards
Bryan
Request Web API for install application and configure device
Incident Properties
Question
Hi,
We are planning to create a new version of Installer (which install application and configure device).
We would like Web API for install application and configure device.
I wonder whether there is Web API for install application and configure device or when there is Web API for install application and configure device.
If we can use Web API for install application and configure device, we do not depend on Java, RXOP. It is better solution.
Please advise.
Best Regards,
Authenticated username length (joblog)
Incident Properties
Question
This is a related question to incident 4019.
When a user is authenticated to the device, we have established and confirmed with RiDP that the username has a hard limit of 32 characters on the device.
When we use the /rws/log/printerlog/devicelog/joblog.json API to get the joblog from the device, we are seeing a similar limitation on the user's "displayName" attribute, but it seems to be limiting it to 20 characters.
Is this also a hard limit with the device?
If I want the username of someone who does a copy in the joblog, I am seeing that displayName is the only field that contains the username. Is this accurate? Is there another field I am missing that contains a longer version of the username?
Regards
Bryan
Access to jobs retained in the device.
Incident Properties
Question
Hello!
We need to have access to the jobs ratained by the driver.
This image shows the stored print option. And here we have the password configuration.
We want to have access to the jobs so that we can use the printer as a printing server. we would also like to apply policy(conversion, block) and make quota control.
We tried the following requests:
Result: "errors": [ { "message_id": "error.no_indispensable_query", "message": "operationType" } ]
This request works when operationType is scanSend. But we only get scanned jobs.
http://172.31.253.99/rws/service/printer/jobs?allJob=true
Result: "errors": [ { "message_id": "error.not_authorized", "message": "" } ]
Do you have an example or sugestion for us to make the calls to get the jobs?
Also in the on the native app we get all the jobs, we would like to show only the logged user's jobs, is there a way to filter the jobs?
Best regards
Guilherme Santos.
Access Token for Web API call
Incident Properties
Question
Scan type - SDK/J vs SmartSDK
Incident Properties
Question
The SDK/J has four scan types under the ScanOrigType class. The SmartSDK has similar settings, but they are merged into the scanColor setting. I am trying to map settings between the old and new version of our product. Is there a one to one mapping between the SDK/J and SmartSDK?
SDK/J:
ScanOrgType.TEXT_TYPE
ScanOrgType.PHOTO_TYPE
ScanOrgType.MIXED_TYPE
ScanOrgType.OCR_TYPE
SmartSDK:
monochrome_text
monochrome_text_photo
monochrome_text_lineart
monochrome_photo
monochrome_drawing
I assume TEXT_TYPE = monochrome_text, PHOTO_TYPE = monochrome_photo, and MIXED_TYPE = monochrome_text_photo. Is that correct? What is the equivlant of OCR_TYPE on the SmartSDK?
Regards,
Mike
SmartSDK WebAPI access token for remote application
Incident Properties
Question
Hi Team,
I'd like to access the WebAPI on the SmartSDK MFPs. It says I need an access token to put in the X-SS-AccessToken header of my requests. May I have one?
Thanks,
Andy
Unable to use Web APIs with hostname gw.machine.address when IPv6 network security inactive
Incident Properties
Question
Hello,
On an MFD that has IPv6 set to inactive (under WIM -> Configuration -> Network Security - TCP / IP) and IPv4 to active the following behaviour can be observed when using "gw.machine.address" to access Web APIs.
When it is performed from within our Android application it works
When it is performed from our web app servlet application that is bundled with our android application, it fails with a connection refused error. See error and stack trace in the attached logs.
Is it a known limitation that the MFD must be configured with IPv6 to use the Web API in a web application installed on the MFD? I'd expect to be able to use the "gw.machine.address" hostname and that would work regardless whether IPv4 or IPv6 is enabled / disabled.
We are looking at a possible workaround to issue a broadcast from our web app to our android app, have that perform the Web API call and then return a result.
Thanks,
Daniel
Function Priority - 401 Unauthorized
Incident Properties
Question
I have a server application that uses the /rws/sop/serverservice/funcpriority endpoint to set function priority on a device. The call works on all of our SOP devices except the C407. All of the devices are set up with the same machine administrator username and password. The application uses the Administrator 1 credentials for Priority-Func-Authorization and I am able to log in to WIM. The C407 is the only one that returns a 401 Unauthorized error. I don't see a response body containing error.auth_err or error.others.logging.in. How do I determine the cause of this?
I attached a screenshot of the "Program/Change Administrator" settings and firmware/application versions.
The version returned by /rws/property/smartSdkInfo is 2.32.
Regards,
Mike
WebAPI Production Access Token
Incident Properties
Question
Hello, I would like to request a new production Access Token because ours will be expiring in January. Here is the pertinent information:
Product ID: No product ID, this is a remote application
Vendor Name: Levi, Ray & Shoup, Inc.
Application Type: Remote Application (clients)
Application Name: Ricoh Deployment
URL Location: /rws/property/smartSdkInfoTarget
Version: 2.31MFP
Also, a question. I assume this Access Token will work just fine with the new Android devices coming out next year?
Thanks,
Bryan