Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 3 down vote accepted

According to a list of Windows commands at

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .