Sodamhan.com

TL;DR

tunelp

Set various parameters for parallel port devices for troubleshooting or for better performance. Part of util-linux. More information: https://manned.org/tunelp.

  • Check the status of a parallel port device:

tunelp --status /dev/lp0

  • reset a given parallel port:

tunelp --reset /dev/lp0

  • Use a given iRQ for a device, each one representing an interrupt line:

tunelp -i 5 /dev/lp0

  • Try a given number of times to output a character to the printer before sleeping for a given time:

tunelp --chars times --time time_in_centiseconds /dev/lp0

  • Enable or disable aborting on error (disabled by default):

tunelp --abort on|off

This document was created using the contents of the tldr project.