IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Page 1 of 2 1 2 >
Topic Options
#45585 - 12/03/13 09:43 AM PDF Date
ampoole Offline
OL Newbie

Registered: 07/26/12
Posts: 21
Loc: Appleton, WI
I am trying to print a .pdf file through Planetpress design as a data file. The only piece inside of planetpress is a statement image. I bring in the .pdf file as the data and try to print but am getting a watermark? The printer is licensed. Any ideas on what could be causing this?

Top
#45586 - 12/03/13 09:46 AM Re: PDF Date [Re: ampoole]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Hi ampoole,

This is probably because you have the regular "Watch" version of the PlanetPress Suite. In order to use the PDF Emulation and other PDF tools(PDF Splitter, PDF Scripting API, etc...), you need to have the Office or Production version.

Regards,
Raphaël Lalonde Lefebvre

Top
#45587 - 12/03/13 09:48 AM Re: PDF Date [Re: ampoole]
ampoole Offline
OL Newbie

Registered: 07/26/12
Posts: 21
Loc: Appleton, WI
I am not using watch at all. I am just grabbing the pdf file and going File>Print out of design?

Top
#45588 - 12/03/13 09:50 AM Re: PDF Date [Re: ampoole]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Even if you don't actually use Watch, you need to have it activated as Office or Production on the machine that has the Design tool. Otherwise, you will get a watermark if you try to use a pdf as the data file. (but you can still use it as a picture ressource)

Top
#45589 - 12/03/13 09:55 AM Re: PDF Date [Re: ampoole]
ampoole Offline
OL Newbie

Registered: 07/26/12
Posts: 21
Loc: Appleton, WI
So… Is there a way to do what I am doing only having Watch (work-around)? Or do I need to purchase Office or Production?

Top
#45590 - 12/03/13 09:58 AM Re: PDF Date [Re: ampoole]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Do you actually need to extract text data from the pdf, or you're just using it as a background image in your form? What exactly are you trying to achieve?

Top
#45591 - 12/03/13 10:01 AM Re: PDF Date [Re: ampoole]
ampoole Offline
OL Newbie

Registered: 07/26/12
Posts: 21
Loc: Appleton, WI
Design contains an image of a statement. The .pdf file I am bringing in is the actually data of each statement (15,000 pages). I am bringing in the pdf so that it marries up to the statement image and than print.

Top
#45592 - 12/03/13 10:03 AM Re: PDF Date [Re: ampoole]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
So it seems like you need to extract text data from the pdf. In this case, you will need the PDF Emulation, and indeed, you will need to upgrade your license.

Top
#45593 - 12/03/13 10:03 AM Re: PDF Date [Re: ampoole]
ampoole Offline
OL Newbie

Registered: 07/26/12
Posts: 21
Loc: Appleton, WI
I am not grabbing any data from the pdf, I am just printing the .pdf I am bringing in as data on the image resource I brought into design so I get a complete statement.

Top
#45595 - 12/03/13 10:22 AM Re: PDF Date [Re: ampoole]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
If you do not need to extract any data from the pdf, then as I've said before, it's still possible to use a pdf as an image. Here's a suggestion: replace your pdf data by a simple text file with one line containing the path to the pdf file. Then have two pages:

- A normal page that will not eject(set this in the basic attributes) and that will have a presstalk object that will call the pdf.
- An overlay page that will contain the static elements of your form(in this case, the statement image). We'll name it "OverlayPage" for this example.

On the normal page which we'll call a "runpage", you can have a PressTalk code like this:

Code:
define(&pdffile, string, '')
define(&i, integer, 0)

% Load the pdf from the first line of the data that contains the path and name of the pdf.
&pdffile := @(1,1,100)

% Loop through the pages of the pdf.
for(&i, 1, 1, pdfpagecount(&pdffile))
  $OverlayPage
  showpdf(&pdffile, &i, 8.5, 11)
  showpage()
endfor()



This code will go through all pages of the pdf referenced in your data, display the static form elements, and then display the pdf file. Depending on how it's made, you may need to reverse the two lines "$OverlayPage" and "showpdf", depending if you want the pdf on top of the overlay, or the overlay on top of the pdf(the last that is called will always appear on top of the former). You may need to tweak the code a bit, but this is probably the closest you'll get to simulating pdf data emulation without actually using it.

Hope that helps!

Regards,
Raphaël Lalonde Lefebvre

Top
Page 1 of 2 1 2 >