Print Page | Close Window

I possible identify PDF gererated by Debenu

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3505
Printed Date: 21 Aug 18 at 6:53PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: I possible identify PDF gererated by Debenu
Posted By: zadoque
Subject: I possible identify PDF gererated by Debenu
Date Posted: 20 Sep 17 at 5:15PM
Hi,

I am user of 11.12 version and I generated a lot of PDF using the simple code below.  By the way, some documents was stoled and now I need identify who was generated by Debenu to try a proof that is original. If part of License Key or any other tag is found, I can to proof that document was generated by Debenu or by me.

Thaks a lot for any information.

QP := TDebenuPDFLibrary.Create;
QP.UnlockKey(DebenuKey);
QP.NewDocument();
Pages := QP.GetImagePageCount(DirTmp + 'scanner.tif');
if Pages = 0 then Pages := 1;
for nK := 1 to Pages do
  begin
    if nK > 1 then QP.NewPage();
    Id := QP.AddImageFromFile(DirTmp + 'scanner.tif', nK);
    QP.SelectImage(Id);
    Dpix := QP.ImageHorizontalResolution();
    Dpiy := QP.ImageVerticalResolution();

    if Dpix = 0 then Dpix := 200;
    if Dpiy = 0 then Dpiy := 200;

    ImageWidthInPoints := 792;
    ImageHeightInPoints := 1145;

    QP.SetPageDimensions(ImageWidthInPoints, ImageHeightInPoints);
    QP.SetOrigin(1);
    QP.DrawImage(0, 0, ImageWidthInPoints, ImageHeightInPoints);
  end;
QP.SaveToFile(DirTmp + 'scanner.pdf');
QP.Free;




Replies:
Posted By: Ingo
Date Posted: 26 Sep 17 at 10:09PM
Hi Zadoque,

if you read in the pdf-file as a string or stream you can check fulltext for the strings:
"/QuickPDF" and/or "/iSQP" (without the quotes).
If one of them is inside it's a pdf made by QuickPDF.

Cheers and welcome here,
Ingo




-------------
Cheers,
Ingo



Posted By: zadoque
Date Posted: 11 Oct 17 at 6:27PM
Hello Ingo,

First off all, thank you. This is will help to prove that pdf was made by QuickPdf.

I am feel with a responsibility to help someone here.

Best Regards, Paulo.





Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk