HP LaserJet Series Printers - PJL Commands for Control Panel Lock and Password (CPLOCK)
Setting a Control Panel Lock security level and password for HP LaserJet series printers.
There are four levels of security that can be enforced on HP LaserJet series printer control panels: Minimum, Moderate, Maximum, and None.
Implementing front control panel security
- HP Web Jetadmin Utility (only if a HP Jetdirect Card is being used)
- HP LaserJet Utility for Macintosh users
- PJL (Printer Job Language) escape sequence sent from any ASCII editor
note:If the password is lost, perform a cold reset by holding down GO button while turning on the HP LaserJet series printer. Printer Network Configurations may need to be restored after a cold reset.
Follow the steps below to enable settings using HP Web Jetadmin 7.x for Windows
- Run HP Web Jetadmin.
- Highlight the printer to configure.
Choose Configuration from the Device Tools pull-down menu.
- Select the security setting desired under Control Panel Access. The maximum lock setting does not require a password, and completely locks the control panel.
note:This option allows locking the device's control panel, preventing unauthorized users from accessing it and changing the device settings. Users can still read the settings on the device's control panel.The unlock options that are available depend on the device or printer. Some devices or printers can only lock and unlock the control panel. For other devices or printers, the level of access can be selected: unlocked, minimum, moderate, or maximum. The definitions for the different levels of access also depend on the device
Follow the steps below to enable settings from a Macintosh computer
Select the HP LaserJet Utility icon in the HP LaserJet folder on the hard drive.
- Select the printer to configure.
Select Security panel by scrolling down and selecting the Key icon.
Select Lock Control Panel. A prompt to enter a password, if the password has been set, will appear. If a password has not been set, go to the next step.
Select Set Password. On the Printer Security dialog, enter the new password (numeric values can be set from 0 to 65535) and select OK.
Enabling control panel lock using PJL, sending commands to the printer as listed below through MS-DOS EDIT or some other DOS or UNIX based text editor
note:After opening a command prompt window type the word EDIT. This will open a DOS Edit session. To create the ESC character press the CTRL and P keys on the keyboard. Then push the ESC key, now a left arrow will be displayed on the screen. Be sure to save this PJL command and give it a file name such as hdinit.txt before copying it down to the printer.
note:DO NOT put extra paragraph tags or lines between the lines of PJL code provided below as this may cause the commands to terminate prematurely.
Copy this to the printer using the DOS copy /b command. The following instructions explain how to copy the command to the printer.
Setting a password, sending the following ASCII sequence to the HP LaserJet series printer
@PJLJOB PASSWORD = [current password]
@PJL DEFAULT PASSWORD = [new password]
note:The default password is 0 (zero), which means no password is set. [current password] and [new password] must be an integer value between 0 and 65535. To clear the password, set [new password] to 0 (zero).
Turning CPLOCK on or off if a password has not been set, sending the following ASCII sequence to the HP LaserJet series printer
@PJL DEFAULT CPLOCK = [security level]
If a password has been set, send the following ASCII sequence to the HP LaserJet series printer to turn CPLOCK on or off
Ec%-12345X@PJL JOB PASSWORD = [numeric password]
@PJL DEFAULT CPLOCK = [security level]
Below are the four levels of security that can be enforced on an HP LaserJet series printer
note:Certain menus/features for the HP LaserJet 4100 MFP Series Printers, under Pause/Resume, Stored Jobs, Home Screen, do not get locked with any CPLOCK security measures. For example: Describe Original, Copy Settings, Digital Send Options.
Minimum control panel lock
Ec%-12345X@PJL JOB@PJL DEFAULT CPLOCK = MINIMUM@PJL EOJEc%-12345XMenus that are lockedMenus that are unlockedConfiguration menuInformation menuIO menuPaper Handling menuResets menuPrint Quality menuEIO menu
Moderate control panel lock
Ec%-12345X@PJL JOB@PJL DEFAULT CPLOCK = MODERATE@PJL EOJEc%-12345XMenus that are lockedMenus that are unlockedPaper Handling menuInformation menuPrint Quality menuPrinting menuConfiguration menuIO menuEIO menuResets menu
Maximum control panel lock
Ec%-12345X@PJL JOB@PJL DEFAULT CPLOCK = MAXIMUM (or ON)@PJL EOJEc%-12345XMenus that are lockedMenus that are unlockedInformation menu(None)Paper Handling menuPrint Quality menuPrinting menuConfiguration menuIO menuEIO menuResets menu
To disable control panel lock
Ec%-12345X@PJL JOB@PJL DEFAULT CPLOCK = OFF@PJL EOJEc%-12345X
Ask the community!
Country: United States