Implement Print directive