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 <[email protected]> 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list > _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
