How to send PJL Command to USB connected Printer in c# RRS feed

  • Question

  • Hi everyone I want to get printer information using “Printer job description language “in c#. My question is: • How to send PJL command to USB connected and Lan connected printer in C# I have installed “HP LaserJet 1300” printer which is running on “DOT_001” port. Now I want to send PJL command to this printer and want to get information about printer. If anybody has any sample project or article .Please let me know. Regards Rajesh
    • Moved by Peter Ritchie Tuesday, June 17, 2008 2:08 PM better forum
    Friday, June 13, 2008 7:04 AM


  • Hi rajesh20k,

    Sorry, I am not familiar with Hewlett-Packard Printer Job Language (PJL). As far as I aware, to print something in a printer, you do not have to know which type of printer are you using, you just give the printer name, and the Operating System will do everything for you (if you have installed the printer driver in the system).

    In addition to print something, please refer to How to send raw data to a printer by using Visual C# .NET



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by Bruno Yu Wednesday, June 18, 2008 5:39 AM
    Tuesday, June 17, 2008 3:34 AM