Printer Graf

Setup for the printer in Graf.

Open the "System Settings" dialog.

Open the "Printing" dialog.

Click the "Add" button.

In the "New Printer" dialog:

Expand the "Network Printer" option and select "Windows Printer via SAMBA".

On the right, in the "SMB Printer" section, type # HP CLJ Enterprise M651DN # HP LJ Enterprise M525DN
Under "Authentication", provide username with ONID/ prefix and ONID password:
Press "Forward".

You will now be prompted to select a driver:

In the "Choose Driver" section, select the option "Select printer from database".
From the list of "Makes", select "HP".
Press "Forward".
On the left, from the list of "Models", select
LaserJet 9050dn
On the right, from the list of "Drivers", select the recommended driver
HP LaserJet 9050 Foomatic/Postscript [en]
Press "Forward".
Name the printer and press "Apply"

Follow this link for the raw script.