Add label image data code subtype
parent
01ddea095b
commit
58c686b94f
4
Home.md
4
Home.md
@ -121,14 +121,14 @@ Position | Meaning
|
|||||||
2 | URL, starting with `http://` or `https://`
|
2 | URL, starting with `http://` or `https://`
|
||||||
|
|
||||||
|
|
||||||
### Subtype `l` (L): Print-ready 4x6 inch (100x150mm) shipping label data
|
### Subtype `l`: Print-ready 4x6 inch (100x150mm) shipping label data
|
||||||
|
|
||||||
This type contains a base64-encoded 1200x1800 PNG image for printing, and optionally an associated tracking number. Due to the data size, it is recommended to use this as the reply to a `u` type request, and not encode in a barcode directly.
|
This type contains a base64-encoded 1200x1800 PNG image for printing, and optionally an associated tracking number. Due to the data size, it is recommended to use this as the reply to a `u` type request, and not encode in a barcode directly.
|
||||||
|
|
||||||
Position | Meaning
|
Position | Meaning
|
||||||
---------|--------
|
---------|--------
|
||||||
0 | Format header (`QSv1`)
|
0 | Format header (`QSv1`)
|
||||||
1 | Subtype header (`l`)
|
1 | Subtype header (`l`, lowercase L)
|
||||||
2 | 1200x1800 PNG file, Base64 encoded. Keep in mind that the image will be downscaled to 800x1200 if printed on a 200dpi label printer.
|
2 | 1200x1800 PNG file, Base64 encoded. Keep in mind that the image will be downscaled to 800x1200 if printed on a 200dpi label printer.
|
||||||
3 | Tracking number for the shipping label represented in the image. May be left empty if not applicable.
|
3 | Tracking number for the shipping label represented in the image. May be left empty if not applicable.
|
||||||
4 | Destination postal code. May be empty.
|
4 | Destination postal code. May be empty.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user