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?

link|improve this question
feedback

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

This question came from our site for system administrators and desktop support professionals.

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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