Unable to add icon to the home screen
Incident Properties
Question
<p>I am attempting to use the /rws/sop/serverservice/homescreenicon endpoint to add an icon to the home screen. When I make the following POST request, I always receive an error 401 Unauthorized. I am able to log in to the device using the same username and password (webpage and panel). Is there anything else that would cause a 401 error?</p><p> </p><div>POST /rws/sop/serverservice/homescreenicon HTTP/1.1</div><div>Host: 192.168.0.79</div><div>X-SOP-Authorization: admin:ZmFic29mdA==</div><div>Content-Type: application/x-www-form-urlencoded<br /><br />add-icon-package=com.fabsoft.most.app.scan&duplicate-permission=false</div>
SOP printing best practices
Incident Properties
Question
Dear RIDP,
Ricoh CXDM in Chicago is now working on a new SOP app to print some simple document templates direct from the SOP. Think graph paper, sign-in sheets, to-do lists, planners, music score page, etc...
I am just writing to get some high-level tips or advice on printing from the SOP using Web API.
What I would like to know is what is the best format? We are currently planning to use PDF.
Is there anything we should know about PDF format? Our designer will be creating the PDFs in-house.
Any other advice or tips for printing?
Thanks,
Nick
What are the best strategies/restrictions with regards to removing/deleting users from the addressbook?
The administrator with the user management authorization can delete a user while the user is not logged in. A user can not delete himself.
The SmartSDK custom authentication mechanism requires the logged in user to be registered in the address book. There are two strategies to eliminate or reduce the user information in the address book.
(a) delete the user from the address book AFTER the user logs out
(b) register the user with a temporary user information
(a) Delete the user from the address book AFTER the user logs out
Using the WebAPI can I delete a print job without jobid and user permission?
Using Web Image Monitor of the device you are able to reset all printer jobs. In the WebAPI there is no similar functionality.
There are 2 potential ways to cancel jobs.
Option-1: Use SmartSDK API
WebAbi Call
Incident Properties
Question
Hi,
We are on a deep study on how to use the web api, and we get a question at /rws/log/printerlog/devicelog/joblog.json.
When i do a get request like in file:
- GET /rws/log/printerlog/devicelog/joblog HTTP/1.1
- Host: 172.31.253.11
- Authorization: Basic YWRtaW46YWRtaW4=
- User-Agent: insomnia/5.0.20
- Accept-Encoding: deflate, gzip
- Cookie: cookieOnOffChecker=on
- Accept: application/json
, i receive a expected result whith an xml with the joblogs from the machine, but when i do get request like:
- GET /rws/log/printerlog/devicelog/joblog.json HTTP/1.1
- Host: 172.31.253.11
- Authorization: Basic YWRtaW46YWRtaW4=
- User-Agent: insomnia/5.0.20
- Accept-Encoding: deflate, gzip
- Cookie: cookieOnOffChecker=on
- Accept: application/json
i got a message :
- {
- "errors": [
- {
- "message_id": "error.no_indispensable_header",
- "message": ""
- }
- ]
- }
issue with Job Information calls
Incident Properties
Question
Use WebAPI form site outside MFP to scan, send and print.
Incident Properties
Question
Hi,
We have a customer who wants to implement a web solution, hosted externally (not "inside" the MFP), and accesible through the MFP´s web browser.
From the web page, the user must be able to scan, send and print files. I think using WebAPI this can be done, but as I never have done this before, I have a couple of dubts.
The questions about this are:
1 - Can this be done? (open external web from MFP, scan, send and print from it)
2 - Do the web site must to be sent to certification process? Do the web site must be "production signed" in some way?
Best regards,
Martin.
Can't gather print jobs
Incident Properties
Question
How to get scanned image or file
Incident Properties
Question
Hi,
I'm following the code in scan sample to process a scan job. But I fail to get the scanned image with "ScanImage" class. I tried to use both getImageFilePath() and getImageInputStream(int pageNo) function, they both return "InvalidResponseException: 404 Not Found". I also tried my the function on real machine. It also gives 404 exception.
The scan job passed to "ScanImage" class in its constructor is not null. And I call the get scanned image functions when scan job is in COMPLETED status. I also tried in both SCAN_AND_SEND and SCAN_AND_STORE_LOCAL mode and neither works.
Any clue where I did wrong? Or is there any other method to get the scanned file?
Thanks
How to get the Device's Network Information?
Incident Properties
Question
Good evening,
We are trying to get the device's network information as described in the documentation "Common Information > WebAPI Specification > Device Setting: Network", by using the example as shown at "SmartOperation Panel > Sample Applications > Obtain Machine Information", however we are getting the following return:
System.out: NETWORK: http://gw.machine.address:54080/rws/property/network
03-10 16:35:34.158 8286 8780 E NDDPRINT --- : logic:MachineSSL:com.nddigital.nddPrint.wrapper.common.InvalidResponseException: 404 Not Found
03-10 16:35:34.158 8286 8780 E NDDPRINT --- : logic:MachineSSL:Request failed.
03-10 16:35:34.158 8286 8780 E NDDPRINT --- : Error code = 404
03-10 16:35:34.158 8286 8780 E NDDPRINT --- : error.path_no_exist :
Is there any setting to be performed? Or even a new sample on how to get these network information?
Best,
Guilherme Júlio