Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Trying to print in windows from a command prompt. Need correct syntax?

I thought I had correct syntax but came back with error of unable to initialize device. I know device is working. Can anyone give me the correct syntax to print to a networked printer via a command prompt?

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    From the site under TRICKS

    On the same lines, text can be sent directly to the printer on LPT1. First enter:

    COPY CON LPT1

    followed by whatever text you wish to print. Type Ctrl-Z (^Z or F6) to stop the process.

    Go here, http://www.lagmonster.org/docs/DOS7/z-copy.html

    But you will have to replace LPT1 with the actual port that the printer is on (look in the list of printers on your computer you are trying to print from and use the port that is listed as that printer).

  • 5 years ago

    When did you copy that file to the desktop? You need to cd (change directory) successively until you are in the desktop directory. Type dir/w/p (directory listing/wide/pause) and check whether you see it. You can also do dir mr*.dll to see if it shows up. If it doesn't show up you can't copy it, of course so perhaps you'll have to do more sleuthing around until you find it or perhaps a friend/family member/colleague can provide you with that file and you can copy it from a USB stick or drive. Good luck! Do you have a restore point you can revert to? Addition: I just searched for your file on my Dell XP and it doesn't show up.

Still have questions? Get your answers by asking now.