HTML
<script type="text/javascript">
function printepl(epl) {
var printWindow = window.open();
printWindow.document.open('text/plain')
printWindow.document.write(epl);
printWindow.document.close();
printWindow.focus();
printWindow.print();
printWindow.close();
}
</script>
<input type="button" value="Print epl" onclick="printepl(document.getElementById('eplcode').value)" /><br/>
<textarea id="eplcode" cols="40" rows="10">I8,A,001
Q1215,024
q831
rN
S2
D5
ZT
JB
OD
R8,0
f100
N
A460,1101,2,4,1,1,N,"[PEDIDO SITE]"
A460,1139,2,4,1,1,N,"Pedido: [PEDIDO]"
A460,1026,2,4,1,1,N,"Qtde: [QTDE TOTAL]"
A460,988,2,4,1,1,N,"[NF]"
LO63,700,691,3
LO195,110,560,3
A756,480,2,4,1,1,N,"[DESTINO CIDADE] - [DESTINO UF]"
A756,511,2,4,1,1,N,"[DESTINO CEP]"
A460,1064,2,4,1,1,N,"[PEDIDO PRESENTE]"
A756,544,2,4,1,1,N,"[DESTINO BAIRRO]"
A756,577,2,4,1,1,N,"[DESTINO COMPLEMENTO]"
A460,950,2,4,1,1,N,"[SERVICOS]"
A756,689,2,4,1,1,N,"DESTINATARIO"
A751,142,2,4,1,1,N,"[REMETENTE CIDADE] - [REMETENTE UF]"
A751,172,2,4,1,1,N,"[REMETENTE CEP]"
A756,609,2,4,1,1,N,"[DESTINO ENDERECO]"
A663,1073,2,4,1,1,N,"[CONTRATO]"
A751,288,2,4,1,1,N,"Remetente"
A664,1046,2,4,1,1,N,"[EMPRESA]"
A756,643,2,4,1,1,N,"[NOME DESTINO]"
A751,200,2,4,1,1,N,"[REMETENTE BAIRRO]"
A751,255,2,4,1,1,N,"[REMETENTE NOME]"
B657,438,2,1,3,9,99,B,"[DESTINO CEP]"
B756,103,2,1,2,6,33,N,"[CODIGO FILIAL][PEDIDO]"
A751,228,2,4,1,1,N,"[REMETENTE ENDERECO]"
B657,872,2,1,3,9,111,N,"[TRACKING]"
P1
</textarea>