QLn420 Bluetooth printing

J James Reason 2 years 11 months ago
5 2 0

I have converted my Windows Phone 8 app up to the UWP and now i seem to be having trouble when trying to print more than 3 labels.
1 - 3 labels come out with no issues, however it will not seem to print more than 3.
 
The printer is running firmware V68.20.01Z
Below is the EPL generated from the app, and this is the data that is sent via bluetooth to the printer.
If i connect the printer to the laptop using a USB cable and paste the exact EPL into the Zebra Setup Utilities program and send the data to the printer, all of the labels print fine, so the problem appears to be isolated to Bluetooth.
 
How can i store / log / view the exact EPL that is being recieved via Bluetooth on the printer so that i can check that all of the data is being received?
 
Each EPL line is terminated with \r\n
 
Thanks
James
 
EPL:
 
N
B590,1080,3,1,9,9,146,N,"O62309586"
B553,555,2,1,2,2,41,B,"O62309586"
B553,443,2,1,2,2,41,B,"O62309586"
B553,320,2,1,2,2,41,B,"O62309586"
B553,113,2,1,2,2,60,B,"O62309586"
A553,575,2,2,1,1,N,"0481815"
A553,460,2,2,1,1,N,"0481815"
A553,340,2,2,1,1,N,"0481815"
A553,133,2,2,1,1,N,"0481815"
A553,23,2,2,1,1,N,"EX:"
A498,23,2,2,1,1,N,"128"
A428,23,2,2,1,1,N,"TO:"
A373,23,2,2,1,1,N,"F76"
A553,250,2,2,1,1,N,"EX:"
A498,250,2,2,1,1,N,"128"
A428,250,2,2,1,1,N,"TO:"
A373,250,2,2,1,1,N,"F76"
A553,370,2,2,1,1,N,"EX:"
A498,370,2,2,1,1,N,"128"
A428,370,2,2,1,1,N,"TO:"
A373,370,2,2,1,1,N,"F76"
A553,485,2,2,1,1,N,"EX:"
A498,485,2,2,1,1,N,"128"
A428,485,2,2,1,1,N,"TO:"
A373,485,2,2,1,1,N,"F76"
A30,1800,3,5,4,3,N,"F76"
A10,710,3,5,4,2,N,"ND"
A530,1000,3,5,1,1,N,"FP"
A530,1125,3,5,1,1,N,"128"
A80,1290,3,4,1,1,N,"  CON:"
A120,1290,3,4,1,1,N," FROM:"
A160,1290,3,4,1,1,N,"  REF:"
A200,1290,3,4,1,1,N,"TRACK:"
A40,1190,3,4,3,2,N,"0481815"
A120,1190,3,4,1,1,N,"Miscellaneous"
A160,1190,3,4,1,1,N,""
A600,1330,3,5,3,2,N,"001"
A750,1330,3,5,1,1,N,"OF"
A750,1240,3,5,1,1,N,"005"
A250,1800,3,5,1,1,N,"TEST 12"
A300,1800,3,5,1,1,N,"TEST 12"
A350,1800,3,5,1,1,N,""
A400,1800,3,5,1,1,N,"WIRRAL"
A480,1830,3,5,2,1,N,"CH49 5PE"
A500,1425,3,5,1,1,N,"GB"
A600,1830,3,4,3,1,N,"IN-CAB PRINTING BY LIVE DATA"
A770,1830,3,4,1,1,N,"PRINTED BY: Test Driver"
A480,1830,3,5,2,1,N,"CH49 5PE"
A770,175,3,4,1,1,N,"20/11/2017"
A770,400,3,4,1,1,N,"Despatch Date:"
A770,500,3,4,1,1,N,"200"
A770,700,3,4,1,1,N,"Weight(KG):"
b250,575,D,c14,r14,h20,"O62309586"
A135,320,3,4,1,1,N,"TEL: 01543 418000"
LO420,1840,410,120
P1
N
B590,1080,3,1,9,9,146,N,"O62309587"
B553,555,2,1,2,2,41,B,"O62309587"
B553,443,2,1,2,2,41,B,"O62309587"
B553,320,2,1,2,2,41,B,"O62309587"
B553,113,2,1,2,2,60,B,"O62309587"
A553,575,2,2,1,1,N,"0481815"
A553,460,2,2,1,1,N,"0481815"
A553,340,2,2,1,1,N,"0481815"
A553,133,2,2,1,1,N,"0481815"
A553,23,2,2,1,1,N,"EX:"
A498,23,2,2,1,1,N,"128"
A428,23,2,2,1,1,N,"TO:"
A373,23,2,2,1,1,N,"F76"
A553,250,2,2,1,1,N,"EX:"
A498,250,2,2,1,1,N,"128"
A428,250,2,2,1,1,N,"TO:"
A373,250,2,2,1,1,N,"F76"
A553,370,2,2,1,1,N,"EX:"
A498,370,2,2,1,1,N,"128"
A428,370,2,2,1,1,N,"TO:"
A373,370,2,2,1,1,N,"F76"
A553,485,2,2,1,1,N,"EX:"
A498,485,2,2,1,1,N,"128"
A428,485,2,2,1,1,N,"TO:"
A373,485,2,2,1,1,N,"F76"
A30,1800,3,5,4,3,N,"F76"
A10,710,3,5,4,2,N,"ND"
A530,1000,3,5,1,1,N,"FP"
A530,1125,3,5,1,1,N,"128"
A80,1290,3,4,1,1,N,"  CON:"
A120,1290,3,4,1,1,N," FROM:"
A160,1290,3,4,1,1,N,"  REF:"
A200,1290,3,4,1,1,N,"TRACK:"
A40,1190,3,4,3,2,N,"0481815"
A120,1190,3,4,1,1,N,"Miscellaneous"
A160,1190,3,4,1,1,N,""
A600,1330,3,5,3,2,N,"002"
A750,1330,3,5,1,1,N,"OF"
A750,1240,3,5,1,1,N,"005"
A250,1800,3,5,1,1,N,"TEST 12"
A300,1800,3,5,1,1,N,"TEST 12"
A350,1800,3,5,1,1,N,""
A400,1800,3,5,1,1,N,"WIRRAL"
A480,1830,3,5,2,1,N,"CH49 5PE"
A500,1425,3,5,1,1,N,"GB"
A600,1830,3,4,3,1,N,"IN-CAB PRINTING BY LIVE DATA"
A770,1830,3,4,1,1,N,"PRINTED BY: Test Driver"
A480,1830,3,5,2,1,N,"CH49 5PE"
A770,175,3,4,1,1,N,"20/11/2017"
A770,400,3,4,1,1,N,"Despatch Date:"
A770,500,3,4,1,1,N,"200"
A770,700,3,4,1,1,N,"Weight(KG):"
b250,575,D,c14,r14,h20,"O62309587"
A135,320,3,4,1,1,N,"TEL: 01543 418000"
LO420,1840,410,120
P1
N
B590,1080,3,1,9,9,146,N,"O62309588"
B553,555,2,1,2,2,41,B,"O62309588"
B553,443,2,1,2,2,41,B,"O62309588"
B553,320,2,1,2,2,41,B,"O62309588"
B553,113,2,1,2,2,60,B,"O62309588"
A553,575,2,2,1,1,N,"0481815"
A553,460,2,2,1,1,N,"0481815"
A553,340,2,2,1,1,N,"0481815"
A553,133,2,2,1,1,N,"0481815"
A553,23,2,2,1,1,N,"EX:"
A498,23,2,2,1,1,N,"128"
A428,23,2,2,1,1,N,"TO:"
A373,23,2,2,1,1,N,"F76"
A553,250,2,2,1,1,N,"EX:"
A498,250,2,2,1,1,N,"128"
A428,250,2,2,1,1,N,"TO:"
A373,250,2,2,1,1,N,"F76"
A553,370,2,2,1,1,N,"EX:"
A498,370,2,2,1,1,N,"128"
A428,370,2,2,1,1,N,"TO:"
A373,370,2,2,1,1,N,"F76"
A553,485,2,2,1,1,N,"EX:"
A498,485,2,2,1,1,N,"128"
A428,485,2,2,1,1,N,"TO:"
A373,485,2,2,1,1,N,"F76"
A30,1800,3,5,4,3,N,"F76"
A10,710,3,5,4,2,N,"ND"
A530,1000,3,5,1,1,N,"FP"
A530,1125,3,5,1,1,N,"128"
A80,1290,3,4,1,1,N,"  CON:"
A120,1290,3,4,1,1,N," FROM:"
A160,1290,3,4,1,1,N,"  REF:"
A200,1290,3,4,1,1,N,"TRACK:"
A40,1190,3,4,3,2,N,"0481815"
A120,1190,3,4,1,1,N,"Miscellaneous"
A160,1190,3,4,1,1,N,""
A600,1330,3,5,3,2,N,"003"
A750,1330,3,5,1,1,N,"OF"
A750,1240,3,5,1,1,N,"005"
A250,1800,3,5,1,1,N,"TEST 12"
A300,1800,3,5,1,1,N,"TEST 12"
A350,1800,3,5,1,1,N,""
A400,1800,3,5,1,1,N,"WIRRAL"
A480,1830,3,5,2,1,N,"CH49 5PE"
A500,1425,3,5,1,1,N,"GB"
A600,1830,3,4,3,1,N,"IN-CAB PRINTING BY LIVE DATA"
A770,1830,3,4,1,1,N,"PRINTED BY: Test Driver"
A480,1830,3,5,2,1,N,"CH49 5PE"
A770,175,3,4,1,1,N,"20/11/2017"
A770,400,3,4,1,1,N,"Despatch Date:"
A770,500,3,4,1,1,N,"200"
A770,700,3,4,1,1,N,"Weight(KG):"
b250,575,D,c14,r14,h20,"O62309588"
A135,320,3,4,1,1,N,"TEL: 01543 418000"
LO420,1840,410,120
P1
N
B590,1080,3,1,9,9,146,N,"O62309589"
B553,555,2,1,2,2,41,B,"O62309589"
B553,443,2,1,2,2,41,B,"O62309589"
B553,320,2,1,2,2,41,B,"O62309589"
B553,113,2,1,2,2,60,B,"O62309589"
A553,575,2,2,1,1,N,"0481815"
A553,460,2,2,1,1,N,"0481815"
A553,340,2,2,1,1,N,"0481815"
A553,133,2,2,1,1,N,"0481815"
A553,23,2,2,1,1,N,"EX:"
A498,23,2,2,1,1,N,"128"
A428,23,2,2,1,1,N,"TO:"
A373,23,2,2,1,1,N,"F76"
A553,250,2,2,1,1,N,"EX:"
A498,250,2,2,1,1,N,"128"
A428,250,2,2,1,1,N,"TO:"
A373,250,2,2,1,1,N,"F76"
A553,370,2,2,1,1,N,"EX:"
A498,370,2,2,1,1,N,"128"
A428,370,2,2,1,1,N,"TO:"
A373,370,2,2,1,1,N,"F76"
A553,485,2,2,1,1,N,"EX:"
A498,485,2,2,1,1,N,"128"
A428,485,2,2,1,1,N,"TO:"
A373,485,2,2,1,1,N,"F76"
A30,1800,3,5,4,3,N,"F76"
A10,710,3,5,4,2,N,"ND"
A530,1000,3,5,1,1,N,"FP"
A530,1125,3,5,1,1,N,"128"
A80,1290,3,4,1,1,N,"  CON:"
A120,1290,3,4,1,1,N," FROM:"
A160,1290,3,4,1,1,N,"  REF:"
A200,1290,3,4,1,1,N,"TRACK:"
A40,1190,3,4,3,2,N,"0481815"
A120,1190,3,4,1,1,N,"Miscellaneous"
A160,1190,3,4,1,1,N,""
A600,1330,3,5,3,2,N,"004"
A750,1330,3,5,1,1,N,"OF"
A750,1240,3,5,1,1,N,"005"
A250,1800,3,5,1,1,N,"TEST 12"
A300,1800,3,5,1,1,N,"TEST 12"
A350,1800,3,5,1,1,N,""
A400,1800,3,5,1,1,N,"WIRRAL"
A480,1830,3,5,2,1,N,"CH49 5PE"
A500,1425,3,5,1,1,N,"GB"
A600,1830,3,4,3,1,N,"IN-CAB PRINTING BY LIVE DATA"
A770,1830,3,4,1,1,N,"PRINTED BY: Test Driver"
A480,1830,3,5,2,1,N,"CH49 5PE"
A770,175,3,4,1,1,N,"20/11/2017"
A770,400,3,4,1,1,N,"Despatch Date:"
A770,500,3,4,1,1,N,"200"
A770,700,3,4,1,1,N,"Weight(KG):"
b250,575,D,c14,r14,h20,"O62309589"
A135,320,3,4,1,1,N,"TEL: 01543 418000"
LO420,1840,410,120
P1
N
B590,1080,3,1,9,9,146,N,"O62309590"
B553,555,2,1,2,2,41,B,"O62309590"
B553,443,2,1,2,2,41,B,"O62309590"
B553,320,2,1,2,2,41,B,"O62309590"
B553,113,2,1,2,2,60,B,"O62309590"
A553,575,2,2,1,1,N,"0481815"
A553,460,2,2,1,1,N,"0481815"
A553,340,2,2,1,1,N,"0481815"
A553,133,2,2,1,1,N,"0481815"
A553,23,2,2,1,1,N,"EX:"
A498,23,2,2,1,1,N,"128"
A428,23,2,2,1,1,N,"TO:"
A373,23,2,2,1,1,N,"F76"
A553,250,2,2,1,1,N,"EX:"
A498,250,2,2,1,1,N,"128"
A428,250,2,2,1,1,N,"TO:"
A373,250,2,2,1,1,N,"F76"
A553,370,2,2,1,1,N,"EX:"
A498,370,2,2,1,1,N,"128"
A428,370,2,2,1,1,N,"TO:"
A373,370,2,2,1,1,N,"F76"
A553,485,2,2,1,1,N,"EX:"
A498,485,2,2,1,1,N,"128"
A428,485,2,2,1,1,N,"TO:"
A373,485,2,2,1,1,N,"F76"
A30,1800,3,5,4,3,N,"F76"
A10,710,3,5,4,2,N,"ND"
A530,1000,3,5,1,1,N,"FP"
A530,1125,3,5,1,1,N,"128"
A80,1290,3,4,1,1,N,"  CON:"
A120,1290,3,4,1,1,N," FROM:"
A160,1290,3,4,1,1,N,"  REF:"
A200,1290,3,4,1,1,N,"TRACK:"
A40,1190,3,4,3,2,N,"0481815"
A120,1190,3,4,1,1,N,"Miscellaneous"
A160,1190,3,4,1,1,N,""
A600,1330,3,5,3,2,N,"005"
A750,1330,3,5,1,1,N,"OF"
A750,1240,3,5,1,1,N,"005"
A250,1800,3,5,1,1,N,"TEST 12"
A300,1800,3,5,1,1,N,"TEST 12"
A350,1800,3,5,1,1,N,""
A400,1800,3,5,1,1,N,"WIRRAL"
A480,1830,3,5,2,1,N,"CH49 5PE"
A500,1425,3,5,1,1,N,"GB"
A600,1830,3,4,3,1,N,"IN-CAB PRINTING BY LIVE DATA"
A770,1830,3,4,1,1,N,"PRINTED BY: Test Driver"
A480,1830,3,5,2,1,N,"CH49 5PE"
A770,175,3,4,1,1,N,"20/11/2017"
A770,400,3,4,1,1,N,"Despatch Date:"
A770,500,3,4,1,1,N,"200"
A770,700,3,4,1,1,N,"Weight(KG):"
b250,575,D,c14,r14,h20,"O62309590"
A135,320,3,4,1,1,N,"TEL: 01543 418000"
LO420,1840,410,120
P1

Please register or login to post a reply

2 Replies

V Vedsatx Saddvv

Hi James, You can put the printer into diagnostic mode.  Two options:
1. From Setup Utility, send the following, then send the data using your app over Bluetooth. The printer will print each hex byte it receives. Power cycle the printer to get it back to normal.
    ~JB

2. from Setup Utility, send the first three lines, then send the data using your app over Bluetooth. The printer will store the data it receives by every 3000 bytes. Use the fourth line to retrieve the data (in Setup Utility). The fifth line will turn off this function. Put a carriage return between each statement.

! U1 setvar "capture.channel1.max_length" "3000"
! U1 setvar "capture.channel1.delimiter" "\000"
! U1 setvar "capture.channel1.port" "bt"

! U1 getvar "capture.channel1.data.raw"

! U1 setvar "capture.channel1.port" "off"

V Vedsatx Saddvv

I don't think there is a way to check on the printer about what EPL code is received by the printer. But you can check the status of the printer to see if there is any remaining labels in the buffer or not.

When you migrated the app to UWP phone, did you take the latest release of Link-OS SDK? Did the problem exist before the migration? The EPL code attached to your post looks ok. Have you tried to send one label at a time to the printer to see if you can get more than 3 labels printed correctly?

CONTACT
Can’t find what you’re looking for?