Planet PDF Forum Archive

Planet PDF ForumThe page you are viewing is part of our 160,000 page PDF discussion forum archive spanning 1999-2008. Would you believe we have a 2nd forum archive which covers 2008 - 2011? But... if you really want to bust-a-move head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner discussions to in-depth developer and pre-press discussions.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) Developers


Topic: Why this file doesn't print correctly ?
Conf: (P-PDF) Developers, Msg: 31925
From: DanielAri
Date: 12/21/2001 06:13 AM

Whenever a file displays well but prints incorrectly, the immediate suspect is a missing /ProcSet. And your page does not have a /ProcSet, or even /Resources.

I also thought that maybe you had done something weird in the Widgets that you were using to draw the text. This was my second guess, but since it was easy to test, I tested it first. I used Acrobat to add a text widget to the page, and it printed incorrectly as well. This suggested that the problem was not in your Widgets, so that made it more certain that it was the missing /ProcSet.

I then manually added to the page dict:
/Resources << /ProcSet [ /PDF /Text /ImageC /ImageB /ImageI ] >>

This broke all of the object offsets, but as you know, Acrobat can usually fix this. For a test, it is OK.

I opened the file and printed it. It printed perfectly. Problem solved.

Look up ProcSet in the PDF spec and learn the difference between ImageC, ImageB, and ImageI. I used them all for a test, but for your software, you should only add the ones that are needed. Otherwise, you will slow printing down as Acrobat downloads unneccessary handling code.

Using a button widget for each line of text could cause problems. If all of your files will be like the sample file with one image and a few lines of text, then this works. If your files will have 50 lines of text per page and 50 pages, you are going to start getting into a giant number of Widgets and forms. All of those forms slow Acrobat down, and they take up space. Drawing the text in the /Contents stream of the page would make the file much smaller and faster.

Again, if your files will all be like the one you posted, then the difference is not a big deal. 1 x 1k is a tiny amount of space in a file. 50 x 50 x 1k starts to slow download times.

Regards,
Dan-Ari

PDF In-Depth Free Product Trials Ubiquitous PDF

LockLizard Safeguard PDF Security

Made specifically for publishers of high value information published in PDF format, it protects your PDF...

Download free demo

ARTS PDF Aerialist X

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Ubiquitous PDF: DIY PDF magazines, courtesy of CNET and Magazinify

Thanks to Magazinify.com, it's possible to have web articles delivered right to your inbox in PDF form. If that weren't enough, the nice folks at CNET have been nice enough to publish a step-by-step guide about how to set this all up using just a little time and a free Magazinify account.

September 06, 2011
Search Planet PDF
more searching options...
PDF Resources
Platinum Sponsor

ARTS PDF

Create & Edit PDF - Nitro PDF Software

Silver Sponsors

LockLizard DRM PDF Security Quick PDF Library: The Unrivaled PDF Developer Toolkit

Featured Product

ARTS PDF Crackerjack X

The most popular Acrobat plug-in for PDF-based color print production and automation.

Featured Event

Adobe Digital Marketing Summit

March 20-23, 2012 -- Salt Palace Convention Center, Salt Lake City, Utah

The Digital Marketing Summit is the premier event for digital marketers and advertisers to learn about and share key strategies for driving marketing innovation. Attend Summit to learn how you can create, measure, and optimize digital experiences to revolutionize how the world engages with ideas and information.

PDF Store Categories