Ir para conteúdo
  • Cadastre-se

dev botao

Erro Swedastx


Ver Solução Respondido por andersonh,
  • Este tópico foi criado há 3521 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado (editado)

Pessoal esta dando erro ao finalizar cupom fiscal no modelo SwedaSTX, segue abaixo código do erro. Aproveitando a oportunidade o tamanho para upload de arquivo em anexo esta muito pequeno, estou postando log no tópico.

Percebi que o erro é quando executa comando PulaLinhas, mas não consegui identificar o porque.

--------------------------------------------------------------------------------
ATIVAR - 02/04/15 15:21:07:758 - Modelo: SwedaSTX - Porta: COM4 - TimeOut: 30
         Device: BAUD=9600 DATA=8 PARITY=N STOP=1 HANDSHAKE=DTR/DSR MAXBANDWIDTH=0
--------------------------------------------------------------------------------

-- 15:21:07:761 RetornaInfoECF(I1)
                TX -> [STX]+34|I1[ETX][141]
   15:21:07:783 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:07:876 RX <- (Bloco) = [STX]+34I0001SWEDA[NUL][ESC].IF ST200[NUL][ESC]+ECF-IF[NUL][NUL]SW03120[ESC]'30114 [NUL]01.00.05[NUL]G[ETX][218]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:07:908 RX <- (Bloco) = [STX]+34+0000AA[128][192][146][128][128]I1[ETX]P
                TX -> ACK = 6 Falha: 0
   15:21:07:912 RX <- [STX]+34I0001SWEDA[NUL][ESC].IF ST200[NUL][ESC]+ECF-IF[NUL][NUL]SW03120[ESC]'30114 [NUL]01.00.05[NUL]G[ETX][218][STX]+34+0000AA[128][192][146][128][128]I1[ETX]P
   Registrador: I1 Retorno: SWEDA[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]IF ST200[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]ECF-IF[NUL][NUL]SW031200000000030114 [NUL]01.00.05[NUL]G[ETX][218][STX]+34+0000AA[128][192][146][128][128]I1
-- 15:21:07:915 RetornaInfoECF(H2)
                TX -> [STX],34|H2[ETX][142]
   15:21:07:934 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:07:979 RX <- (Bloco) = [STX],34H0002[NUL][ESC]#001[NUL]SSN[ETX]e
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:08:011 RX <- (Bloco) = [STX],34+0000AA[128][192][146][128][128]H2[ETX]Q
                TX -> ACK = 6 Falha: 0
   15:21:08:014 RX <- [STX],34H0002[NUL][ESC]#001[NUL]SSN[ETX]e[STX],34+0000AA[128][192][146][128][128]H2[ETX]Q
   Registrador: H2 Retorno: [NUL][NUL][NUL][NUL][NUL]001[NUL]SSN[ETX]e[STX],34+0000AA[128][192][146][128][128]H2
-- 15:21:08:018 RetornaInfoECF(U2)
                TX -> [STX]-34|U2[ETX][156]
   15:21:08:037 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:08:073 RX <- (Bloco) = [STX]-34U00023NN[ETX][127]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:08:106 RX <- (Bloco) = [STX]-34+0000AA[128][192][146][128][128]U2[ETX]_
                TX -> ACK = 6 Falha: 0
   15:21:08:109 RX <- [STX]-34U00023NN[ETX][127][STX]-34+0000AA[128][192][146][128][128]U2[ETX]_
   Registrador: U2 Retorno: 3NN[ETX][127][STX]-34+0000AA[128][192][146][128][128]U2
-- 15:21:08:113 RetornaInfoECF(R2)
                TX -> [STX].34|R2[ETX][154]
   15:21:08:132 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:08:222 RX <- (Bloco) = [STX].34R0002STAR[NUL][ESC]'TSP100[NUL][ESC]#TERMICA[NUL][ESC]"B122410170576203203083[ESC]"[ETX][218]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:08:255 RX <- (Bloco) = [STX].34+0000AA[128][192][146][128][128]R2[ETX]]
                TX -> ACK = 6 Falha: 0
   15:21:08:258 RX <- [STX].34R0002STAR[NUL][ESC]'TSP100[NUL][ESC]#TERMICA[NUL][ESC]"B122410170576203203083[ESC]"[ETX][218][STX].34+0000AA[128][192][146][128][128]R2[ETX]]
   Registrador: R2 Retorno: STAR[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]TSP100[NUL][NUL][NUL][NUL][NUL]TERMICA[NUL][NUL][NUL][NUL]B122410170576203203083333[ETX][218][STX].34+0000AA[128][192][146][128][128]R2
-- 15:21:08:262 Estado
                TX -> [STX]/34[ETX][155]
   15:21:08:278 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:08:319 RX <- (Bloco) = [STX]/34+0000AA[128][192][146][128][128][ETX][218]
                TX -> ACK = 6 Falha: 0
   15:21:08:322 RX <- [STX]/34+0000AA[128][192][146][128][128][ETX][218]
                TX -> [STX]056|4/JANDIRA[ETX]x
   15:21:08:353 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:08:509 RX <- (Bloco) = [STX]056+0000AA[128][192][146][128][128][ETX][223]
                TX -> ACK = 6 Falha: 0
-- 15:21:10:979 IdentificaOperador(4/JANDIRA)
                TX -> [STX]134|I8[ETX][154]
   15:21:11:001 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:059 RX <- (Bloco) = [STX]134I000802/04/2015[NUL]15:20:54[NUL][NUL][ETX]?
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:090 RX <- (Bloco) = [STX]134+0000AA[128][192][146][128][128]I8[ETX]]
                TX -> ACK = 6 Falha: 0
   15:21:11:094 RX <- [STX]134I000802/04/2015[NUL]15:20:54[NUL][NUL][ETX]?[STX]134+0000AA[128][192][146][128][128]I8[ETX]]
   Registrador: I8 Retorno: 02/04/2015[NUL]15:20:54[NUL][NUL][ETX]?[STX]134+0000AA[128][192][146][128][128]I8
-- 15:21:11:098 NumSerie
                TX -> [STX]234|I1[ETX][148]
   15:21:11:116 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:209 RX <- (Bloco) = [STX]234I0001SWEDA[NUL][ESC].IF ST200[NUL][ESC]+ECF-IF[NUL][NUL]SW03120[ESC]'30114 [NUL]01.00.05[NUL]G[ETX][225]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:241 RX <- (Bloco) = [STX]234+0000AA[128][192][146][128][128]I1[ETX]W
                TX -> ACK = 6 Falha: 0
   15:21:11:245 RX <- [STX]234I0001SWEDA[NUL][ESC].IF ST200[NUL][ESC]+ECF-IF[NUL][NUL]SW03120[ESC]'30114 [NUL]01.00.05[NUL]G[ETX][225][STX]234+0000AA[128][192][146][128][128]I1[ETX]W
   Registrador: I1 Retorno: SWEDA[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]IF ST200[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]ECF-IF[NUL][NUL]SW031200000000030114 [NUL]01.00.05[NUL]G[ETX][225][STX]234+0000AA[128][192][146][128][128]I1
-- 15:21:11:248 NumSerieMFD
                TX -> [STX]334|I32[ETX][201]
   15:21:11:268 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:357 RX <- (Bloco) = [STX]334I003201MFDSW01000100125[NUL][ESC]$20/09/2012[NUL]17:34:16[NUL][NUL][ETX][128]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:390 RX <- (Bloco) = [STX]334+0000AA[128][192][146][128][128]I32[ETX][140]
                TX -> ACK = 6 Falha: 0
   15:21:11:394 RX <- [STX]334I003201MFDSW01000100125[NUL][ESC]$20/09/2012[NUL]17:34:16[NUL][NUL][ETX][128][STX]334+0000AA[128][192][146][128][128]I32[ETX][140]
   Registrador: I32 Retorno: 01MFDSW01000100125[NUL][NUL][NUL][NUL][NUL][NUL]20/09/2012[NUL]17:34:16[NUL][NUL][ETX][128][STX]334+0000AA[128][192][146][128][128]I32
-- 15:21:11:398 NumECF
                TX -> [STX]434|H2[ETX][150]
   15:21:11:416 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:461 RX <- (Bloco) = [STX]434H0002[NUL][ESC]#001[NUL]SSN[ETX]m
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:493 RX <- (Bloco) = [STX]434+0000AA[128][192][146][128][128]H2[ETX]Y
                TX -> ACK = 6 Falha: 0
   15:21:11:497 RX <- [STX]434H0002[NUL][ESC]#001[NUL]SSN[ETX]m[STX]434+0000AA[128][192][146][128][128]H2[ETX]Y
   Registrador: H2 Retorno: [NUL][NUL][NUL][NUL][NUL]001[NUL]SSN[ETX]m[STX]434+0000AA[128][192][146][128][128]H2
-- 15:21:11:501 NumLoja
                TX -> [STX]534|D4[ETX][149]
   15:21:11:523 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:584 RX <- (Bloco) = [STX]534D0004170012000700250018001700[ETX]S
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:616 RX <- (Bloco) = [STX]534+0000AA[128][192][146][128][128]D4[ETX]X
                TX -> ACK = 6 Falha: 0
   15:21:11:618 RX <- [STX]534D0004170012000700250018001700[ETX]S[STX]534+0000AA[128][192][146][128][128]D4[ETX]X
   Registrador: D4 Retorno: 170012000700250018001700[ETX]S[STX]534+0000AA[128][192][146][128][128]D4
-- 15:21:11:620 
                TX -> [STX]634|E4[ETX][151]
   15:21:11:637 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:670 RX <- (Bloco) = [STX]634E0004[ETX][171]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:701 RX <- (Bloco) = [STX]634+0000AA[128][192][146][128][128]E4[ETX]Z
                TX -> ACK = 6 Falha: 0
   15:21:11:704 RX <- [STX]634E0004[ETX][171][STX]634+0000AA[128][192][146][128][128]E4[ETX]Z
   Registrador: E4 Retorno: [ETX][171][STX]634+0000AA[128][192][146][128][128]E4
-- 15:21:11:706 
                TX -> [STX]734|E2[ETX][150]
   15:21:11:723 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:755 RX <- (Bloco) = [STX]734E0002[ETX][170]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:786 RX <- (Bloco) = [STX]734+0000AA[128][192][146][128][128]E2[ETX]Y
                TX -> ACK = 6 Falha: 0
   15:21:11:788 RX <- [STX]734E0002[ETX][170][STX]734+0000AA[128][192][146][128][128]E2[ETX]Y
   Registrador: E2 Retorno: [ETX][170][STX]734+0000AA[128][192][146][128][128]E2
-- 15:21:11:791 
                TX -> [STX]834|D2[ETX][150]
   15:21:11:808 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:861 RX <- (Bloco) = [STX]834D00020[ESC]%4175250[ESC]_[ETX][252]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:11:893 RX <- (Bloco) = [STX]834+0000AA[128][192][146][128][128]D2[ETX]Y
                TX -> ACK = 6 Falha: 0
   15:21:11:897 RX <- [STX]834D00020[ESC]%4175250[ESC]_[ETX][252][STX]834+0000AA[128][192][146][128][128]D2[ETX]Y
   Registrador: D2 Retorno: 000000041752500000000000000000000000000000000000000000000000000000000000000000[ETX][252][STX]834+0000AA[128][192][146][128][128]D2
-- 15:21:11:901 
                TX -> [STX]965|9999[ETX][TAB]
   15:21:11:921 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:12:642 RX <- (Bloco) = [STX]965+0000AA[128][192][146][128][128]SWEDA[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]IF ST200[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]ECF-IF[NUL][NUL]SW031200000000030114 [NUL]001MFDSW01000100125[NUL][NUL][NUL][NUL][NUL]0189.753.255/0001-39[NUL][NUL][NUL]082/0005860[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]R$[NUL][NUL][NUL]S071101/04/2015[NUL]17:59:53[NUL][NUL]01160401/04/2015[NUL]0116040002[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000GT[NUL][NUL][NUL]000000000137568187VB[NUL][NUL][NUL]000000000000000000ON[NUL][NUL][NUL]000000000000000000[ETX][131]
                TX -> ACK = 6 Falha: 0
   15:21:12:646 RX <- [STX]965+0000AA[128][192][146][128][128]SWEDA[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]IF ST200[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]ECF-IF[NUL][NUL]SW031200000000030114 [NUL]001MFDSW01000100125[NUL][NUL][NUL][NUL][NUL]0189.753.255/0001-39[NUL][NUL][NUL]082/0005860[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]R$[NUL][NUL][NUL]S071101/04/2015[NUL]17:59:53[NUL][NUL]01160401/04/2015[NUL]0116040002[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000GT[NUL][NUL][NUL]000000000137568187VB[NUL][NUL][NUL]000000000000000000ON[NUL][NUL][NUL]000000000000000000[ETX][131]
-- 15:21:12:651 LerTotaisAliquota
                TX -> [STX]:34|E2[ETX][153]
   15:21:12:669 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:12:703 RX <- (Bloco) = [STX]:34E0002[ETX][173]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:12:735 RX <- (Bloco) = [STX]:34+0000AA[128][192][146][128][128]E2[ETX]\
                TX -> ACK = 6 Falha: 0
   15:21:12:738 RX <- [STX]:34E0002[ETX][173][STX]:34+0000AA[128][192][146][128][128]E2[ETX]\
   Registrador: E2 Retorno: [ETX][173][STX]:34+0000AA[128][192][146][128][128]E2
-- 15:21:12:742 
                TX -> [STX];34|D2[ETX][153]
   15:21:12:760 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:12:814 RX <- (Bloco) = [STX];34D00020[ESC]%4175250[ESC]_[ETX][255]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:12:846 RX <- (Bloco) = [STX];34+0000AA[128][192][146][128][128]D2[ETX]\
                TX -> ACK = 6 Falha: 0
   15:21:12:849 RX <- [STX];34D00020[ESC]%4175250[ESC]_[ETX][255][STX];34+0000AA[128][192][146][128][128]D2[ETX]\
   Registrador: D2 Retorno: 000000041752500000000000000000000000000000000000000000000000000000000000000000[ETX][255][STX];34+0000AA[128][192][146][128][128]D2
-- 15:21:12:970 Estado
                TX -> [STX]<34[ETX][168]
   15:21:12:985 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:13:567 RX <- (Bloco) = [STX]<34+0000AA[128][192][146][128][128][ETX][231]
                TX -> ACK = 6 Falha: 0
   15:21:13:571 RX <- [STX]<34+0000AA[128][192][146][128][128][ETX][231]
-- 15:21:13:572 NumECF
                TX -> [STX]=34|H2[ETX][159]
   15:21:13:772 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:13:817 RX <- (Bloco) = [STX]=34H0002[NUL][ESC]#001[NUL]SSN[ETX]v
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:13:849 RX <- (Bloco) = [STX]=34+0000AA[128][192][146][128][128]H2[ETX]b
                TX -> ACK = 6 Falha: 0
   15:21:13:852 RX <- [STX]=34H0002[NUL][ESC]#001[NUL]SSN[ETX]v[STX]=34+0000AA[128][192][146][128][128]H2[ETX]b
   Registrador: H2 Retorno: [NUL][NUL][NUL][NUL][NUL]001[NUL]SSN[ETX]v[STX]=34+0000AA[128][192][146][128][128]H2
-- 15:21:13:858 NumCupom
                TX -> [STX]>34|A4[ETX][155]
   15:21:13:877 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:13:959 RX <- (Bloco) = [STX]>34A0004000207110009220057120037370[ESC]%11611000100040[ESC]&[ETX]*
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:13:991 RX <- (Bloco) = [STX]>34+0000AA[128][192][146][128][128]A4[ETX]^
                TX -> ACK = 6 Falha: 0
   15:21:13:994 RX <- [STX]>34A0004000207110009220057120037370[ESC]%11611000100040[ESC]&[ETX]*[STX]>34+0000AA[128][192][146][128][128]A4[ETX]^
   Registrador: A4 Retorno: 000207110009220057120037370000000116110001000400000000[ETX]*[STX]>34+0000AA[128][192][146][128][128]A4
-- 15:21:13:999 SubModeloECF
                TX -> [STX]?34|I1[ETX][161]
   15:21:14:022 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:14:114 RX <- (Bloco) = [STX]?34I0001SWEDA[NUL][ESC].IF ST200[NUL][ESC]+ECF-IF[NUL][NUL]SW03120[ESC]'30114 [NUL]01.00.05[NUL]G[ETX][238]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:14:146 RX <- (Bloco) = [STX]?34+0000AA[128][192][146][128][128]I1[ETX]d
                TX -> ACK = 6 Falha: 0
   15:21:14:150 RX <- [STX]?34I0001SWEDA[NUL][ESC].IF ST200[NUL][ESC]+ECF-IF[NUL][NUL]SW03120[ESC]'30114 [NUL]01.00.05[NUL]G[ETX][238][STX]?34+0000AA[128][192][146][128][128]I1[ETX]d
   Registrador: I1 Retorno: SWEDA[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]IF ST200[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]ECF-IF[NUL][NUL]SW031200000000030114 [NUL]01.00.05[NUL]G[ETX][238][STX]?34+0000AA[128][192][146][128][128]I1
-- 15:21:14:154 DataHora
                TX -> [STX]@34|I8[ETX][169]
   15:21:14:173 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:14:229 RX <- (Bloco) = [STX]@34I000802/04/2015[NUL]15:20:57[NUL][NUL][ETX]Q
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:14:260 RX <- (Bloco) = [STX]@34+0000AA[128][192][146][128][128]I8[ETX]l
                TX -> ACK = 6 Falha: 0
   15:21:14:262 RX <- [STX]@34I000802/04/2015[NUL]15:20:57[NUL][NUL][ETX]Q[STX]@34+0000AA[128][192][146][128][128]I8[ETX]l
   Registrador: I8 Retorno: 02/04/2015[NUL]15:20:57[NUL][NUL][ETX]Q[STX]@34+0000AA[128][192][146][128][128]I8
-- 15:21:14:265 Estado
                TX -> [STX]A34[ETX][173]
   15:21:14:279 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:14:321 RX <- (Bloco) = [STX]A34+0000AA[128][192][146][128][128][ETX][236]
                TX -> ACK = 6 Falha: 0
   15:21:14:327 RX <- [STX]A34+0000AA[128][192][146][128][128][ETX][236]
-- 15:21:43:398 Estado
                TX -> [STX]B34[ETX][174]
   15:21:43:447 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:43:488 RX <- (Bloco) = [STX]B34+0000AA[128][192][146][128][128][ETX][237]
                TX -> ACK = 6 Falha: 0
   15:21:43:491 RX <- [STX]B34+0000AA[128][192][146][128][128][ETX][237]
-- 15:21:43:493 AbreCupom( , ,  )
                TX -> [STX]C01[ETX][169]
   15:21:43:508 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:43:721 RX <- (Bloco) = [STX]C01+0000AC[128][144][146][128][128][ETX][186]
                TX -> ACK = 6 Falha: 0
   15:21:43:725 TX -> (Status) [STX]D34[ETX][176]
   15:21:43:740 RX <- ACK = 6
                OK... Aguardando Bloco
                RX <- 6 = [STX]D34+000
                RX <- 6 = [STX]D34+000
                RX <- 1 = 0AC[128][144][146][128][128]
                RX <- 1 = 0AC[128][144][146][128][128]
                RX <- 1 = [ETX][193]
                RX <- 1 = [ETX][193]
                TimeOut estendido
   15:21:44:786 RX <- (Bloco) = [STX]D34+0000AC[128][144][146][128][128][ETX][193]
                TX -> ACK = 6 Falha: 0
   15:21:44:794 RX <- [STX]C01+0000AC[128][144][146][128][128][ETX][186][STX]D34+0000AC[128][144][146][128][128][ETX][193]
-- 15:21:44:796 NumCupom
                TX -> [STX]E34|A4[ETX][162]
   15:21:44:813 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:44:894 RX <- (Bloco) = [STX]E34A0004000207110009220057120037380[ESC]%11612000100050[ESC]&[ETX]4
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:44:926 RX <- (Bloco) = [STX]E34+0000AC[128][144][146][128][128]A4[ETX]7
                TX -> ACK = 6 Falha: 0
   15:21:44:928 RX <- [STX]E34A0004000207110009220057120037380[ESC]%11612000100050[ESC]&[ETX]4[STX]E34+0000AC[128][144][146][128][128]A4[ETX]7
   Registrador: A4 Retorno: 000207110009220057120037380000000116120001000500000000[ETX]4[STX]E34+0000AC[128][144][146][128][128]A4
-- 15:21:44:934 NumCupom
                TX -> [STX]F34|I8[ETX][175]
   15:21:44:951 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:45:009 RX <- (Bloco) = [STX]F34I000802/04/2015[NUL]15:21:27[NUL][NUL][ETX]U
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:45:041 RX <- (Bloco) = [STX]F34+0000AC[128][144][146][128][128]I8[ETX]D
                TX -> ACK = 6 Falha: 0
   15:21:45:045 RX <- [STX]F34I000802/04/2015[NUL]15:21:27[NUL][NUL][ETX]U[STX]F34+0000AC[128][144][146][128][128]I8[ETX]D
   Registrador: I8 Retorno: 02/04/2015[NUL]15:21:27[NUL][NUL][ETX]U[STX]F34+0000AC[128][144][146][128][128]I8
-- 15:21:45:049 Estado
                TX -> [STX]G34[ETX][179]
   15:21:45:064 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:45:105 RX <- (Bloco) = [STX]G34+0000AC[128][144][146][128][128][ETX][196]
                TX -> ACK = 6 Falha: 0
   15:21:45:108 RX <- [STX]G34+0000AC[128][144][146][128][128][ETX][196]
-- 15:21:45:109 Estado
                TX -> [STX]H34[ETX][180]
   15:21:45:124 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:45:166 RX <- (Bloco) = [STX]H34+0000AC[128][144][146][128][128][ETX][197]
                TX -> ACK = 6 Falha: 0
   15:21:45:170 RX <- [STX]H34+0000AC[128][144][146][128][128][ETX][197]
-- 15:21:45:172 VendeItem( 8920041520188 , MEIA  BEBE , 17,00T , 1 , 5 , 0 , UN , $ , D , -1 )
                TX -> [STX]I02|1,000|8920041520188|5,000|UN|T17,00%|MEIA  BEBE|T[ETX]`
   15:21:45:239 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:45:568 RX <- (Bloco) = [STX]I02+0000AC[128][144][146][128][128][ETX][193]
                TX -> ACK = 6 Falha: 0
   15:21:45:572 RX <- [STX]I02+0000AC[128][144][146][128][128][ETX][193]
-- 15:21:45:575 NumUltimoItem
                TX -> [STX]J34|L2[ETX][176]
   15:21:45:624 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:45:706 RX <- (Bloco) = [STX]J34L000200018920041520188[NUL][ESC]+0[ESC]"10[ESC]*50[ESC][149][ETX][147]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:45:739 RX <- (Bloco) = [STX]J34+0000AC[128][144][146][128][128]L2[ETX]E
                TX -> ACK = 6 Falha: 0
   15:21:45:743 RX <- [STX]J34L000200018920041520188[NUL][ESC]+0[ESC]"10[ESC]*50[ESC][149][ETX][147][STX]J34+0000AC[128][144][146][128][128]L2[ETX]E
   Registrador: L2 Retorno: 00018920041520188[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]00001000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000[ETX][147][STX]J34+0000AC[128][144][146][128][128]L2
-- 15:21:45:843 Estado
                TX -> [STX]K34[ETX][183]
   15:21:45:859 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:46:473 RX <- (Bloco) = [STX]K34+0000AC[128][144][146][128][128][ETX][200]
                TX -> ACK = 6 Falha: 0
   15:21:46:477 RX <- [STX]K34+0000AC[128][144][146][128][128][ETX][200]
-- 15:21:46:479 Subtotal
                TX -> [STX]L34|L1[ETX][177]
   15:21:46:497 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:46:575 RX <- (Bloco) = [STX]L34L0001C101161200010[ESC](50[ESC]*50[ESC]*50[ESC]:[ETX][166]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:46:606 RX <- (Bloco) = [STX]L34+0000AC[128][144][146][128][128]L1[ETX]F
                TX -> ACK = 6 Falha: 0
   15:21:46:608 RX <- [STX]L34L0001C101161200010[ESC](50[ESC]*50[ESC]*50[ESC]:[ETX][166][STX]L34+0000AC[128][144][146][128][128]L1[ETX]F
   Registrador: L1 Retorno: C1011612000100000000005000000000000500000000000050000000000000000000000000000[ETX][166][STX]L34+0000AC[128][144][146][128][128]L1
-- 15:21:47:565 NumECF
                TX -> [STX]M34|H2[ETX][175]
   15:21:47:582 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:47:626 RX <- (Bloco) = [STX]M34H0002[NUL][ESC]#001[NUL]SSN[ETX][134]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:47:658 RX <- (Bloco) = [STX]M34+0000AC[128][144][146][128][128]H2[ETX]D
                TX -> ACK = 6 Falha: 0
   15:21:47:662 RX <- [STX]M34H0002[NUL][ESC]#001[NUL]SSN[ETX][134][STX]M34+0000AC[128][144][146][128][128]H2[ETX]D
   Registrador: H2 Retorno: [NUL][NUL][NUL][NUL][NUL]001[NUL]SSN[ETX][134][STX]M34+0000AC[128][144][146][128][128]H2
-- 15:21:47:670 Subtotal
                TX -> [STX]N34|I8[ETX][183]
   15:21:47:689 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:47:747 RX <- (Bloco) = [STX]N34I000802/04/2015[NUL]15:21:30[NUL][NUL][ETX]W
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:47:778 RX <- (Bloco) = [STX]N34+0000AC[128][144][146][128][128]I8[ETX]L
                TX -> ACK = 6 Falha: 0
   15:21:47:780 RX <- [STX]N34I000802/04/2015[NUL]15:21:30[NUL][NUL][ETX]W[STX]N34+0000AC[128][144][146][128][128]I8[ETX]L
   Registrador: I8 Retorno: 02/04/2015[NUL]15:21:30[NUL][NUL][ETX]W[STX]N34+0000AC[128][144][146][128][128]I8
-- 15:21:47:782 NumCupom
                TX -> [STX]O34|A4[ETX][172]
   15:21:47:800 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:47:881 RX <- (Bloco) = [STX]O34A0004000207110009220057120037380[ESC]%11612000100050[ESC]&[ETX]>
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:47:913 RX <- (Bloco) = [STX]O34+0000AC[128][144][146][128][128]A4[ETX]A
                TX -> ACK = 6 Falha: 0
   15:21:47:917 RX <- [STX]O34A0004000207110009220057120037380[ESC]%11612000100050[ESC]&[ETX]>[STX]O34+0000AC[128][144][146][128][128]A4[ETX]A
   Registrador: A4 Retorno: 000207110009220057120037380000000116120001000500000000[ETX]>[STX]O34+0000AC[128][144][146][128][128]A4
-- 15:21:55:136 NumECF
                TX -> [STX]P34|I8[ETX][185]
   15:21:55:155 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:55:213 RX <- (Bloco) = [STX]P34I000802/04/2015[NUL]15:21:38[NUL][NUL][ETX]a
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:55:245 RX <- (Bloco) = [STX]P34+0000AC[128][144][146][128][128]I8[ETX]N
                TX -> ACK = 6 Falha: 0
   15:21:55:248 RX <- [STX]P34I000802/04/2015[NUL]15:21:38[NUL][NUL][ETX]a[STX]P34+0000AC[128][144][146][128][128]I8[ETX]N
   Registrador: I8 Retorno: 02/04/2015[NUL]15:21:38[NUL][NUL][ETX]a[STX]P34+0000AC[128][144][146][128][128]I8
-- 15:21:55:340 Estado
                TX -> [STX]Q34[ETX][189]
   15:21:55:356 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:55:972 RX <- (Bloco) = [STX]Q34+0000AC[128][144][146][128][128][ETX][206]
                TX -> ACK = 6 Falha: 0
   15:21:55:975 RX <- [STX]Q34+0000AC[128][144][146][128][128][ETX][206]
-- 15:21:55:977 SubtotalizaCupom( 0 ,  )
                TX -> [STX]R64[ETX][193]
   15:21:55:994 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:104 RX <- (Bloco) = [STX]R64+0000AC[128][144][146][128][128][ETX][210]
                TX -> ACK = 6 Falha: 0
   15:21:56:108 RX <- [STX]R64+0000AC[128][144][146][128][128][ETX][210]
-- 15:21:56:109 Subtotal
                TX -> [STX]S34|L1[ETX][184]
   15:21:56:186 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:269 RX <- (Bloco) = [STX]S34L0001C201161200010[ESC](50[ESC]*50[ESC]*50[ESC]:[ETX][174]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:303 RX <- (Bloco) = [STX]S34+0000AC[128][160][146][128][128]L1[ETX]]
                TX -> ACK = 6 Falha: 0
   15:21:56:305 RX <- [STX]S34L0001C201161200010[ESC](50[ESC]*50[ESC]*50[ESC]:[ETX][174][STX]S34+0000AC[128][160][146][128][128]L1[ETX]]
   Registrador: L1 Retorno: C2011612000100000000005000000000000500000000000050000000000000000000000000000[ETX][174][STX]S34+0000AC[128][160][146][128][128]L1
-- 15:21:56:308 Estado
                TX -> [STX]T34[ETX][192]
   15:21:56:323 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:369 RX <- (Bloco) = [STX]T34+0000AC[128][160][146][128][128][ETX][225]
                TX -> ACK = 6 Falha: 0
   15:21:56:375 RX <- [STX]T34+0000AC[128][160][146][128][128][ETX][225]
-- 15:21:56:376 CarregaFormasPagamento
                TX -> [STX]U34|B4[ETX][179]
   15:21:56:394 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:494 RX <- (Bloco) = [STX]U34B0004DINHEIRO[NUL][ESC]+CHEQUE[NUL][ESC]-CARTAO[NUL][ESC]-VENDA A PRAZO[NUL][ESC]&TICKET[NUL][ESC]-[ETX],
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:529 RX <- (Bloco) = [STX]U34+0000AC[128][160][146][128][128]B4[ETX]X
                TX -> ACK = 6 Falha: 0
   15:21:56:533 RX <- [STX]U34B0004DINHEIRO[NUL][ESC]+CHEQUE[NUL][ESC]-CARTAO[NUL][ESC]-VENDA A PRAZO[NUL][ESC]&TICKET[NUL][ESC]-[ETX],[STX]U34+0000AC[128][160][146][128][128]B4[ETX]X
   Registrador: B4 Retorno: DINHEIRO[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]CHEQUE[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]CARTAO[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]VENDA A PRAZO[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL]TICKET[NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][NUL][ETX],[STX]U34+0000AC[128][160][146][128][128]B4
-- 15:21:56:536 
                TX -> [STX]V34|B2[ETX][178]
   15:21:56:555 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:593 RX <- (Bloco) = [STX]V34B0002[ESC]$[ETX][ENQ]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:628 RX <- (Bloco) = [STX]V34+0000AC[128][160][146][128][128]B2[ETX]W
                TX -> ACK = 6 Falha: 0
   15:21:56:632 RX <- [STX]V34B0002[ESC]$[ETX][ENQ][STX]V34+0000AC[128][160][146][128][128]B2[ETX]W
   Registrador: B2 Retorno: 22222[ETX][ENQ][STX]V34+0000AC[128][160][146][128][128]B2
-- 15:21:56:635 FormasPagamento
                TX -> [STX]W06|01|5,00|[ETX]X
   15:21:56:660 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:56:800 RX <- (Bloco) = [STX]W06+0000AC[128][176][146][128][128]2015,00[ETX]G
                TX -> ACK = 6 Falha: 0
   15:21:56:801 RX <- [STX]W06+0000AC[128][176][146][128][128]2015,00[ETX]G
-- 15:21:56:802 TotalPago
                TX -> [STX]X34|L1[ETX][189]
   15:21:56:834 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:57:061 RX <- (Bloco) = [STX]X34L0001C301161200010[ESC](50[ESC]*50[ESC]750[ESC]-[ETX][180]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:21:57:096 RX <- (Bloco) = [STX]X34+0000AC[128][176][146][128][128]L1[ETX]r
                TX -> ACK = 6 Falha: 0
   15:21:57:100 RX <- [STX]X34L0001C301161200010[ESC](50[ESC]*50[ESC]750[ESC]-[ETX][180][STX]X34+0000AC[128][176][146][128][128]L1[ETX]r
   Registrador: L1 Retorno: C3011612000100000000005000000000000500000000000000000000000005000000000000000[ETX][180][STX]X34+0000AC[128][176][146][128][128]L1
-- 15:21:57:106 FechaCupom( Obrigado pela Prefer[234]ncia! )
                TX -> [STX]Y07|Obrigado pela Prefer[234]ncia![ETX]T
   15:21:57:153 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:57:243 RX <- (Bloco) = [STX]Y07+0000AC[128][176][146][128][128][ETX][246]
                TX -> ACK = 6 Falha: 0
   15:21:57:246 TX -> (Status) [STX]Z34[ETX][198]
   15:21:57:762 RX <- ACK = 6
                OK... Aguardando Bloco
                RX <- 6 = [STX]Z34+000
                RX <- 6 = [STX]Z34+000
                RX <- 1 = 0AA[128][192][146][128][128]
                RX <- 1 = 0AA[128][192][146][128][128]
                RX <- 1 = [ETX][ENQ]
                RX <- 1 = [ETX][ENQ]
                TimeOut estendido
   15:21:58:891 RX <- (Bloco) = [STX]Z34+0000AA[128][192][146][128][128][ETX][ENQ]
                TX -> ACK = 6 Falha: 0
   15:21:58:899 RX <- [STX]Y07+0000AC[128][176][146][128][128][ETX][246][STX]Z34+0000AA[128][192][146][128][128][ETX][ENQ]
-- 15:21:58:902 Estado
                TX -> [STX][34[ETX][199]
   15:21:58:918 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:58:959 RX <- (Bloco) = [STX][34+0000AA[128][192][146][128][128][ETX][ACK]
                TX -> ACK = 6 Falha: 0
   15:21:58:963 RX <- [STX][34+0000AA[128][192][146][128][128][ETX][ACK]
-- 15:21:58:966 PulaLinhas( 10 ) 
                TX -> [STX]\25|[LF][LF][LF][LF][LF][LF][LF][LF][LF][LF][ETX][168]
   15:21:58:997 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:21:59:038 RX <- (Bloco) = [STX]\25-0058AA[128][192][146][128][128][ETX][22]
                TX -> ACK = 6 Falha: 0
   15:21:59:041 RX <- [STX]\25-0058AA[128][192][146][128][128][ETX][22]
----------------- ERRO -----------------
Erro retornado pela Impressora: SwedaSTX

Erro (0058) Comando ou operação inválida!
----------------------------------------

-- 15:22:03:539 NumECF
                TX -> [STX]]34|H2[ETX][191]
   15:22:03:558 RX <- ACK = 6 Falha: 0
                TimeOut estendido
   15:22:03:603 RX <- (Bloco) = [STX]]34H0002[NUL][ESC]#001[NUL]SSN[ETX][150]
                TX -> ACK = 6 Falha: 0
                TimeOut estendido
   15:22:03:635 RX <- (Bloco) = [STX]]34+0000AA[128][192][146][128][128]H2[ETX][130]
                TX -> ACK = 6 Falha: 0
   15:22:03:638 RX <- [STX]]34H0002[NUL][ESC]#001[NUL]SSN[ETX][150][STX]]34+0000AA[128][192][146][128][128]H2[ETX][130]
   Registrador: H2 Retorno: [NUL][NUL][NUL][NUL][NUL]001[NUL]SSN[ETX][150][STX]]34+0000AA[128][192][146][128][128]H2
-- 15:22:07:985 Estado
                TX -> [STX]^34[ETX][202]
Editado por andersonh

EL Soluções em Informática

Desenvolvimento  e Suporte (ERP, NF-e, CT-e, Sped Fiscal, EFD Contribuições, Emissor de Cupom Fiscal)
Ronda Alta - RS

(54)3364-1588
www.elinfo.com.br

 

  • Fundadores
Postado

Na grande maioria dos ECFs, o comando PulaLinhas somente é aceito dentro de um Relatório Gerencial ou CCD...

 

Se vc quer pular linhas após o fechamento do cupom, isso deve ser programado no momento da lacração do ECF...

Consultor SAC ACBr

Daniel Simões de Almeida
O melhor TEF, é com o Projeto ACBr - Clique e Conheça
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

  • Solution
Postado

Na grande maioria dos ECFs, o comando PulaLinhas somente é aceito dentro de um Relatório Gerencial ou CCD...

 

Se vc quer pular linhas após o fechamento do cupom, isso deve ser programado no momento da lacração do ECF...

Exatamente isso Daniel, obrigado. Tive que criar condição para o modelo específico do ECF para executar o comando PulaLinhas.

EL Soluções em Informática

Desenvolvimento  e Suporte (ERP, NF-e, CT-e, Sped Fiscal, EFD Contribuições, Emissor de Cupom Fiscal)
Ronda Alta - RS

(54)3364-1588
www.elinfo.com.br

 

  • Este tópico foi criado há 3521 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar Agora
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.