print preview initial implementation