• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about printers, Click here to check it out!
Check some of the most frequent questions about Instant Ink: HP INSTANT INK, HP+ PLANS: INK AND TONER.


Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs AND MORE.
HP Recommended
Microsoft Windows 10 (64-bit)

I service HP Printers and we have a m570dn that a tech replaced the formatter board on and now the serial number is all XXXX.

 

I see no way of inputting it in service mode or 2nd service mode.

 

I tried the ftp method using the 2 different txt files with the following command lines that were created in notepad++ and using the proper ESC character:

{ESC}%-12345X@PJL SET SERVICEMODE=HPBOISEID
[Personal Information Removed]
@PJL DEFAULT MODELNUMBER=“CZ271A”
@PJL SET SERVICEMODE=EXIT
@PJL RESET
{ESC}%-12345X

 

2nd file:

{ESC}%-12345X@PJL
@PJL SET SERVICEMODE=HPBOISEID
[Personal Information Removed]
@PJL DEFAULT MODELNUMBER=“CZ271A”
@PJL SET SERVICEMODE=EXIT
@PJL RESET
{ESC}%-12345X
{ESC}Z
{ESC}E

 

FTP procedure was:

Open cmd prompt

Type "ftp 10.0.0.183"

Type "send C:\HPSerialFix.txt"

Hit Enter when asked for password

Type "quit"

 

Neither file (HPSerialFix or HPSerialFix2) worked for me.  Sill showing XXXXX for the serial.  Am I missing something or doing it incorrectly?

Thanks!

8 REPLIES 8
HP Recommended

You do not need to FTP it. If you have the printer locally installed, share it out.Then open a command prompt window as an administrator and type the following command

 

copy /b "filename" \\computername\printersharename

 

The /b tells the printer to treat as a binary file not an actual printable text file.

 

If you were going to use FTP I believe the proper command would be "put" not "send"

 

Here is the text code I normally use

 

%-12345X@PJL JOB
@PJL SET SERVICEMODE = HPBOISEID
@PJL SET SERIALNUMBER = XXXXXXXXXX
@PJL SET SERVICEMODE = EXIT
@PJL EOJ
%-12345X

 

You need to save the file as PJL file

If you find the information provided useful or solves your problems, help other users find the solution easier by marking my post as an accepted solution. Clicking "yes" on "was this reply helpful" also increases the chances that this solution will help others.
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.



HP Recommended

How do you create a PJL file?

HP Recommended

Create the document in notepad and when you save it rather than save as file.txt you save as file.pjl

If you find the information provided useful or solves your problems, help other users find the solution easier by marking my post as an accepted solution. Clicking "yes" on "was this reply helpful" also increases the chances that this solution will help others.
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.



HP Recommended

So, .pjl isn’t an option. Can I just simply change the file extension to .pjl from .txt?

HP Recommended

The PJL command provided by @Repairatrooper is 100% working, I also when using FTP use the put command not send.

 

Just changed a serial number on M570 for testing purposes

Valsimot_0-1642146323209.png

 




My profile on LinkedIn

HP Recommended

When you go to save you need to select file type, change to all files and then type the file name like this  filename.pjl

 

Repairatrooper_0-1642147442757.png

 

If you find the information provided useful or solves your problems, help other users find the solution easier by marking my post as an accepted solution. Clicking "yes" on "was this reply helpful" also increases the chances that this solution will help others.
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.



HP Recommended

Just to confirm, the file does have the ESC ASCII symbol, correct?  I have pasted my latest version below with the addition of model.  Does everything look correct?  Changed to .pjl file as well.

 

Also, if using ftp, is this the correct commands:

ftp "IPADDRESS"

put C:\HPSerialFix3.pjl

Hit enter for password

quit

 

I'm just trying to get my ducks in a row because it's at the customer location.

 

Jonatay_0-1642171344895.png

 

HP Recommended

Thank you both for the help!  I followed the steps I outlined in my last post asking for confirmation admin it worked. 

Thanks again! 

Jon

† 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>.