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.

I need to use the lpr command to copy a print file directly to a network printer. However, the lpr command does not seem to be included in 64-bit editions of Windows.

What can be done to solve this?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

According to a list of Windows commands at about.com

Command     MS-DOS  Win 98  Win XP  Win Vista  Win 7
Lpr         N       Y       Y       Y²         Y²

[1] This command is not available in 64-bit versions of this operating system.

[2] This command is only available in this version of Windows when LPD Print Service is turned on from Windows Features.

The omissions of a 1 superscript after the Y suggests lpr can be made available by enabling the "LPR Port Monitor" using "Control Panel/Programs and Features/Turn Windows features on or off".

share|improve this answer

By copying the lpr* files from C:\Windows\System32 on a 32-bit Windows machine, I was able to successfully run the lpr command on a 64-bit Windows machine.

I am hoping there is a better way, though...

share|improve this answer

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.