» Archive for the 'PDF' Category

Found super fast tools to divide A4 to 2 A5 pages

Saturday, June 28th, 2008 by rubypdf

It is just a article talks about my two softwares posted by JimmyZou on http://www.mobileread.com/forums/archive/index.php/t-10515.html

After google a lot, I find super fast tool to cut A4 pdf into double pages A5 file.

I did one, and attach it behide, you guys can check it out.

Using DOS command to do it, and it done very fast, I split the 210K size pdf in 2 seconds, and the outcome file is 240K only, very effective!

You can find the software here:
http://www.rubypdf.com/

There are two softwares needed: PDFRotate and PDFDivide

First copy all software and the PDFs into one directory, the 2 simple steps:
1.First use PDFRoate
\PDFRoate 1-A4.pdf 1-A4-90.pdf 90
Rotate pdf 90 degree first, prepare to divide it.
2.USE PDFDivide
\Divide 1-A4-90.PDF 1-2A5.PDF

The only none-beatiful thing is that it cut directly, so in some pages there are 1 line letters been cut into 2 parts.

But anyway, it’s nice and fast.

A Requirement about Document File Viewer

Friday, June 27th, 2008 by rubypdf

I think it is a interesting requirement about PDF and ebook, so I quote it here,

Many computer users have thousands of digital photos (aka pictures, images) and so, they need a tool like ACDSee or IrfanView or XnView, this is, a Photo/Picture/Image quick/rapid viewer/browser/explorer <=> Rather than manually click on each picture to launch a new instance of a viewer (what would be thousands of loads), this tools allow an extremely rapid, easy and comfortable viewing, sparing a lot of clicks, time consumed, CPU/RAM loads.

My project is not about photos, it is about eBooks/eArticles… I have thousands and thousands of PDF, CHM, DJVU, RGO, PDB files, and I need to see them rapidly (to delete the junk, and store the good ones). Well, I cannot imagine myself loading on Adobe Reader 10000 times, nor Microsoft hh.exe (Windows CHM Viewer) nor WinDjView (DJVU Viewer) nor RepliGo nor iSilo… Thus, I need something like ACDSee/IrfanView/XnView but for PDF, CHM, DJVU, RGO, PDB; rather than photos (such as JPG, GIF, TIFF, BMP)…

My idea is NOT to build an app “from zero”/”from scratch”; my idea is to build an easy/simple app which acts as a “front-end”/”wrapper” to launch automatically instances of already-built viewers. So, I attach the portable versions of the viewers:

      Foxit PDF Reader(as PDF viewer)
      WinDjView (as DJVU viewer)
      xCHM (as CHM viewer)
      RepliGo Viewer (as RGO viewer)
      iSilo (as PDB viewer)

It is bid on RAC, and if you have interesting, you can try it, Document File Viewer

Web service (C#) to digitally sign PDF documents

Friday, June 27th, 2008 by rubypdf

I just finished a bid from RentAcoder, the title is “Web service (C#) to digitally sign PDF documents”, it is a private bid, the requirement is,

Buyer needs a C# web service that will digitally sign a PDF created using ITextSharp.

The PDF will be already created and would be updated with a digital signature by the new web service. The web service would take as parameters the name of the document and some user authentication information (user id and password). The web service would validate the user id/password and sign the document digitally with a self-signed certificate.

The signature that appears on the document will be either an image of a signature or a unique text field like Sergie.Norwinski.123456.

The web service will also return a numeric return code and return message indicating success or failure.

The web service should also add the success or failure status to a SQL Server 2005 database. The database already contains the stored procedures to authenticate user identity and log the status of the request; the new web service simply needs to execute them.

Buyer will provide the self-signed certificates that are to be used by the web service.

And the buyer said,

Steven was an absolute delight to work with. He was very timely with his deliverables and the code provided worked as intended and was easily integrated into an existing application.

He was extremely flexible, accomodating, resourceful and has a great sense of ingenuity and creativity. Great C# skills and exceptional PDF and iTextSharp knowledge.

The pitfall of this bid, need parser PDF and get the x and y coordinates from the special given text, for example, get the x and y coordinates of “Signature/Credentials:” and put the signature after it, get the x and y coordinates of “Date Signed:”, and put the date string after it, but by default, iTextSharp does not support it.