Send File
[URL scheme]
Configure the URL scheme as shown below:
brotherwebprint://send?filename=file.prn
[HTTP]
Configure the HTTP as shown below:
Send file via HTTP (Androidâ„¢ only)
brotherwebprint://send?filename=file.prn
Sample response for send file via HTTP (Androidâ„¢ only)
Success
<response>
<result>SUCCESS</result>
</response>
Failure
<response>
<result>Data transmission error</result>
<code>ERROR_COMMUNICATION_ERROR</code>
</response>
[Required parameters]
Parameter | Description |
Example values |
---|---|---|
filename | Single layout file Supported format: prn, bin * Set local or Internet path |
Local path: file.prn Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.prn |
filename[index] | Multiple layout file Supported format: prn, bin * Set local or Internet path |
Local path: file1.prn Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.prn |
*Parameter settings must be UTF-8-encoded and URL-encoded, including colons and slashes.
[Optional parameters]
Parameter | Description | Default setting | Example values |
---|---|---|---|
fileattach | Set the base64 data as a print file to attach to a URL scheme. (single layout) |
- | base64Data |
fileattach_filename[index] | Set the base64 data as a print file to attach to a URL scheme. (multiple layout) |
- | base64Data |
formatarchiveupdate | Update and save files. 0 = Off 1 = On |
0 | 1 |