hooklesno.blogg.se

How to print .prn file using c#
How to print .prn file using c#







how to print .prn file using c#

Specifically, you create a PrintDocument object to represent the document you are printing.

  • Printing is done through the namespace.
  • So you have to use the network method in order to print the file.

    how to print .prn file using c#

    These days, printers are not attached to LPT1 anymore. You used to be able to print these files to your local printer by using the command COPY /B C:FILENAME.PRN LPT1. Sometimes you will end up with one of these files and need to print it. It’s basically a generic output file that printers can understand. A PRN file is a type of file that can be read by printers.









    How to print .prn file using c#