From helpdesk@helpdesk.cims.nyu.edu  Mon Oct 25 16:10:10 2010
Received: from mx.cims.nyu.edu (mx.cims.nyu.edu [128.122.80.107])
	by mail.cims.nyu.edu (8.14.4/8.14.4) with ESMTP id o9PKAAwC004095
	for <shasha@mail.cims.nyu.edu>; Mon, 25 Oct 2010 16:10:10 -0400 (EDT)
Received: from helpdesk.cims.nyu.edu (helpdesk.cims.nyu.edu [128.122.81.89])
	by mx.cims.nyu.edu (8.13.8+Sun/8.13.8) with ESMTP id o9PKA8kk023299
	for <shasha@courant.nyu.edu>; Mon, 25 Oct 2010 16:10:08 -0400 (EDT)
Received: from helpdesk.cims.nyu.edu (localhost.localdomain [127.0.0.1])
	by helpdesk.cims.nyu.edu (8.13.8/8.13.8) with ESMTP id o9PKA3E2026635
	for <shasha@courant.nyu.edu>; Mon, 25 Oct 2010 16:10:03 -0400
Received: (from apache@localhost)
	by helpdesk.cims.nyu.edu (8.13.8/8.13.8/Submit) id o9PKA3k4026634
	for shasha@courant.nyu.edu; Mon, 25 Oct 2010 16:10:03 -0400
X-Authentication-Warning: helpdesk.cims.nyu.edu: apache set sender to helpdesk@helpdesk.cims.nyu.edu using -f
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
MIME-Version: 1.0
Subject: Re: [Ticket#2010102510000629] printing pdf documents
X-Powered-BY: OTRS - Open Ticket Request System (http://otrs.org/)
X-Mailer: OTRS Mail Service (2.3.3)
Date: Mon, 25 Oct 2010 16:10:03 -0400
Message-ID: <1288037403.960530.035131467.276615.14@helpdesk.cims.nyu.edu>
To: Dennis Shasha <shasha@courant.nyu.edu>
Organization: Courant Institute
From: CIMS Systems Support <helpdesk@courant.nyu.edu>
X-Scanned-By: MIMEDefang 2.58 on 128.122.80.107
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mx.cims.nyu.edu [128.122.80.107]); Mon, 25 Oct 2010 16:10:10 -0400 (EDT)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.cims.nyu.edu id o9PKAAwC004095
Status: R
Content-Length: 800

Hi Dennis,

On any of the CIMS Linux machines you can print a PDF as you would a poscript
file.  Just pass the name of the file as an argument to the lp command, for example:

lp -d bwpr13 test.pdf

On Solaris machines, like access.cims, you need to use pdf2ps to convert the file
to postscript and pipe the output to lp, like so:

pdf2ps test.pdf | lp -d bwpr13

Robb

10/25/2010 12:14 - Dennis Shasha wrote:

> Hi,
> Is it possible to print pdf documents from the command line?
> Thanks,
> Dennis
> 



==============================================================================
                helpdesk@cims.nyu.edu // helpdesk@cs.nyu.edu
        Courant Institute of Mathematical Sciences, Systems Support Group
==============================================================================



