1

In Linux, you can use

lpr -#5 foo.txt

to get 5 copies of a document when sending to an LPD-based print server.

The Windows (XP, 2003, 2008) version of LPR supplied by MS doesn't seem to have this option, though.

Does anyone know if there's a hidden option to specify the number of copies?

Thanks.

LapTop006
  • 6,466
  • 19
  • 26
Bill
  • 31
  • 4
  • I need to go read the specs, but I think LPD handles or is passed the # of copies, LPR doesn't queue 5 copies. – Jé Queue Oct 28 '10 at 22:29

3 Answers3

1

Apparently not:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/lpr.mspx?mfr=true

Well at least not according to the official Microsoft documentation.

Jon Rhoades
  • 4,989
  • 3
  • 30
  • 47
  • 1
    Thanks. For what it's worth, I discovered www.intelliscribe.net offers a Windows-based lpr client that has more features. Costs about $200-$300, though. Some things are just better in Linux. The command line printing options in Windows are not great. – Bill Oct 27 '09 at 15:54
0

This is gonna suck as an answer, because I haven't tried or tested it.. but can you install cygwin then use the linux lpr?

Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
0

Use the LPR command line approach to add files to the print queue. Follow the example closely with regard to spacing and case. You can enter additional file names, or option switches followed by file names, if necessary.

Enter the following command at the MS-DOS prompt. Follow the example closely with regard to spacing and case.

LPR -S<server> -P<printer> [-options] <print file name>, <copies>

TipFor example, use the LPR command to print five copies of the plot file test.txt from the 999.9.999.9 network address to printer1: LPR -S999.9.999.9 -Pprinter1 -Og test.txt,5.

Source :

http://www.barrcentral.com/help/beps/Using_the_LPR_command_line_approach.htm

Slipeer
  • 3,255
  • 2
  • 18
  • 32