Closed userhasaname closed 3 years ago
If you have problems with the web interface, please make sure the Snap is the latest version. For this run
sudo snap refresh --edge ps-printer-app
There was a problem in the build process of the Snap which I have corrected yesterday.
I have done first investigation and my result up to now is that the Printer Application crashes on some of the PPD files, where the LaserJet 4000 is one of them. Most PPD files (I tested Ricoh,Toshiba, Brother, Generic, HP OfficeJet Pro 8730, ...) work though. I try to find out now what causes the crash.
It is a little typo in margin calculation, fixes both HP LaserJet 4000 and HP LaserJet 2300 (probably all PPD files work now, at least page margins will not cause a problem any more).
I am committing this soon and this will trigger an update in the Snap Store. If your system does not auto-update by this, run
sudo snap refresh --edge ps-printer-app
and then all should work for you, both with manual selection of the model or with auto-selection and also both by command line and by web interface.
Fixed in commit 23080d50f.
Snap Store is rebuilding.
Thank you very much for your bug report.
I cannot add an HP LaserJet 4000 printer connected by network from the web interface, although I can add it using the general HP Postscript ppd. (I am using the application installed as a snap in a virtual machine running Ubuntu 20.04.2 LTS using libvirt manager.)
Here are the steps I went through:
I ran the following commands from a different computer where I had the printer installed through CUPS.
lpinfo -l -v
Relevant portion: Device: uri = socket://192.168.1.40:9100 class = network info = HP LaserJet 4000 Series make-and-model = HP LaserJet 4000 Series device-id = MANUFACTURER:Hewlett-Packard;COMMAND SET:PJL,MLC,PCL,PCLXL,POSTSCRIPT;MODEL:HP LaserJet 4000 Series;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard LaserJet 4000 Series location =
/usr/lib/cups/backend/snmp 192.168.1.40 INFO: Using default SNMP Community public network socket://192.168.1.40:9100 "HP LaserJet 4000 Series" "HP LaserJet 4000 Series" "MANUFACTURER:Hewlett-Packard;COMMAND SET:PJL,MLC,PCL,PCLXL,POSTSCRIPT;MODEL:HP LaserJet 4000 Series;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard LaserJet 4000 Series" ""
Here is the similar info from the ppd contained in hplip (downloaded from SourceForge): % Product Version Information Product: "(HP LaserJet 4000 Series)" Product: "(Hewlett-Packard HP LaserJet 4000 Series)" ModelName: "HP LaserJet 4000 Series" ShortNickName: "HP LaserJet 4000 Series" 1284DeviceID: "MFG:Hewlett-Packard;MDL:hp laserjet 4000 series;" NickName: "HP LaserJet 4000 Series Postscript (recommended)" PSVersion: "(2014.108) 1" *Manufacturer: "HP"
ps-printer-app.log.txt ps-printer-app.state.txt