Comment 1 for bug 1851977

Revision history for this message
Clovis Gauzy (clov) wrote :

I fix the problem after doing `cupstestppd` on `/usr/share/ppd/HP/hp-deskjet_3700_series.ppd.gz` and received:

```
hp-deskjet_3700_series.ppd: ÉCHEC
      **FAIL** Unable to open PPD file - Mot-clé d’option interdit on line 61.
                REF: Page 19, section 3.3.
```
("option keyword forbidden")

After removing every line including "Custom/Custom1" keyword (lines 61, 100, 137 and 173) in hp-deskjet_3700_series.ppd, `cupstestppd` return :

```
hp-deskjet_3700_series.ppd: PASS
        WARN Size "Photo2L" should be the Adobe standard name "5x7".
        WARN Size "LSIZ" should be the Adobe standard name "3.5x5".
        WARN Size "Card3x5" should be the Adobe standard name "3x5".
        WARN Size "Photo4x5" should be the Adobe standard name "4x5".
        WARN Size "Card4x6" should be the Adobe standard name "4x6".
        WARN Size "Card10x15" should be the Adobe standard name "4x6".
        WARN Size "Card5x7" should be the Adobe standard name "5x7".
        WARN Size "FLSA" should be the Adobe standard name "FanFoldGermanLegal".
        WARN Size "Letter" should be the Adobe standard name "8x10".
        WARN Size "Oufuku" should be the Adobe standard name "DoublePostcard".
        WARN Size "Env" should be the Adobe standard name "EnvPersonal".
        WARN Size "A5" should be the Adobe standard name "Letter".
        WARN Size "B5176x250" should be the Adobe standard name "ISOB5".
        WARN Size "PostCard" should be the Adobe standard name "Postcard".
        WARN Size "3x5in" should be the Adobe standard name "3x5".
        WARN Size "Card4x6in" should be the Adobe standard name "4x6".
        WARN Size "Card5x8in" should be the Adobe standard name "5x8".
        WARN Size "A48.27x11.69" should be the Adobe standard name "A4".
        WARN Size "USLETTER" should be the Adobe standard name "Letter".
        WARN Size "LETTER8.5X11" should be the Adobe standard name "Legal".
        WARN PCFileName longer than 8.3 in violation of PPD spec.
                REF: Pages 61-62, section 5.3.
```

HP Device Manager still return the same error when trying to install the printer (cached ppd?) but it's working via any CUPS UI (manjaro-printer for me) and after successfully print the test page, the printer appear on HP DeviceManager as well.