I think there might be a bug in the printer component this program generates a signal 11 when you press print