pagination checking in all prints