Tuesday, July 31, 2012

Printing PDF, The easiest way

If the printer support PDF Direct Printing, LPR command line tool can be used for sending an PDF file directly to the printer, for example:

LPR –S <ip address of the printer server> –P “Printer name on the server” test.pdf

Please note:

  1. Double quote is not required for the printer name if the printer name has not contain space in it.
  2. LPR might not be turned on yet, at least on Window 7 it is not available by default, it can be turned on from Control Panel\All Control Panel Items\Programs and Features.