Printer settings
Ethernet
I needed to set the following printer configuration in order for the printer to work on my network via gentoo (via cups/hplip). They proved fine for a Windows XP box too.
IP: Automatic.
Link speed: 10-Full.
If having problems make sure the wireless is off to remove it from the equation.
Gentoo setup
/etc/portage/package.use:
net-print/hplip qt4 snmp ppds
qt4 required for GUI.
snmp required to detect network printers.
ppds required for drivers.
emerge hplip 3.9.10. Version 3.9.12-r1 has a bug whereby the duplex is printed mirrored.
Run hp-setup.
- Choose network printer. Note that the auto-detected settings don’t work, so…
- Show advanced options.
- Change network discovery method to SLP.
- Click next.
- It should have detected J6400 model.
- Add it.
Visit localhost:631 for cups config.
- Set printer options:
Media Size: A4 AutoDuplex 210x297mm
Double-sided Printing: Long edge (standard)
Output Mode: Black Only Grayscale
Print Quality: Draft
Duplexer Installed: Installed
If it says that the duplexer is not installed, go to “Options Installed” and set to Installed.
- Print test page.
Windows XP (over ethernet)
This is typical Windows. Add the printer as a local printer (not a network printer!), via a TCP/IP port, using the printer’s IP address. Chooose HP Officejet (no number) from the list of drivers.
For some reason the fact that TCP/IP operates over a network wasn’t reason enough for Microsoft to call it a network printer.

