Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a printer, an HP DeskJet 712C, that I cannot print to via the shell "print" command in Windows 7 or Windows XP. I think this is because this particular printer is a "software" printer, something like a "software" modem. I am, however, able to print from Word, Notepad, and other programs. Is there some command line utility that I can use to print text files from?

share|improve this question
    
Is it hooked up via USB or Parallel? If USB then see this: How do I simulate a parallel (LPT) Printer with a USB Printer? – Ƭᴇcʜιᴇ007 Feb 12 '13 at 21:24
    
Parallel, I'm afraid. I've already tried printing via print -DLPT1 to no avail. – Kit Peters Feb 13 '13 at 20:12

Try using the notepad command line switch /p? e.g.

notepad.exe /p "c:\test.txt"

http://answers.microsoft.com/en-us/windows/forum/windows_7-files/notepadexe-command-line-options/810760c1-a45a-4013-9544-1c1208e1b389

/A <filename> open file as ansi
/W <filename> open file as unicode
/P <filename> print filename
/PT <filename> <printername> <driverdll> <port> print filename to designated printer
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .