🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #15778

How I can print a PDF document from the command line

#15778
From: Cleane_H._Moser
Date: Wed, 28 Jun 2006 18:38
11 lines
1137 bytes
In the ADOBE ACROBAT HELP exists a topic that explains how I can print a PDF document from the command line in UNIX/LINUX. That it says the folowing:

For example, to print the file sample.pdf to the default printer, type the following:

cat sample.pdf | acroread -toPostScript | lp

I use this command, indicating the destination printer in the "lpr" instruction, but the document has not printing.

cat <PDF FILE> | acroread -toPostScript | lpr -P<PRINTER NAME>

What it is made a mistake? I have a Lexmark printer.
Technical Details
Message-ID: <3bc0bff8.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing

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