Print PDF
Single Layout Printing
[URL scheme]
Configure the URL scheme as shown below:
brotherwebprint://print?filename=file.pdf&size=26x76.bin&copies=1
[HTTP]
Single Layout Printing via HTTP (Android™ only)
http://localhost:8088/print?filename=file.pdf&size=26x76.bin&copies=1
Sample response for Single Layout Printing via HTTP (Android™ only)
Success
<response>
<result>SUCCESS</result>
</response>
Failure
<response>
<result>The printer cover is open</result>
<code>PrinterStatusErrorCoverOpen</code>
</response>
Multiple Layout Printing
[URL scheme]
brotherwebprint://print?filename1=file1.pdf&filename2=file2.pdf&…&size=26x76.bin&copies=1
*An index in the filename is required. A Filename without an index will be ignored and will not be printed.
*0 or a positive integer can be configured as an inde
[HTTP]
Multiple Layout Printing via HTTP (Android™ only)
http://localhost:8088/print?filename1=file1.pdf&filename2=file2.pdf&…&size=26x76.bin&copies=1
*An index in the filename is required. A Filename without an index will be ignored and will not be printed.
*0 or a positive integer can be configured as an index.
Sample response for Multiple Layout Printing via HTTP (Android™ only)
Success
<response>
<result>SUCCESS</result>
</response>
Failure
<response>
<result>The printer cover is open</result>
<code>PrinterStatusErrorCoverOpen</code>
<suspendedIndex>1</suspendedIndex>
</response>
Parameters
[Required parameters]
Make sure you specify the template and media size, as shown below, and ensure that both are URL-encoded.
Parameters can be in any order.
To use a PDF file or a media settings file (BIN file) from another app, share the files with Smooth Print using the "file sharing function" (an OS standard function).
Once the file is shared, specify the file name in the URL scheme before printing.
RJ, TD-2 and TD-4D series:
*When specifying the paper size using Optional parameters (media settings), it is not necessary to set the size parameter.
Parameter | Configurable setting |
Example |
---|---|---|
filename | Single layout template file (.lbx) - Set local or Internet path |
Local path: file.lbx Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.lbx |
filename[index] | Multiple layout template file (.lbx) - Set local or Internet path |
Local path: file1.lbx Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.lbx |
size | Media settings file (bin) - Set local or Internet path |
Local path: 26x76.bin Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.bin |
MW, PJ, PT, QL series:
*PJ series does not support the A5 landscape paper size.
*For PJ series, when specifying the paper size using Optional parameters (media settings), it is not necessary to set the size parameter.
Parameter | Configurable setting |
Example |
---|---|---|
filename | Single layout template file (.lbx) - Set local or Internet path |
Local path: file.lbx Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.lbx |
filename[index] | Multiple layout template file (.lbx) - Set local or Internet path |
Local path: file1.lbx Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.lbx |
size | For MW series, use the paper size ID for the "size" parameter. For PJ series, use the paper size ID for the "size" parameter. For QL series, use the paper size IDfor the "size" parameter. For PT series, use the paper size ID for the "size" parameter. |
For MW series: A6 For PJ series: A4 For QL series: DieCutW62H29 For PT series: Width18mm |
RJ-2035B, RJ-2055WB, RJ-3035B, RJ-3055WB, TD-4T and TJ series:
Parameter | Configurable setting |
Example |
---|---|---|
filename | Single layout template file (.lbx) - Set local or Internet path |
local path: file.lbx Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.lbx |
filename[index] | Multiple layout template file (.lbx) - Set local or Internet path |
Local path: file1.lbx Internet path: http%3A%2F%2Fexample.com%2F%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB.lbx |
paperType | Paper types typeB |
typeB |
tapeWidth | Media width (mm) | 50 |
tapeLength | Media length (mm) | 50 |
speed | Print speed (inch/sec) 1, 1.5, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 |
4 |
density | Set the brightness between 1 (light) and 15 (dark). |
8 |
sensor | Sensor 0 = Gap sensor 1 = Black mark sensor |
0 |
vertical | Gap between labels or height of black mark (mm) 0 or higher |
0 |
offset | Print area offset (mm) 0 or higher |
0 |
dpi | Resolution 203, 300, 600 |
300 |
* For information on your model's configurable print speed, see the "SPEED" command in the FBPL Command Reference guide [PDF].
"paperType" parameter settings
✓: supported, -: not supported
paperType | roll | dieCut | markRoll | custom | typeB |
---|---|---|---|---|---|
tapeWidth | ✓ | ✓ | ✓ | ✓ | ✓ |
margin_top | ✓ | ✓ | ✓ | - | ✓ |
margin_left | ✓ | ✓ | ✓ | - | ✓ |
margin_bottom | ✓ | ✓ | ✓ | - | ✓ |
margin_right | ✓ | ✓ | ✓ | - | ✓ |
unit | ✓ | ✓ | ✓ | - | - |
tapeLength | - | ✓ | ✓ | ✓ | ✓ |
gapLength | - | ✓ | - | - | - |
markVerticalOffset | - | - | ✓ | - | - |
markLength | - | - | ✓ | - | - |
offset | - | - | - | - | ✓ |
sensor | - | - | - | - | ✓ |
conveying_offset | - | - | - | - | ✓ |
[Optional parameters]
See below.
Optional parameters
URL Encoding
Parameter settings must be UTF-8-encoded and URL-encoded, including colons and slashes.
File names are case-sensitive except when they are used in Android™ local paths.