Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > General Discussion
  New Posts New Posts RSS Feed - I possible identify PDF gererated by Debenu
  FAQ FAQ  Forum Search   Register Register  Login Login

I possible identify PDF gererated by Debenu

 Post Reply Post Reply
Author
Message
zadoque View Drop Down
Beginner
Beginner


Joined: 20 Sep 17
Location: Brazil
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote zadoque Quote  Post ReplyReply Direct Link To This Post Topic: I possible identify PDF gererated by Debenu
    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;

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
zadoque View Drop Down
Beginner
Beginner


Joined: 20 Sep 17
Location: Brazil
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote zadoque Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store