I'd like to pipe data in and out to a lpt (parallel IEEE 1284) port on another machine, to remotely use a device. Can it be done in a common unix-y system? I have ubuntu 12.04. :)

I was thinking something like:

machine A, terminal 1:

nc -l 1234 > /dev/lpt0

machine B, terminal 1:

nc 1234 < /dev/lpt0

and on second terminals:

machine A, terminal 2:

nc 4321 < /dev/lpt0

machine B, terminal 2:

nc -l 4321 > /dev/lpt0

I don't know if this is a sound way to do this.

How to communicate with parallel ports remotely?

  • NOTE: I have not enough reputation to create the [parallel-port] tag, even if the description for [parallel] says it should be used.
    – n611x007
    Nov 11, 2013 at 17:34
  • Created the tag for you, and retagged your question.
    – derobert
    Nov 11, 2013 at 18:22
  • Is there a reason why you don't use CUPS? Nov 13, 2013 at 13:15
  • @SourceLab yes, it's me assuming that a cnc device wouldn't classify as a printer and thus unusable via cups.
    – n611x007
    Nov 13, 2013 at 14:42

1 Answer 1


Yes, it's posible - but not with the standard set of tools on a Linux installation. The simplest solution is to use the ppdev device driver and some custom code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.