Printing queue implementation