Take the 2-minute tour ×

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


