Send raw data to print not working

前端 未结 5 868
春和景丽
春和景丽 2020-12-20 04:33

I want to send raw data to print, avoiding printer selection (fast print).

I am trying to use this helper provided by Microsoft: https://support.microsoft.com/en-us/

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-20 05:15

    Fran_gg7, I had the same issue recently. Firstly, turn on the persistence of documents on the printer. This will allow you to see if the printer successfully received the print request.

    enter image description here

    You will see items in the printer queue and they will remain there.

    In my scenario the print request was correctly being sent to the printer, however I was testing it on a laser printer that ultimately was unable to interpret the raw string data I was passing to it.

    I tested the same output on a label printer that could understand the ZPL (zebra programming language) I was passing it and boom it worked fine.

    Have a look at this for a detailed explanation

    Hope this helps.

提交回复
热议问题