Correct output control of G page.

git-svn-id: http://ninja-scan-light.googlecode.com/svn/trunk@214 94d2995a-3457-b8a5-7510-40b377e6a921