Comando para Ignorar Faixa de Opções
Ir para o conteúdo principal
 
Busca 



Bematech Forum Biblioteca para Linux libbemafiscal - Bematech_FI_SubTotal
Posts destacados
Avalie este tópico: 2 post(s) Primeiro 1 Último

Biblioteca para Linux

O Fórum está sob moderação. Sua resposta será publicada após aprovada.
libbemafiscal - Bematech_FI_SubTotal

Bom dia!

Estou usando a função Bematech_FI_SubTotal pra retornar o subtotal da impressora MP 4200 TH FI MFB, mas ela me retorna sempre o mesmo valor, mesmo fazendo varias vendas e cancelamentos.

 

Alguém já passou por isso ou pode dizer o que é? As funções de cupom fiscal, estou usando somente as com final CV0909

 

Obrigado!

 

Segue o log xml:

<?xml version="1.0" encoding="ISO8859-1"?>
<bematech>
    <readBemaFIFile Time="19-02-2016 09:13:06:061">
        <NivelLog Time="19-02-2016 09:13:06:101">1</NivelLog>
        <Path Time="19-02-2016 09:13:06:125">./</Path>
        <BemaFI_version Time="19-02-2016 09:13:06:149">7,0,331</BemaFI_version>
        <Porta Time="19-02-2016 09:13:06:174">/dev/ttyACM0</Porta>
        <BaudRate Time="19-02-2016 09:13:06:198">9600</BaudRate>
        <Status Time="19-02-2016 09:13:06:222">0</Status>
        <Retorno Time="19-02-2016 09:13:06:247">0</Retorno>
        <StatusFuncao Time="19-02-2016 09:13:06:271">0</StatusFuncao>
        <ControlePorta Time="19-02-2016 09:13:06:296">0</ControlePorta>
        <ModoGaveta Time="19-02-2016 09:13:06:320">0</ModoGaveta>
        <CrLfVinculado Time="19-02-2016 09:13:06:344">1</CrLfVinculado>
        <CrLfGerencial Time="19-02-2016 09:13:06:369">1</CrLfGerencial>
        <TimeOutReducaoZ Time="19-02-2016 09:13:06:393">180</TimeOutReducaoZ>
        <TimeOutGerencialExtendido Time="19-02-2016 09:13:06:418">0</TimeOutGerencialExtendido>
        <ConfigRede Time="19-02-2016 09:13:06:442">0</ConfigRede>
        <Tentativas Time="19-02-2016 09:13:06:466">200</Tentativas>
        <WakMilisegundos Time="19-02-2016 09:13:06:491">40</WakMilisegundos>
        <TimeoutSegundos Time="19-02-2016 09:13:06:514">50</TimeoutSegundos>
        <VersaoAtoCotepe Time="19-02-2016 09:13:06:538">2</VersaoAtoCotepe>
        <TimeoutEscritaPorta Time="19-02-2016 09:13:06:563">100</TimeoutEscritaPorta>
        <TimeoutLeituraPorta Time="19-02-2016 09:13:06:589">10000</TimeoutLeituraPorta>
        <ProtocoloUnico Time="19-02-2016 09:13:06:613">1</ProtocoloUnico>
        <CAT52 Time="19-02-2016 09:13:06:637">0</CAT52>
        <CupomMania Time="19-02-2016 09:13:06:661">0</CupomMania>
        <MinasLegal Time="19-02-2016 09:13:06:685">0</MinasLegal>
        <NotaFiscalParanaense Time="19-02-2016 09:13:06:710">0</NotaFiscalParanaense>
        <NotaLegal Time="19-02-2016 09:13:06:734">0</NotaLegal>
        <ParaibaLegal Time="19-02-2016 09:13:06:758">0</ParaibaLegal>
        <CupomAdicional Time="19-02-2016 09:13:06:783">0</CupomAdicional>
        <Impressora Time="19-02-2016 09:13:06:807">1</Impressora>
        <EmulMFD Time="19-02-2016 09:13:06:832">1</EmulMFD>
        <Aliquota01 Time="19-02-2016 09:13:06:857"></Aliquota01>
        <Aliquota02 Time="19-02-2016 09:13:06:881"></Aliquota02>
        <Aliquota03 Time="19-02-2016 09:13:06:905"></Aliquota03>
        <Aliquota04 Time="19-02-2016 09:13:06:930"></Aliquota04>
        <Aliquota05 Time="19-02-2016 09:13:06:954"></Aliquota05>
        <Aliquota06 Time="19-02-2016 09:13:06:978"></Aliquota06>
        <Aliquota07 Time="19-02-2016 09:13:06:002"></Aliquota07>
        <Aliquota08 Time="19-02-2016 09:13:06:026"></Aliquota08>
        <Aliquota09 Time="19-02-2016 09:13:06:050"></Aliquota09>
        <Aliquota10 Time="19-02-2016 09:13:06:074"></Aliquota10>
        <Aliquota11 Time="19-02-2016 09:13:06:099"></Aliquota11>
        <Aliquota12 Time="19-02-2016 09:13:06:124"></Aliquota12>
        <Aliquota13 Time="19-02-2016 09:13:06:148"></Aliquota13>
        <Aliquota14 Time="19-02-2016 09:13:06:172"></Aliquota14>
        <Aliquota15 Time="19-02-2016 09:13:06:196"></Aliquota15>
        <Aliquota16 Time="19-02-2016 09:13:06:220"></Aliquota16>
        <COO Time="19-02-2016 09:13:06:243"></COO>
        <NumeroAplicativo Time="19-02-2016 09:13:06:266"></NumeroAplicativo>
        <CNPJ Time="19-02-2016 09:13:06:290"></CNPJ>
        <IE Time="19-02-2016 09:13:06:313"></IE>
        <IM Time="19-02-2016 09:13:06:336"></IM>
        <RazaoSocial Time="19-02-2016 09:13:06:359"></RazaoSocial>
        <NomeAplicativo Time="19-02-2016 09:13:06:382"></NomeAplicativo>
        <Versao Time="19-02-2016 09:13:06:405"></Versao>
        <Linha1 Time="19-02-2016 09:13:06:429"></Linha1>
        <Linha2 Time="19-02-2016 09:13:06:452"></Linha2>
        <IM_ECF Time="19-02-2016 09:13:06:475"></IM_ECF>
        <UF Time="19-02-2016 09:13:06:523"></UF>
        <Cidade Time="19-02-2016 09:13:06:549">Curitiba</Cidade>
        <Favorecido Time="19-02-2016 09:13:06:573">Bematech</Favorecido>
        <Return Time="19-02-2016 09:13:06:616">1</Return>
    </readBemaFIFile>
    <Bematech_FI_ModeloImpressora CV="0909" Time="19-02-2016 09:13:06:910">
        <ModeloImpressora Time="19-02-2016 09:13:06:166">MP4200FI</ModeloImpressora>
        <Return Time="19-02-2016 09:13:06:234">1</Return>
    </Bematech_FI_ModeloImpressora>
    <Bematech_FI_VersaoFirmwareCV0909 CV="0909" Time="19-02-2016 09:13:06:290">
        <Versao Time="19-02-2016 09:13:06:383">010002</Versao>
        <Return Time="19-02-2016 09:13:06:420">1</Return>
    </Bematech_FI_VersaoFirmwareCV0909>
    <Bematech_FI_RetornoAliquotasCV0909 CV="0909" Time="19-02-2016 09:13:06:459">
        <Aliquotas Time="19-02-2016 09:13:06:565">0700,1200,1800,2500,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000</Aliquotas>
        <Return Time="19-02-2016 09:13:06:597">1</Return>
    </Bematech_FI_RetornoAliquotasCV0909>
    <Bematech_FI_TabelaFormasPagamento CV="0909" Time="19-02-2016 09:13:06:644">
        <getLocaleCharset Time="19-02-2016 09:13:06:775">
            <Return Time="19-02-2016 09:13:06:844">1</Return>
        </getLocaleCharset>
        <TabelaFormasPagamento Time="19-02-2016 09:13:06:902">Dinheiro,0,CHEQUE,1,CHEQUE-PRE,1,TICKET,1,CONVENIO,1,CARTÃO,1,CREDICARD,1,VISA,1,REDE SHOP,1,BCO 24 HRS,1,RECEBIMENTO,1</TabelaFormasPagamento>
        <Return Time="19-02-2016 09:13:06:927">1</Return>
    </Bematech_FI_TabelaFormasPagamento>
    <Bematech_FI_ReducaoZCV0909 CV="0909" Time="19-02-2016 09:13:06:969">
        <date Time="19-02-2016 09:13:06:993">19/02/2016</date>
        <hour Time="19-02-2016 09:13:06:016">09:12:00</hour>
        <transmit Time="19-02-2016 09:13:06:039">1</transmit>
        <Bematech_FI_InicioFimGTsMFD CV="0909" Time="19-02-2016 09:13:06:092">
            <Bematech_FI_StatusMovimento CV="0909" Time="19-02-2016 09:13:06:120">
                <StatusMovimento Time="19-02-2016 09:13:06:272">17022016</StatusMovimento>
                <Return Time="19-02-2016 09:13:06:341">1</Return>
            </Bematech_FI_StatusMovimento>
            <Bematech_FI_GrandeTotal CV="0909" Time="19-02-2016 09:13:06:382">
                <TotalGrid Time="19-02-2016 09:13:06:487">000000000000176280</TotalGrid>
                <Return Time="19-02-2016 09:13:06:530">1</Return>
            </Bematech_FI_GrandeTotal>
            <GTInicial Time="19-02-2016 09:13:06:564">000000000000169530</GTInicial>
            <GTFinal Time="19-02-2016 09:13:06:594">000000000000176280</GTFinal>
            <Return Time="19-02-2016 09:13:06:625">1</Return>
        </Bematech_FI_InicioFimGTsMFD>
        <Bematech_FI_GrandeTotal CV="0909" Time="19-02-2016 09:13:09:464">
            <TotalGrid Time="19-02-2016 09:13:09:661">000000000000176280</TotalGrid>
            <Return Time="19-02-2016 09:13:09:711">1</Return>
        </Bematech_FI_GrandeTotal>
        <Return Time="19-02-2016 09:13:09:087">1</Return>
    </Bematech_FI_ReducaoZCV0909>
    <readBemaFIFile Time="19-02-2016 09:14:18:026">
        <NivelLog Time="19-02-2016 09:14:18:069">1</NivelLog>
        <Path Time="19-02-2016 09:14:18:093">./</Path>
        <BemaFI_version Time="19-02-2016 09:14:18:116">7,0,331</BemaFI_version>
        <Porta Time="19-02-2016 09:14:18:142">/dev/ttyACM0</Porta>
        <BaudRate Time="19-02-2016 09:14:18:167">9600</BaudRate>
        <Status Time="19-02-2016 09:14:18:192">0</Status>
        <Retorno Time="19-02-2016 09:14:18:218">0</Retorno>
        <StatusFuncao Time="19-02-2016 09:14:18:243">0</StatusFuncao>
        <ControlePorta Time="19-02-2016 09:14:18:268">0</ControlePorta>
        <ModoGaveta Time="19-02-2016 09:14:18:292">0</ModoGaveta>
        <CrLfVinculado Time="19-02-2016 09:14:18:317">1</CrLfVinculado>
        <CrLfGerencial Time="19-02-2016 09:14:18:342">1</CrLfGerencial>
        <TimeOutReducaoZ Time="19-02-2016 09:14:18:367">180</TimeOutReducaoZ>
        <TimeOutGerencialExtendido Time="19-02-2016 09:14:18:392">0</TimeOutGerencialExtendido>
        <ConfigRede Time="19-02-2016 09:14:18:417">0</ConfigRede>
        <Tentativas Time="19-02-2016 09:14:18:441">200</Tentativas>
        <WakMilisegundos Time="19-02-2016 09:14:18:466">40</WakMilisegundos>
        <TimeoutSegundos Time="19-02-2016 09:14:18:490">50</TimeoutSegundos>
        <VersaoAtoCotepe Time="19-02-2016 09:14:18:515">2</VersaoAtoCotepe>
        <TimeoutEscritaPorta Time="19-02-2016 09:14:18:540">100</TimeoutEscritaPorta>
        <TimeoutLeituraPorta Time="19-02-2016 09:14:18:565">10000</TimeoutLeituraPorta>
        <ProtocoloUnico Time="19-02-2016 09:14:18:591">1</ProtocoloUnico>
        <CAT52 Time="19-02-2016 09:14:18:615">0</CAT52>
        <CupomMania Time="19-02-2016 09:14:18:650">0</CupomMania>
        <MinasLegal Time="19-02-2016 09:14:18:675">0</MinasLegal>
        <NotaFiscalParanaense Time="19-02-2016 09:14:18:700">0</NotaFiscalParanaense>
        <NotaLegal Time="19-02-2016 09:14:18:724">0</NotaLegal>
        <ParaibaLegal Time="19-02-2016 09:14:18:749">0</ParaibaLegal>
        <CupomAdicional Time="19-02-2016 09:14:18:773">0</CupomAdicional>
        <Impressora Time="19-02-2016 09:14:18:797">1</Impressora>
        <EmulMFD Time="19-02-2016 09:14:18:821">1</EmulMFD>
        <Aliquota01 Time="19-02-2016 09:14:18:847"></Aliquota01>
        <Aliquota02 Time="19-02-2016 09:14:18:871"></Aliquota02>
        <Aliquota03 Time="19-02-2016 09:14:18:895"></Aliquota03>
        <Aliquota04 Time="19-02-2016 09:14:18:920"></Aliquota04>
        <Aliquota05 Time="19-02-2016 09:14:18:944"></Aliquota05>
        <Aliquota06 Time="19-02-2016 09:14:18:968"></Aliquota06>
        <Aliquota07 Time="19-02-2016 09:14:18:992"></Aliquota07>
        <Aliquota08 Time="19-02-2016 09:14:18:017"></Aliquota08>
        <Aliquota09 Time="19-02-2016 09:14:18:041"></Aliquota09>
        <Aliquota10 Time="19-02-2016 09:14:18:065"></Aliquota10>
        <Aliquota11 Time="19-02-2016 09:14:18:089"></Aliquota11>
        <Aliquota12 Time="19-02-2016 09:14:18:114"></Aliquota12>
        <Aliquota13 Time="19-02-2016 09:14:18:138"></Aliquota13>
        <Aliquota14 Time="19-02-2016 09:14:18:163"></Aliquota14>
        <Aliquota15 Time="19-02-2016 09:14:18:188"></Aliquota15>
        <Aliquota16 Time="19-02-2016 09:14:18:212"></Aliquota16>
        <COO Time="19-02-2016 09:14:18:236"></COO>
        <NumeroAplicativo Time="19-02-2016 09:14:18:259"></NumeroAplicativo>
        <CNPJ Time="19-02-2016 09:14:18:283"></CNPJ>
        <IE Time="19-02-2016 09:14:18:306"></IE>
        <IM Time="19-02-2016 09:14:18:329"></IM>
        <RazaoSocial Time="19-02-2016 09:14:18:353"></RazaoSocial>
        <NomeAplicativo Time="19-02-2016 09:14:18:376"></NomeAplicativo>
        <Versao Time="19-02-2016 09:14:18:400"></Versao>
        <Linha1 Time="19-02-2016 09:14:18:423"></Linha1>
        <Linha2 Time="19-02-2016 09:14:18:446"></Linha2>
        <IM_ECF Time="19-02-2016 09:14:18:470"></IM_ECF>
        <UF Time="19-02-2016 09:14:18:493"></UF>
        <Cidade Time="19-02-2016 09:14:18:517">Curitiba</Cidade>
        <Favorecido Time="19-02-2016 09:14:18:541">Bematech</Favorecido>
        <Return Time="19-02-2016 09:14:18:585">1</Return>
    </readBemaFIFile>
    <Bematech_FI_ModeloImpressora CV="0909" Time="19-02-2016 09:14:18:877">
        <ModeloImpressora Time="19-02-2016 09:14:18:123">MP4200FI</ModeloImpressora>
        <Return Time="19-02-2016 09:14:18:194">1</Return>
    </Bematech_FI_ModeloImpressora>
    <Bematech_FI_VersaoFirmwareCV0909 CV="0909" Time="19-02-2016 09:14:18:238">
        <Versao Time="19-02-2016 09:14:18:333">010002</Versao>
        <Return Time="19-02-2016 09:14:18:373">1</Return>
    </Bematech_FI_VersaoFirmwareCV0909>
    <Bematech_FI_RetornoAliquotasCV0909 CV="0909" Time="19-02-2016 09:14:18:413">
        <Aliquotas Time="19-02-2016 09:14:18:528">0700,1200,1800,2500,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000</Aliquotas>
        <Return Time="19-02-2016 09:14:18:568">1</Return>
    </Bematech_FI_RetornoAliquotasCV0909>
    <Bematech_FI_TabelaFormasPagamento CV="0909" Time="19-02-2016 09:14:18:630">
        <getLocaleCharset Time="19-02-2016 09:14:18:733">
            <Return Time="19-02-2016 09:14:18:773">1</Return>
        </getLocaleCharset>
        <TabelaFormasPagamento Time="19-02-2016 09:14:18:823">Dinheiro,0,CHEQUE,1,CHEQUE-PRE,1,TICKET,1,CONVENIO,1,CARTÃO,1,CREDICARD,1,VISA,1,REDE SHOP,1,BCO 24 HRS,1,RECEBIMENTO,1</TabelaFormasPagamento>
        <Return Time="19-02-2016 09:14:18:856">1</Return>
    </Bematech_FI_TabelaFormasPagamento>
    <Bematech_FI_SubTotal CV="0909" Time="19-02-2016 09:14:18:905">
        <SubTotal Time="19-02-2016 09:14:18:100">00000000001000</SubTotal>
        <Return Time="19-02-2016 09:14:18:125">1</Return>
    </Bematech_FI_SubTotal>
    <Bematech_FI_AbreCupomMFD CV="0909" Time="19-02-2016 09:14:18:462">
        <CPF Time="19-02-2016 09:14:18:497"></CPF>
        <name Time="19-02-2016 09:14:18:534"></name>
        <address Time="19-02-2016 09:14:18:560"></address>
        <Bematech_FI_AbreCupomCV0909 CV="0909" Time="19-02-2016 09:14:18:588">
            <CPF Time="19-02-2016 09:14:18:613"></CPF>
            <name Time="19-02-2016 09:14:18:636"></name>
            <address Time="19-02-2016 09:14:18:658"></address>
            <Bematech_FI_ContadorCupomFiscal CV="0909" Time="19-02-2016 09:14:19:526">
                <Counter Time="19-02-2016 09:14:19:784">000000051</Counter>
                <Return Time="19-02-2016 09:14:19:833">1</Return>
            </Bematech_FI_ContadorCupomFiscal>
            <Return Time="19-02-2016 09:14:19:340">1</Return>
        </Bematech_FI_AbreCupomCV0909>
        <Return Time="19-02-2016 09:14:19:509">1</Return>
    </Bematech_FI_AbreCupomMFD>
    <Bematech_FI_VendeItemCV0909 CV="0909" Time="19-02-2016 09:14:19:639">
        <code Time="19-02-2016 09:14:19:667">7894900011609</code>
        <description Time="19-02-2016 09:14:19:690">COCA-COLA</description>
        <tax Time="19-02-2016 09:14:19:713">T03</tax>
        <quantity Time="19-02-2016 09:14:19:736">1,00</quantity>
        <decimal Time="19-02-2016 09:14:19:759">2</decimal>
        <unitaryValue Time="19-02-2016 09:14:19:781">4,50</unitaryValue>
        <unitOfMeasure Time="19-02-2016 09:14:19:803">UN</unitOfMeasure>
        <decimalsUnitaryValue Time="19-02-2016 09:14:19:826">2</decimalsUnitaryValue>
        <typeOfCalculation Time="19-02-2016 09:14:19:848">T</typeOfCalculation>
        <Return Time="19-02-2016 09:14:20:985">1</Return>
    </Bematech_FI_VendeItemCV0909>
    <Bematech_FI_EfetuaFormaPagamentoIndiceCV0909 CV="0909" Time="19-02-2016 09:14:20:134">
        <paymentFormIndex Time="19-02-2016 09:14:20:161">01</paymentFormIndex>
        <value Time="19-02-2016 09:14:20:185">4,50</value>
        <payments Time="19-02-2016 09:14:20:207">01</payments>
        <description Time="19-02-2016 09:14:20:229"></description>
        <paymentFormCode Time="19-02-2016 09:14:20:252"></paymentFormCode>
        <Return Time="19-02-2016 09:14:20:356">1</Return>
    </Bematech_FI_EfetuaFormaPagamentoIndiceCV0909>
    <Bematech_FI_TerminaFechamentoCupomCV0909 CV="0909" Time="19-02-2016 09:14:20:481">
        <additionalCoupon Time="19-02-2016 09:14:20:510">0</additionalCoupon>
        <cutter Time="19-02-2016 09:14:20:534">1</cutter>
        <message Time="19-02-2016 09:14:20:557"></message>
        <Bematech_FI_VerificaContextoImpressora CV="0909" Time="19-02-2016 09:14:20:596">
            <Contexto Time="19-02-2016 09:14:20:695">13</Contexto>
            <Return Time="19-02-2016 09:14:20:741">1</Return>
        </Bematech_FI_VerificaContextoImpressora>
        <Return Time="19-02-2016 09:14:23:647">1</Return>
    </Bematech_FI_TerminaFechamentoCupomCV0909>
    <Bematech_FI_SubTotal CV="0909" Time="19-02-2016 09:14:23:713">
        <SubTotal Time="19-02-2016 09:14:23:877">00000000001000</SubTotal>
        <Return Time="19-02-2016 09:14:23:903">1</Return>
    </Bematech_FI_SubTotal>





Responder Responder com citação

libbemafiscal - Bematech_FI_SubTotal

Tenho o mesmo problema com a 4200 FI II





Responder Responder com citação

2 post(s) Primeiro 1 Último
 

Copyright © 2011 Bematech S.A. Todos os direitos reservados.

Powered by Cinq Technologies