• ×
    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
From questions to kudos — grow your reputation as a tech expert with HP Support! Click here to sign up.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended
Laser Jet Pro M402n
macOS 10.12 Sierra

I purchased the Laser jet Pro M402n about 2 months ago. It's a fantastic printer - but I'm unable to print while logged into my Mac user account. My wife can print just fine. And if I print from my MacBook Pro in the basement (on my user account) it works great. It also prints from my iPhone with no problems. But when I try to print from my Mac on my user account - it prints two pages - one with this text:

 

@PJL SET COPIES = 1

@PJL SET JOBID = 61

 

and another page with this text:

 

Untitled"

     @PJL SET USERNAME = "del

             "

                      @PJL SET RESOLUTION = 600

                                  @PJL SET BITSPERPIXEL=

 

And that's it!

 

I just removed the HP printer folder, reset the printing system in Preferences, and downloaded and installed the new HP Easy Start driver - and this is the result.

 

Any suggestions would be very much appreciated.

 

Here's the configuration page, it that's any help:

 

Product Name: HP LaserJet M402n Formatter Number: 1L44XWC Serial Number: PHBHC50691 Cartridge Index: IBMK MAAC Service ID: 26334 Firmware Datecode: 20161011 Control Panel Version: 0x00 Location: USA Max Print Quality: ProRes 1200 Controller Number: 11901 Device Description: HP LaserJet M402n Language: English Default Settings: Self-managed Asset Number:   Your Company Name:   Contact Person:   Device Location:   Geo Location:   Product Security: Off Quiet Print Mode: Off Hardware Address: ec:8e:b5:21:79:bb Host Name: NPI2179BB IPv4 Address: 10.0.1.43 IPv6 Address: 2601:449:C201:79D0:EE8E:B5FF:FE21:79BB Show IP Address: Enabled Total Memory: 128 MBytes Available Memory: 65.17 MBytes

Installed Personalities and Options

 
PCL6 AirPrint PCL PDF PS

Impressions

 
Total Impressions: 425 Total Equivalent Impressions (A4/Letter): 425.0 Jam Events: 2 Mispick Events: 0 Economode Impressions: 0

Paper Settings

 
Default Paper Size: Letter Default Paper Type: Plain Tray 1 Size: Any Size Tray 1 Type: Any Type Tray 2 Size: Any Size Tray 2 Type: Any Type Paper Out Action: Wait Forever Manual Feed: Off Tray Size Prompt: On

Print

 
Auto Continue: On Number of Copies: 1 Courier Font: Regular Orientation: Portrait Monochrome RET: On Wide A4: No A5 Feed Orientation: Landscape Monochrome Resolution: 600 Monochrome Bits per Pixel: 2 Economode: Off Print Density: 3 IO Timeout: 120 Seconds Jam Recovery: Auto Personality: Auto Print PS Errors: Off

Paper Types

 
Plain: Normal Light 60-74g: Light HP EcoSMART Lite: Light Intermediate 85-95g: Heavy Mid-Weight 96-110g: Heavy Heavy 111-130g: Heavy Extra Heavy 131-175g: Extra Heavy Transparency: Transparency Labels: Label Letterhead: Normal Envelope: Envelope Preprinted: Normal Prepunched: Normal Colored: Normal Bond: Heavy Recycled: Normal Rough: Heavy

Energy Settings

 
Sleep/Auto Off After Inactivity: 5 Minutes Shut Down After Inactivity: 4 Hours Delay Shut Down: When Ports are Active

LaserJet Updates Settings

 
Check Automatically Yes Prompt Before Install Yes Allow Downgrade Yes Allow Updates Yes

Supply Settings

 
Very Low Setting (Black Cartridge): Continue Low Threshold (Black Cartridge): 3% Store Usage Data: On Supplies Cartridge Policy: Off Cartridge Protection: Off

Miscellaneous

 
Extended print modes modified: No USB Connection: No Font Source: I (Internal) Font Number: 23 Font Pitch: 10.00 Font Point Size: 12.00 Symbol Set: PC-8 Form Length: 60 Lines Append CR to LF: No
1 REPLY 1
HP Recommended

The fact that those PJL commands are being printed as text (rather than being 'executed' by the PJL interpreter in the printer) implies that the printer has not entered PJL mode.

 

PJL mode is entered when the device receives a Universal  Exit Language escape sequence:

 

<Esc>%-12345X

 

where <Esc> represents the non-graphic Escape control-code character (the character with decimal code 27, or hexadecimal 1B).

 

The UEL is normally the first few characters of the print job generated by a driver, and should be immediately followed by the required PJL job-level commands.

 

The implication is that the sequence is not there (or is perhaps corrupt: e.g. missing the opening Escape character).

 

I'm not familair with Mac systems, so I'm not qualified to advise on whether this is a driver deficiency, or due to something corrupting the job between driver and device.

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† 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>.