[Mono-winforms-list] How can I to print the EPL code directly in LPT1 port

Rafael Teixeira monoman at gmail.com
Tue Feb 15 06:22:38 EST 2011


Normally applications can't access the parallel port directly as it is
already taken by the print service (normally CUPS), and needs higher
permissions anyway for the App/User to access the device fully
(/dev/parport0).

See http://kernelbook.sourceforge.net/parportbook.html/ for an native
API that exposes ways to control of the parallel port.

Em protuguês:

O pessoal parece não ter problema enviando para a /dev/lp0, veja essa discussão:

http://under-linux.org/f112/impressora-zebra-tlp-2844-a-65020/


Rafael "Monoman" Teixeira
---------------------------------------
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and
technology. This is a prescription for disaster. We might get away
with it for a while, but sooner or later this combustible mixture of
ignorance and power is going to blow up in our faces."
-Carl Sagan



On Mon, Feb 14, 2011 at 6:15 PM, FMatosinhos
<braxis.fernando.matosinhos at prosegur.com> wrote:
>
> Hi everybody,
>
> I've a Windows Forms application that prints in "Zebra TLP 2844" printer by
> the EPL language. I need to know, how can I to print the EPL code directly
> in LPT1 port where is connected the Zebra printer.
> I'm using Mono Developer in Ubuntu 9.10.
>
> I've been tried various commands through the terminal, but nothing happened
> Example:
> cat Arquivo.txt > /dev/lp0
> cp Arquivo.txt /dev/ttyS0
>
>
> Thank you advance
> --
> View this message in context: http://mono.1490590.n4.nabble.com/How-can-I-to-print-the-EPL-code-directly-in-LPT1-port-tp3305726p3305726.html
> Sent from the Mono - WinForms mailing list archive at Nabble.com.
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>


More information about the Mono-winforms-list mailing list