New issue
Advanced search Search tips

Issue 896772 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Select hpcups formats not working

Project Member Reported by skau@chromium.org, Oct 18

Issue description

Some of the PCL3 codepaths seem to be broken.  Please investigate.

hplip-3.18.3-hp-PCL3-Class3.ppd.gz 
prnt/hpcups/Pcl3Gui.cpp 262: printer_platform is undefinedprnt/hpcups/Pcl3Gui.cpp 69: selectPrintMode failed, PrintMode name = prnt/hpcups/HPCupsFilter.cpp 488: m_Job initialization failed with error = 25

hplip-3.18.3-hp-PCL3-Class3A.ppd.gz
prnt/hpcups/Pcl3Gui.cpp 262: printer_platform is undefinedprnt/hpcups/Pcl3Gui.cpp 69: selectPrintMode failed, PrintMode name = prnt/hpcups/HPCupsFilter.cpp 488: m_Job initialization failed with error = 25

hplip-3.18.3-hp-PCL3-Class3B.ppd.gz
prnt/hpcups/Pcl3Gui.cpp 262: printer_platform is undefinedprnt/hpcups/Pcl3Gui.cpp 69: selectPrintMode failed, PrintMode name = prnt/hpcups/HPCupsFilter.cpp 488: m_Job initialization failed with error = 25

hplip-3.18.3-hp-PCL4-Class1.ppd.gz
prnt/hpcups/Pcl3.cpp 258: printer_platform is undefined
prnt/hpcups/Pcl3.cpp 69: selectPrintMode failed, PrintMode name = PlainNormalColor
prnt/hpcups/HPCupsFilter.cpp 488: m_Job initialization failed with error = 25
 
Labels: M-71
Seems that those ppds are malformed; here they are group by reported hpPrinterLanguage:

hpPrinterLanguage: "pcl3gui"
 -hplip-3.18.3-hp-PCL3-Class3.ppd.gz 
 -hplip-3.18.3-hp-PCL3-Class3A.ppd.gz
 -hplip-3.18.3-hp-PCL3-Class3B.ppd.gz

hpPrinterLanguage: "pcl3"
 -hplip-3.18.3-hp-PCL4-Class1.ppd.gz

It seems that both those hpPrinterLanguage's require corresponding hpPrinterPlatform fields, which all of these ppds are missing, causing the job initialization failure. I can't think of an easy way to label these ppds with the correct hpPrinterPlatform's, so the best move might be to punt it towards hp.

Cc: skau@chromium.org
Status: Started (was: Assigned)
I'm reaching out to HP to see if we can find out what the platform value is supposed to be.
Status: Fixed (was: Started)
PPDs were removed from index pending resolution in HPLIP for the discovered issues.  Printers are not available at this time.

Sign in to add a comment