-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Unanswered Topics - Printers
- Printing from command line

Create an account on the HP Community to personalize your profile and ask a question
Your account also allows you to connect with HP support faster, access a personal dashboard to manage all of your devices in one place, view warranty information, case status and more.

01-28-2020 08:04 AM
Product: LaserJet M15w
Operating System: 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

† 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.
Didn't find what you were looking for?
Ask the community
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.