Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The following command works fine for the default printer on Windows Server 2008.

notepad.exe /p "filename"

However, it does not work properly when I modify it for a network printer, like this:

notepad.exe /pt "filename" "Printername"

It does not fail entirely, but it performs binary printing, not proper printing. The same command does work on my Windows XP machine.

What can I do?

share|improve this question

migrated from serverfault.com Feb 11 '11 at 15:17

This question came from our site for professional system and network administrators.

1 Answer 1

Sounds like a driver interpretation issue. Have you installed this printer on the server first? I know it's a network printer but if the driver isn't loaded then it won't have the proper files to communicate properly.

share|improve this answer
    
yes. the driver has been added and printer is working fine notepad.exe /p "filename" is working fine. –  swapneel Feb 12 '11 at 20:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.