Add the waiting process of printing

Sample for the following entry:
http://qiita.com/hidakatsuya/items/1b970d17ecb016dddec7