Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

DOS Command

  • 13-05-2005 08:56PM
    #1
    Registered Users, Registered Users 2 Posts: 119 ✭✭


    Hi all,
    Trying to think of dos command I came across in college to test an LPT port, something like >print "hello world" lpt1. Anyone know the correct syntax?
    Thanks in advance.


Comments

  • Registered Users, Registered Users 2 Posts: 119 ✭✭theshadow


    Found it. FYI.

    PRINTER CONNECTED TO PARALLEL PORT LPT1:

    At the DOS prompt, send a directory listing to the printer by typing the following:

    dir > lpt1

    RESULT: The current directory listing will be printed on the printer attached to the LPT1 parallel port.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 95,993 Mod ✭✭✭✭Capt'n Midnight


    on laser printers you may also have to send a line feed.

    echo ^L > LPT1

    (the ^L is Ctrl-L btw)


Advertisement