Go Back   PTI Marketing Technologies User Community > Software-Related Talk > The JavaScript Library > Graphic Rules

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 10th, 2016, 01:54 PM
DavidScott DavidScott is offline
Forum n00b
 
Join Date: Sep 2008
Posts: 3
Default Place a text field in every page of a PDF

I want to be able to place a text field (with a white background) which would cover up some text on every page of the source PDF file.

If I have a PDF parts manual, 100 pages long, but they want to cover up a piece of text (the serial number) on it and replace with a new serial number, as the parts serial numbers have changed.

Thanks,
David Scott
Reply With Quote
  #2  
Old October 10th, 2016, 03:55 PM
GreggRusson GreggRusson is offline
Junior Community Member
 
Join Date: May 2011
Location: Seattle
Posts: 33
Default Re: Place a text field in every page of a PDF

Hi David,

Is there just one part with one serial number in a static location to replace on each page or multiple parts/serial numbers in different locations? Every page or just certain pages that need to be dealt with? If it's just one static location to replace, even if it's not every page it's certainly doable. Multiple locations would involve more work.

Gregg
Reply With Quote
  #3  
Old October 10th, 2016, 05:55 PM
DavidScott DavidScott is offline
Forum n00b
 
Join Date: Sep 2008
Posts: 3
Default Re: Place a text field in every page of a PDF

Thanks,

It is just in one place.
I have done it before on a different PDF parts manual, but I cannot find the file I used to do it. I remember one big box placed on the page which represented the background PDF file. Then another text field where I typed the new info. Then when I composed it, I got a new PDF output with the correct info.

- David
Reply With Quote
  #4  
Old October 10th, 2016, 08:47 PM
GreggRusson GreggRusson is offline
Junior Community Member
 
Join Date: May 2011
Location: Seattle
Posts: 33
Smile Re: Place a text field in every page of a PDF

Hi David,

With only one location, it's really straight forward. One input data file with a page number, old & new serial fields. The catalog.pdf is used as a resource, with a rule to control what page is returned for each call. Example attached.

Happy Programming,

Gregg
Attached Files
File Type: zip CatalogMask.zip (58.5 KB, 18 views)
Reply With Quote
Reply

Tags
numbering, pages, text add

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.