Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>lptset() - set lpt ports to different port values</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     lptset() - set lpt ports to different port values
  Usage:    lptset(<port1>,<port2>)
  Params:   integer <port1> - the lpt port to change (1-3)
            integer <port2> - the new lpt port to set <port1> to,
            in the  range of (1-3)

  Returns:  nothing

 ---------------------------------- Example ---------------------------------

            * On a machine with 3 lpt ports, this example sets lpt1
            * to be lpt3:

                 lptset(1,3)

            * to reset the lpt ports back to normal:

                 lptreset()

  Note:     The lpt ports are not swapped, instead the port address
            of the first parameter specified is changed to be equal
            to the port address of the second parameter specified. No
            checking for the existence of a port is done.


See Also: islpt() lptreset() lptswap() isprinter() prnreset()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson