-
×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
- Printers
- Printer Setup, Software & Drivers
- LaserJet Pro 500 m570dn Set Serial number

Create an account on the HP Community to personalize your profile and ask a question
01-13-2022 03:57 PM - last edited on 08-20-2022 09:21 AM by MarcusC
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!
01-13-2022 04:02 PM - edited 01-13-2022 04:05 PM
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
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.
01-13-2022 05:50 PM
Create the document in notepad and when you save it rather than save as file.txt you save as file.pjl
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.
01-14-2022 12:50 AM
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
01-14-2022 01:04 AM
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
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.
01-14-2022 07:43 AM - edited 01-14-2022 07:51 AM
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.