Showing results for 
Search instead for 
Did you mean: 
New member
1 0 0 0
Message 1 of 1
Flag Post
HP Recommended

Printing from command line

LaserJet M15w
Microsoft Windows 10 (64-bit)

I want to (must) print  by sending a raw file provided with the proper PCL codes to printer. Earlier I used LaserJet 1015 (went well) but the hp1015 failed and it 's irrational to repair it. So I bought the M15w model having checked that it supports PCL. I can set the printer as share like this:

net use lpt1:  \\tower\hp-ljm15


OK LPT1 \\tower\hp-ljm15 Microsoft Windows Network

and  then

copy /b rawfile.prn lpt1

1 file(s) copied.


But it is not prited at the M15w, though I can hear a tick sound from the printer 

Be alert for scammers posting fake support phone numbers on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation