Monday, February 17, 2014

PDF Split and Merge (PDFsam), free tool to split, merge, extract, rotate, reorder pages in PDF files

If you want to extract a few pages from a PDF file to another PDF file, or you want to insert a few PDF pages (such as the cover page) into an existing PDF file, what tool will you use to accomplish that?

There are several commercial tools available, which require you to buy a license. There are also several shareware tools and online tools which imposed a lot of limitation to the PDF file, such as with an accepted maximum page of a small number only.

I am using a free tools with the open source GPL2 license to do this. It is called PDF Split and Merge (PDFsam) Basic, developed by an Italian guy Andrea Vacondio and his team.

PDF Split and Merge Basic is able to:

  • Split your PDF documents (into chapters, single pages, etc.).
  • Merge many PDF documents or subsections of them.
  • Extract sections of your document into a single PDF document.
  • Mix alternate pages taken from two PDF documents in straight or reverse order into a single document.
  • Rotate pages of the selected PDF documents.
  • Visually reorder pages of a selected PDF document.
  • Visually compose a document dragging pages from selected PDF documents.
  • Save and load your workspace to automate your recurrent jobs.
  • Manage PDFsam settings and set a workspace to load at start up.
PDFsam is running on Java, and is cross-platform. You can run it on Windows, Linux, Mac OS X, and the developer has also created a trimmed down version called PDF Merge for Android.

It has a simple and clean user interface, making it pretty easy to use.


You can download PDFsam here: http://www.pdfsam.org/download/

There is also an Enhanced version of PDFsam, which the source code is available. The developer has requested for a donation of any amount, and he will provide you with the compiled executable file and installer.

The additional functions in PDFsam Enhanced version are:
  • Encrypt your PDF files (RC40 bits, RC128 bits, AES128 bits) and set permissions on them.
  • Add a PDF document as front page or addendum (or both) to your PDF documents.
  • Mix alternate pages taken from two PDF documents in straight or reverse order into a single document.
  • Extract attached files from a PDF document.
  • Decrypt your PDF files.
  • Set viewer options to tell the viewer application how should open the document.
  • Set the metadata of a document (author, title, subject and keywords).

Sunday, February 16, 2014

EPF declared 6.35% dividend for FY2013

With the approval from Minister of Finance, the Employees Provident Fund (EPF, a.k.a. Kumpulan Wang Simpanan Pekerja, KWSP)  declared on 16 February 2014 for the dividend rate of financial year ending 31 December 2013 to be 6.35%, representing a dividend payout of RM31.20 billion to its members, up 13.66% over the RM27.45 billion paid in FY2012.

EPF gross investment income from Malaysian Government Securities & Equivalents and from Loans & Bonds have decreased from previous year, while the income from Equities, Money Market Instruments and Real Estate & Infrastructure have increased.

 As the EPF membership rose to more than 13 million, a total of RM4.91 billion was required to pay every 1% dividend rate for 2013. This was 10.06% higher compared with RM4.46 billion paid for every 1% dividend rate for 2012. The amount needed to pay a 1% dividend would continue to grow between 8%-9% annually.


The Fund’s total overseas exposure constituted 20.97% of its total investment assets based on book value as at end December 2013, registering a rise from 16.98% the year before. During the year under review, the EPF had outsourced USD2.20 billion to the external fund managers for global equity mandates, while a total of RM2.25 billion and RM850 million were injected  into domestic fixed income and equity mandates respectively.

Sunday, February 9, 2014

SMB and Media Server sharing of my external harddisk with TP-Link TL-WDR3600 router to PCs, tablets and TV box

I have just purchased a Transcend StoreJet 25A3 USB 3.0 1TB external harddisk from Lazada at the cost of  RM189 (with discounted price of RM219 and Lazada Chinese New Year voucher of RM30) and successfully shared it out with my TP-Link TL-WDR3600 router to my PC, laptops, Android tablets and HiMedia Q5II TV box using the SMB (Microsoft Server Message Block network file sharing protocol) as well as Media Server service.

This article is to record and share out my experience in setting up this external harddisk sharing.

By default, the Transcend StoreJet 25A3 is formatted with a single FAT32 partition occupying all its 1TB storage capacity. I learnt that the FAT32 partition type has the limitation in file size capped at a maximum of 4GB only. 4GB is just too small for partition image backup, for HD movie images and some other files which have big size.

I have tried to format the Transcend StoreJet 25A3 into different file systems, and here is my finding:

  • NTFS - this is supported by my TL-WDR3600 router. However, it is not a preferred file system for Linux (which is used in the firmware of the router), and its read/write speed is slow.
  • EXT2 - this is the most preferred file system for external harddisk connected to a Linux host. However, it is not supported by the stock firmware of my TL-WDR3600 router.
  • EXT3 - this is basically EXT2 with a journalized file system. It is also not supported by the stock firmware of my TL-WDR3600 router.
  • EXT4 - this is the most commonly used file system in Linux today. It is also not supported by the stock firmware of my TL-WDR3600 router.
As I need NTFS to store large files, and also FAT32 as a more stable file system for Linux host to store smaller files, I ended up formatting my Transcend StoreJet 25A3 into 2 primary partitions, one NTFS and another FAT32.

The harddisk partitioning and formatting was done using MiniTool Partition Wizard Home Edition, which is a free harddisk partition management software running on Windows that is capable of dealing with FAT32, NTFS, EXT2, EXT3 and EXT4 file systems. Most other Windows based partition management software can't deal with Linux file systems such as EXT2, EXT3, EXT4, etc.

After the partitioning and formatting, I made a Windows system image into the NTFS partition of the external harddisk, which is a crucial Windows restoration data that will be critically useful when the Windows system is corrupted (when infected by virus, critical system file is damaged, etc.). This can be done from within Windows 7 by going to Control Panel > System and Security > Backup and Restore > Create a System Image.

Then, I plugged the external harddisk into one of the USB port of my TL-WDR3600 router. Both the NTFS and FAT32 partitions are detected and ready to be shared out.


The stock TP-Link firmware supports USB file sharing using SMB (Storage Sharing), FTP (FTP Server) and Media Server.

Once a folder with photos, videos and/or music is shared out using Media Server, the TP-Link router will be detected as one of the Media Devices in the Network section of Windows 7, and the shared media files are accessible from there. They are also accessible from UPNP media access in HiMedia Q5II TV box.

As for the SMB sharing, it is accessible from Windows by opening Windows Explorer and key-in "\\tplinklogin.net" in the address bar. It is also accessible from Android devices by installing apps that is able to access SMB server, such as ES File Explorer. It is accessible from HiMedia Q5II TV box from SMB media access using the IP address of the router running the SMB service. You need to start the Samba service of the TV box in its Settings page before searching for the SMB server.

For easier future access, I have also mapped a drive in my Windows PC to the shared external harddisk partition.


I heard that the Asus RT-AC68U router supports USB sharing with Linux partition format. You can also add support for EXT2, EXT3, EXT4 in TP-Link router's USB sharing with custom firmware such as OpenWRT. There is reason why I didn't changed my TL-WDR3600 router to use custom firmware, which you can read here.




Hint: Click on the "Older Posts" link to continue reading, or click here for a listing of all my past 3 months articles.