Archive for the 'Softwares' Category

Converting Adobe Designer Static forms to Acrobat PDF Forms

In Ted Padova’s post, he said,

Adobe Designer 8 supports two different types of forms: Static forms and Dynamic forms. If a form is created as a static form you can easily convert the form in Acrobat 8 to a PDF form.

and he give the steps on how to convert Adobe Designer forms to Acrobat PDF Forms.

This let me thought that I have also done this kind job before, but I did not rely on Adobe Acrobat, just rely iTextSharp, I have used it in my demo software FormServer, and it also have a online demo, Fill and Save PDF Form online, in fact they are the clone of commercial software.
Here is some features about FormServer,

  • support automatically convert static PDF forms created by Adobe Designer to Acrobat Form.
  • support save data to PDF Forms without Adobe Acrobat, only Adobe reader is enough.
  • support save data to FDF

And a HK company found my FormServer, and asked for the source code of “Converting static PDF forms created by Adobe Designer to Acrobat Form”, finally I sold they on US$400.

PS.
With the examples of Bruno Lowagie,Using iText to Fill PDF Forms Created by Adobe Designer, iText can both support Dynamic Forms and Static Forms created by Adobe Designer now.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

PDFCrypt Addition-Drag and Decrypt

I got a email from George yesterday. he said,

Hi,
I found your pdfcrypt program and wrote a CMD file that, if you place it in the same folder as pdfcrypt.exe, will let you drag an encrypted (but non-password protected) PDF onto the .cmd file to make a decrypted copy of the PDF in the same folder as the original. I put it under the GPL, so you can redistribute it with pdfcrypt, or post it on your site, or ignore it completely.
The script is attached with a .txt extension so that it is not flagged as a potential threat. You can look through it to ensure it does nothing but facilitate decrypting.

Thanks for your work pdfcrypt, it is much appreciated!

George

And here is the code he contributed, thanks for George’s kindness.

REM Written by George Tenney 11-29-09

REM Usage: Drop an encrypted, but non-password protected, PDF onto
REM this .cmd file to create a decrypted version in the same folder
REM as the original PDF.

REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM To receive a copy of the GNU General Public License
REM see .

@ECHO OFF
REM Set pdfcrypt location
SET PROG=%0
SET PROG=%PROG:~0,-14%pdfcrypt.exe"

REM Check for quotes in filename (i.e., space in path)
SET INFILE=%1
IF ^%INFILE:~0,1% NEQ ^" GOTO :ADDQ
REM ELSE
GOTO :NOADDQ

:ADDQ
REM Add quotes around filenames
SET INFILE="%INFILE%"
SET OUTFILE=%INFILE:~0,-5%_DECRYPT.pdf"
GOTO :RUNNOW

:NOADDQ
REM Don't add quotes around filenames
SET OUTFILE=%INFILE:~0,-5%_DECRYPT.pdf"

:RUNNOW
REM Display Messages
CLS
ECHO.
ECHO.
ECHO Decrypting...
ECHO.
ECHO Input File:
ECHO %INFILE%
ECHO.
ECHO Output File: (WILL BE OVERWRITTEN)
ECHO %OUTFILE%
ECHO.
PAUSE

ECHO.
ECHO.
ECHO This may take a minute, please wait.
ECHO.
ECHO.
ECHO.

REM Run the decryption
%PROG% %INFILE% %OUTFILE% decrypt ""
ECHO.
ECHO.
ECHO Press any key to exit.
PAUSE > NUL

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

Migrate VSS to SVN with Free software

I want to migrate my VSS(Visual Source Safe) to Subversion (SVN), after some search, I found two tools,

VssMigrate, A tool, written in C#, for importing a Visual SourceSafe database into Subversion (SVN) while maintaining the complete file history.

vss2svn is a Perl script (vss2svn.pl) and accompanying C program (ssphys.exe) to migrate revision history from a Microsoft Visual SourceSafe (VSS) database to a Subversion repository.

I have not test which one is better, but I am familiar with C#, I like try the first one.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride