initial code for cups based printing