Label printing method
暂无分享,去创建一个
The invention discloses a label printing method. The method comprises the following steps that: a client sends label printing requests to a server, wherein the label printing requests have marks of label types; the server puts the label printing requests into different queues according to the types of labels to be printed after receiving the label printing requests, wherein for the labels to be printed in real time, the label printing requests for the labels to be printed in real time are put into a new queue; and for the labels to be printed in batches, all the label printing requests for the labels to be printed in batches are put into a fixed queue in turn; polling all the queues in a fixed direction according to the sequence of creating the queues; and processing the label printing requests in each queue in turn according to polling results and the ranking sequence of the label printing requests in the fixed queue, so that labels can be drawn later and submitted to printing equipment for printing. Therefore, the label printing operation in a production line cannot be delayed for a long time, and the label printing efficiency is improved.