Send raw data to print not working

前端 未结 5 860
春和景丽
春和景丽 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:19

    If printing plain text to Dot Matrix using "RawPrinterHelper" Method, it would only work properly for me when I manually added a printer, selected Generic / Text Only, and selected the USB001 port that was assigned to my USB connected printer (okidata in my test). Then RawPrinterHelper.SendStringToPrinter would behave very much like an 'lpd to lpt1:'

提交回复
热议问题