Simulation of a laser jet printer with a queue system