How do I print a PCL file in C#?

前端 未结 3 1776
时光说笑
时光说笑 2021-02-05 18:18

I have a PCL file that I generated using \"print to file\".

What\'s the best way to programmatically print this file in C#?

(Given of course that the printer I a

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-05 18:48

    This article applies to Visual Basic, but it is easy enough to follow to be able to apply it to C#, I think. Otherwise, I'll gladly assist you with any problematic parts.

    If the printer is on the network, here's a little funny example of how to talk directly to it. Not sure if it also works if you simply send the bytes of the PCL to the printer though.

提交回复
热议问题