added function printModule in pageBuilder for use ajax