Can not add a Watermark into a PDF file

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
combobox
User
Posts: 13
Joined: Mon Jun 21, 2010 6:15 am

Can not add a Watermark into a PDF file

Post by combobox »

I run your sample named 'DelphiPXCProSample.exe', and open a PDF file, then click the menu 'Info -> Watermark', and want to add a water, but it happen an error msg:
Image

Why? My pxclib40.dll version is 4.0.182.0.

this is the PDF file: http://www.hztc.com.cn/test.rar

Another problem:
I have a pdf file created by foxit virtual printer, I wanted to open it with your sample 'DelphiPXCProSample.exe', but failed. But i can open it with Adobe reader, foxit reader and your PDF-XChange PDF Viewer! Why can not i open it with the method 'PXCp_ReadDocumentW'?
Image

this is the PDF file that can not open: http://www.hztc.com.cn/anth.rar
User avatar
Lzcat - Tracker Supp
Site Admin
Posts: 677
Joined: Thu Jun 28, 2007 8:42 am

Re: Can not add a Watermark into a PDF file

Post by Lzcat - Tracker Supp »

1. This si known issue with build 182 and it is fixed into build 183? released soon.
2. Answer is same as above. This file has several problems:
  1. Records like 0000000000 65536 f not allowed into xref table (generation number must be 65535 or less).
  2. String "ЋќЈґЕЦзш" ("8E 9D A3 B4 C5 D6 E7 F8" in hex) in the begining of file should be preceded by % character.
  3. Font /#CB#CE#CC#E5 should be named correctly (or better even embedded) - on most non-chinese PC english text looks very ugly (letters overlaps) because wrong font substitution.
All of theese errors are not critical, but some software may fail on such files (I mean problems a and b).
Victor
Tracker Software
Project manager

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
combobox
User
Posts: 13
Joined: Mon Jun 21, 2010 6:15 am

Re: Can not add a Watermark into a PDF file

Post by combobox »

Thanks.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17908
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Can not add a Watermark into a PDF file

Post by Tracker Supp-Stefan »

Build 53 is already released so please download and try with it.

Best,
Stefan
Post Reply