Coder Social home page Coder Social logo

imprimetexto's Introduction

ImprimeTexto

Componente para impressão matricial usando .Net.

Se você precisa usar uma impressora matricial diretamente na porta LPTx, este componente irá lhe ajudar a criar impressoes no estilo MS-DOS.

Build status Issues open Nuget count

Exemplo de uso:

ImprimeTexto imp = new ImprimeTexto();

imp.Inicio("LPT1");

imp.ImpLF("Carlos dos Santos - MVP C#");
imp.ImpLF("CDS Informática Ltda.");
imp.ImpLF("-------------------------------------");
imp.ImpLF("Componente de impressao em modo texto");
for (int i = 0; i < 5; i++)
{
    imp.ImpLF("Linha impressa " + i.ToString());
}
imp.ImpLF(imp.NegritoOn + "Negrito ligado" + imp.NegritoOff);
imp.ImpLF(imp.Expandido + "Expandido" + imp.Normal);
imp.ImpLF(imp.Comprimido + "Comprimido" + imp.Normal);
imp.Pula(2);
imp.ImpCol(10, "Coluna 10");
imp.ImpCol(40, "Coluna 40");
imp.Pula(2);
imp.Imp((char)27 + "0");
imp.ImpLF("8 linha ppp");
imp.ImpLF("8 linha ppp");
imp.ImpLF("8 linha ppp");
imp.Imp((char)27 + "2");
imp.ImpLF("6 linha ppp");
imp.ImpLF("6 linha ppp");
imp.ImpLF("6 linha ppp");
imp.Pula(2);
imp.Fim();

imprimetexto's People

Contributors

carloscds avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.