printHeadless