Removed unused function: printing via pdf