lpr command not working from my C# program in Win 7

孤人 提交于 2019-11-28 11:33:44

I finally got the answer to my question.

Step1: I had to enable "LPR Port Monitor". This can be done through "Control Panel/Programs and Features/Turn Windows features on or off". In the dialog expand "Print and Document Services." Check "LPR Port Monitor."

Step2: When you install Windows SDK 7.1. It will copy lpr.exe and related files into "C:\Windows\winsxs\amd64_microsoft-windows-p..ting-lprportmonitor_xxxx...". Copy the files lpr.exe, lprhelp.dll, and lprmonui.dll into the C:\Windows\sysWOW64 folder.

Thats it!!!

Reference: http://www.tomshardware.com/forum/240019-44-error-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!