Throw error for 0-length pdfs
Add initial print service implementation