🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #15783

Re: How I can print a PDF document from the command line

#15783
From: chicks
Date: Wed, 28 Jun 2006 22:19
9 lines
1073 bytes
Works on my Linux box. Try this:

cat <PDF FILE> | acroread -toPostScript > /tmp/test.ps

Use vi to examine /tmp/test.ps - should be a valid PostScript file.

If so, lpr the file to your printer. Assuming you have GhostScript (or another PostScript interpreter) installed, it should print.

BTW, recent versions of GhostScript don't require this extra processing - they will accept PDF files directly for printing.
Technical Details
Message-ID: <3bc0bff8.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0bff8.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,305286e42c982736
X-Google-Attributes: gid10273d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: chicks@adobeforums.com
Newsgroups: adobe.reader
Subject: Re: How I can print a PDF document from the command line
Message-ID: <3bc0bff8.0@webcrossing.la2eafNXanI>
Date: Wed, 28 Jun 2006 15:19:46 -0700
References: <3bc0bff8.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing