Přeskočit na hlavní obsah
For any questions, feel free to contact our integrations team at integrations@packeta.com

Packeta labels

Packeta labels are labels generated directly by the Packeta system. They are primarily intended for packets delivered within the Packeta network, including:

  • Packeta pick-up points (PUDOs)
  • Z-BOXes

For packets delivered by external carriers, we recommend using carrier labels instead of Packeta labels. For more information, see Label Types.

Available output formats​

PDF​

Methods:

Supported label formats:

  • A6 on A6 - 105x148 mm (A6) label on a page of the same size
  • A7 on A7 - 105x74 mm (A7) label on a page of the same size
  • A6 on A4 - 105x148 mm (A6) label on a page of size 210x297 mm (A4)
  • A7 on A4 - 105x74 mm (A7) label on a page of size 210x297 mm (A4)
  • 105x35mm on A4 - 105x35 mm label on a page of size 210x297 mm (A4)
  • A8 on A8 - 50x74 mm (A8) label on a page of the same size

Response format:

  • Base64-encoded PDF file
  • Decode the Base64 content before saving or printing

Label description​

Packeta label - regular

  1. Packeta logo
    • must be easily recognizable on the label
    • the Packeta logo can be obtained in format SVG or PNG

ZPL​

Method:

  • packetLabelZpl() when printing directly on Zebra-compatible or other ZPL-supported thermal printers.

Supported label formats:

  • A6
  • A7

Supported label resolution (DPI):

  • 203
  • 300

Response format:

  • Escaped ZPL content
  • Unescape the response before sending it to the printer

Example requests​

Example packetLabelPdf() request/response


<!--request-->
<packetLabelPdf>
<apiPassword>{{API_PASSWORD}}</apiPassword>
<packetId>1234567890</packetId>
<format>A6 on A6</format>
<offset>0</offset>
</packetLabelPdf>


<!--response-->
<response>
<status>ok</status>
<result>JVBERi0xLjcKJeLjz9MKNyAwIG9iago8P.....NDU1PiBdID4+CnN0YXJ0eHJlZgo4ODE1NwolJUVPRgo=</result>
</response>


Example packetsLabelsPdf() request/response


<!--request-->
<packetsLabelsPdf>
<apiPassword>{{API_PASSWORD}}</apiPassword>
<packetIds>
<id>1234567890</id>
<id>1234567891</id>
</packetIds>
<format>A6 on A6</format>
<offset>0</offset>
</packetsLabelsPdf>


<!--response-->
<response>
<status>ok</status>
<result>JVBERi0xLjcKJeLjz9MKNyAwIG9iago8PCAv.....OT4gXSA+PgpzdGFydHhyZWYKODg1MjQKJSVFT0YK</result>
</response>


Example packetLabelZpl() request/response


<!--request-->
<packetLabelZpl>
<apiPassword>{{API_PASSWORD}}</apiPassword>
<packetId>4308024368</packetId>
<dpi>300</dpi>
</packetLabelZpl>


<!--response-->
<?xml version="1.0" encoding="utf-8"?>
<response>
<status>ok</status>
<result>^XA^CI28^CWN,TT0003M_.FNT^LH0,0^FO25,25^GB1187,1700,4^FS^FO25,25^GB363,700,2^FS^FO100,100^BY4^BCB,140,N,N,N,A^FDZ4308024368^FS^ANB,50^FB700,1,0,C^FT322,725^FDZ 123 4567 890\&amp;^FS^FO388,25^GB230,700,2^FS^ANB,70^FB700,1,0,C^FT538,725^FDZasilkovna.cz\&amp;^FS^FO618,25^GB593,1133,2^FS^ANB,40^FB983,1,0,L^FT750,1083^FDPříjemce\&amp;^FS^ANB,50^FB983,1,0,L^FT830,1084^FDJohn Doe\&amp;^FS^ANB,50^FB983,1,0,L^FT829,1084^FDJohn Doe\&amp;^FS^ANB,50^FB983,1,0,L^FT828,1084^FDJohn Doe\&amp;^FS^ANB,50^FB983,1,0,L^FT828,1083^FDJohn Doe\&amp;^FS^ANB,50^FB983,1,0,L^FT828,1082^FDJohn Doe\&amp;^FS^ANB,50^FB983,1,0,L^FT829,1082^FDJohn Doe\&amp;^FS^ANB,50^FB983,1,0,L^FT830,1082^FDJohn Doe\&amp;^FS^ANB,50^FB983,1,0,L^FT830,1083^FDJohn Doe\&amp;^FS^FO841,591^GB73,491,73^FS^ANB,50^FB491,1,0,C^FR^FT903,1083^FDC25--0--8395\&amp;^FS^ANB,50^FB983,4,0,L^FT1126,1083^FDDEPO Praha - Nehvizdy\&amp;^FS^FO25,725^GB593,1000,2^FS^ANB,40^FB850,1,0,L^FT156,1650^FDOdesílatel\&amp;^FS^ANB,50^FB850,1,0,L^FT236,1650^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT235,1651^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT235,1650^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT234,1650^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT235,1649^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT235,1649^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT236,1649^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT236,1650^FDMyEshop.cz\&amp;^FS^ANB,50^FB850,1,0,L^FT310,1650^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT309,1651^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT309,1650^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT308,1650^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT309,1649^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT309,1649^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT310,1649^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT310,1650^FD12345 - test order\&amp;^FS^ANB,50^FB850,1,0,L^FT383,1650^FD=C16-D99-7135=P\&amp;^FS^ANB,50^FB850,1,0,L^FT457,1650^FD7.3.2022 10:00:07\&amp;^FS^ANB,40^FB850,2,0,L^FT584,1650^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT583,1651^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT582,1650^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT582,1650^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT582,1649^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT583,1649^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT584,1649^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT584,1650^FDNote:\&amp;^FS^ANB,40^FB850,2,0,L^FT583,1650^FDNote: Label note\&amp;^FS^FO618,1158^GB593,566,2^FS^XZ</result>
</response>


Packeta label format example​

A7 Packeta label example:

A7 label

A8 Packeta label example:

A8 label