[reportlab-users] Printing Help

Andy Robinson reportlab-users@reportlab.com
Mon, 13 Jan 2003 22:44:12 -0000


That's a good script and anyone wanting an idea how it
works will find this link handy.

http://www.planetpdf.com/mainpage.asp?WebPageID=108


I did a bit more research.  Acrobat Reader has some
command line options, Adobe just keeps it quiet :-)
The text below comes from the back page of the PDF below.

Let us all know if /t actually works :-)

http://partners.adobe.com/asn/developer/acrosdk/docs/getstart/DeveloperFAQ.p
df



How Do I Use Command Lines with Acrobat and Acrobat Reader on
Windows?
These are unsupported command lines, but have worked for some developers.
There
is no documentation for these commands other than what is listed below. You
can
display and print a PDF file using command lines with Acrobat and Acrobat
Reader.
AcroRd32.exe filename - Executes the Reader and displays a file.
Other options for the command line are:
AcroRd32.exe /p filename - Executes the Reader and prints a file.
AcroRd32.exe /t path printername drivername portname - Initiates
Acrobat Reader, prints a file while suppressing the Acrobat print dialog
box, then
terminates Reader.
The four parameters of the /t option evaluate to path, printername,
drivername, and portname (all strings).
printername - The name of your printer.
drivername - Your printer driver's name. Whatever appears in the Driver Used
box
when you view your printer's properties.
portname - The printer's port. portname cannot contain any "/" characters;
if it
does, output is routed to the default port for that printer.
If using Acrobat, substitute Acrobat.exe in place of AcroRd32.exe in the
command lines.
option meaning
/n Launch a separate instance of the Acrobat application, even if one is
currently open.
/s Open Acrobat, suppressing the splash screen.
/o Open Acrobat, suppressing the open file dialog.
/h Open Acrobat in hidden mode.