Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

automatic printing

142 views
Skip to first unread message

Roy Kaldung

unread,
Jun 12, 2003, 5:41:49 AM6/12/03
to
Hi all,

does anybody knows a possibility to implant a short script into existing
pdf documents? I had to deliver documents from a server to clients where
they should be printed automatically.

Greeting, Roy

--
Roy Kaldung

roy@kaldung.de
<!-- pdfTag - easy create PDF documents from XML
http://www.kaldung.de/pdftag -->

Larry T.

unread,
Jun 12, 2003, 11:59:14 AM6/12/03
to
Hi,

If you want to check out a commercial offering, OctoPDF from JBM Systems has
all the capability you've asked for (plus much more). Go to www.octopdf.com
to see if this software may be helpful. I know you were looking for just a
little script/code but this may be useful. Thanks for your time.

Larry T.
"Roy Kaldung" <r...@kaldung.de> wrote in message
news:3ee84...@news.arcor-ip.de...

Steve Kirkendall

unread,
Jun 12, 2003, 12:40:13 PM6/12/03
to
Roy Kaldung wrote:
>
> does anybody knows a possibility to implant a short script into existing
> pdf documents? I had to deliver documents from a server to clients where
> they should be printed automatically.

Will the documents be delivered via HTTP and a web browser such as
Microsoft Internet Explorer?

I faced that issue, and resolved it by creating a new MIME type
and arranging for the browser to run "acrord32 /p/h" on the file.
The /p flag makes Acrobat Reader print the file, and the /h flag
makes it non-interactive.

On the server side, I gave the auto-printing versions of the PDF
files a ".pdfp" extension. I also configured the HTTP server to
send *.pdfp files using the MIME type "application/pdf-autoprint".

On the client side, I configured Windows as follows:

1) Open a folder. Any folder will work, including the "My Documents"
folder on the desktop.

2) Select the View->Folder Options menu item.

3) Click on the File Types tab.

4) Click the [New Type] button.

5) In the dialog, set the description to "Adobe PDF autoprint",
the MIME content type to "application/pdf-autoprint", and
the default extension to ".pdfp". In the Actions window, add
a new item named "open" which runs...

"C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /p/h "%1"

... or wherever your copy of Acrobat Reader is installed.
The "Use DDE" box should be unchecked.

Roy Kaldung

unread,
Jun 12, 2003, 2:35:31 PM6/12/03
to
Steve Kirkendall schrieb:

> Roy Kaldung wrote:
>
>>does anybody knows a possibility to implant a short script into existing
>>pdf documents? I had to deliver documents from a server to clients where
>>they should be printed automatically.
>
>
> Will the documents be delivered via HTTP and a web browser such as
> Microsoft Internet Explorer?
>
> I faced that issue, and resolved it by creating a new MIME type
> and arranging for the browser to run "acrord32 /p/h" on the file.
> The /p flag makes Acrobat Reader print the file, and the /h flag
> makes it non-interactive.
>
> On the server side, I gave the auto-printing versions of the PDF
> files a ".pdfp" extension. I also configured the HTTP server to
> send *.pdfp files using the MIME type "application/pdf-autoprint".

Great, this is this what I was looking for. I prefer this way, because
I don't have to edit the pdf documents.

0 new messages