Why are some of my WebAPI endpoint values being ignored on G3 devices
Many of theSmartSDK WebAPI endpoints accept JSON encoded entities for payload when starting jobs. These JSON values are the only way to set configuration for that job type, and are documented in the WebAPI Specifications for the appropriate endpoint.
For example, in order to enable scan previews when scanning via the /rws/service/scanner/jobs
endpoint, you construct a jobSettings
JSON blob with the "originalPreview
" key set to a JSON Boolean.
How can I support Scan rotation using the SmartSDK with PDF files?
The quick scan application does not rotate the scanned image. The rotation is done by scanner engine.
When a user put the original paper on ADF, the user configure that the user set the original paper set "readable" or "unreadable". Please attached the pictures of quick scan configuration screen.
And it is able to configure the readable or unreadable by scanner API parameter.
99. JSON Data Structure for Scanner Conditions (/doc/en/webapi/320-99-0100.htm?null)
How the detect the large supported paper size?
In order to detect the large supported paper size, you'll have to use the webapi /rws/service/scanner/capability to get the capability of the device. You will find the originalSizeList that list all the paper size of the device. Then you'll want to compare the size in the list to determine the large supported paper size.
Known:
When setting user permissions it matters if you have an A4 model or larger.
Reference: /doc/en/javaapi/101-63-0100.htm
User 99999999 is not able to print more than 500 pages, how to resolve?
The 500 pages is the default volume limitation.
This limit is NOT applied if all three are set:
(a) "Machine action when limit is reached",
(b) "Tracking Permission"
(c) "Stop Printing". (Last two are under "Enhanced Print Volume Use Limitation". )
When all three are set, the limit is controlled by the tracking application.
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
Can my scan application handle the stop button on the bottom right hand corner of the banner?
No. Unfortunately, there is no public API to handle the stop button.
Web BrowserNX: Can I create my own customized keypad on SmartSDK devices?
Web BrowserNX: Can I create my own customized keypad on SmartSDK devices?
There maybe cases where you want to disable the default alpha-numeric keypad that shows up on SmartSDK devices and use/create your own customized key pad.
To display your own key pad, perform the following:
Web BrowserNX: How do I enable numeric keypad on SmartSDK devices?
There maybe cases where you want to disable the default alpha-numeric keypad that shows up on SmartSDK devices. Fortunately, Android framework has this functionality build-in.
To display numeric key pad, perfrom the following:
- Identify the input field where desired funtionality is wanted
- Change the input type and pattern for the input field
How do I identify the file format in a scan job?
You can identify the file format with the value of Content-Type in the Response Header.
http://gw.machine.address:54080/rws/service/scanner/jobs/1bbr3nmj4zn6/file
This specification is based on the SmartSDK scan WebAPI ( ./xx_Release/doc/en/webapi/320-04-010.htm )
Http Header :Content-Type
Value:
1) image/tiff
2) image/jpeg
3) application/pdf
The ScanExRi sample code handles the file type with the following code: