HP LaserJet Pro M12a / M12w :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
GNU/Linux DEBIAN 9 (stretch) HP LaserJet Pro M12w - Works
Posted by: mbariel ()
Date: May 07, 2018 08:25PM

GNU/Linux DEBIAN 9 (stretch) HP LaserJet Pro M12w

Login as Super User:
$ su
Install dependences FIRST:
# apt-get install build-essential tix foomatic-filters groff dc
NEXT Install cups:
# apt-get install cups
Download the driver:
# wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
Uncompress file:
# tar zxf foo2zjs.tar.gz
Enter in directory:
# cd foo2zjs
Compile:
# make
Install:
# make install install-hotplug cups
Open CUPS with a web-browser:
$ firefox http://localhost:631

CUPS:

Go to menu Administration / Printers / Add Printer

CUPS need login, enter user root and password.

Add Printer / Other Network Printers and select AppSocket/HP JetDirect

Connection: socket://IP_ADDRESS_OF_PRINTER:9100 example: socket://192.168.1.51:9100
click Continue

Example:

Name: Laser_Printer_BW
(May contain any printable characters except "/", "#", and space)
Description: Printer
(Human-readable description such as "HP LaserJet with Duplexer")
Location: Somewhere
(Human-readable location such as "Lab 1")
Connection: socket://192.168.1.51:9100
Sharing: Share This Printer
I still do not probe share it with CUPS
click Continue

Make
Select HP
click Continue

Model
HP LaserJet Pro M12W Foomatic/foo2zjs-z2 (recommended) (en) this appear duplicated... any of the two works
click Add Printer

General
click Set Default Options

enjoy the printer! :D

Tanx Rick!

Options: ReplyQuote
Re: GNU/Linux DEBIAN 9 (stretch) HP LaserJet Pro M12w - Works
Posted by: minikdo ()
Date: June 07, 2018 06:18AM

Hi,

I'm on Debian 9.4 (stretch). CUPS 2.2.1.

HP LaserJet Pro M12a


I did all the above steps and the printer prints out only the first job. After a few seconds break it won't accept another job. Hangs with "Proccessing".

HP_LaserJet_Pro_M12a (Idle, Accepting Jobs, Not Shared)

Driver: HP LaserJet Pro M12a Foomatic/foo2zjs-z2 (recommended) (grayscale)
Connection: usb://HP/LaserJet%20Pro%20M12a?serial=0000000005P04XFLPR1a
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

/var/log/cups/access_log:

localhost - - [07/Jun/2018:12:02:49 +0200] "POST /printers/HP_LaserJet_Pro_M12a HTTP/1.1" 200 26602 Print-Job successful-ok

no errors in error_log


dmesg:

[70832.290732] usblp 3-10:1.0: usblp1: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x03F0 pid 0x942A
[71211.296994] usblp1: removed
[71247.926953] usblp 3-10:1.0: usblp1: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x03F0 pid 0x942A
[71247.981981] usblp1: removed
[71269.256171] usblp 3-10:1.0: usblp1: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x03F0 pid 0x942A
[71404.690342] usblp1: removed

Options: ReplyQuote
Re: GNU/Linux DEBIAN 9 (stretch) HP LaserJet Pro M12w - Works
Posted by: nicolas ()
Date: August 25, 2018 08:11AM

@minikdo, I had a similar problem of my printing being processing/stalled on Xubuntu 18,04.

What happened is that I connected the printer BEFORE installing the drivers. Basically I connected the printer, was asked for drivers, let that window open and installed the drivers, then I selected the newly installed driver in that window. And printing was stalled.
t
So I deleted the printer, unplug/replug, was asked to select the driver again, I selected it and it worked!

I hope that may help, good luck!

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.