Solved HP OfficeJet 5220 All-in-One Printer

Code:
Modify Printer HP_OfficeJet_5220 Error

Unable to modify printer:

    Unable to copy PPD file

Code:
D [08/Nov/2019:05:36:35 +0900] CUPS-Add-Modify-Printer ipp://localhost/printers/HP_OfficeJet_5220
D [08/Nov/2019:05:36:35 +0900] cupsdIsAuthorized: username="root"
D [08/Nov/2019:05:36:35 +0900] HP_OfficeJet_5220 device-uri: Missing resource in URI
I [08/Nov/2019:05:36:35 +0900] Setting HP_OfficeJet_5220 device-uri to "socket://192.168.0.12:9100" (was "socket://192.168.0.12:9100".)
I [08/Nov/2019:05:36:35 +0900] Setting HP_OfficeJet_5220 printer-is-shared to 0 (was 0.)
I [08/Nov/2019:05:36:35 +0900] Setting HP_OfficeJet_5220 printer-state to 3 (was 3.)
D [08/Nov/2019:05:36:35 +0900] copy_model: Running "cups-driverd cat drv:///hpcups.drv/hp-officejet_5200_series.ppd"...
D [08/Nov/2019:05:36:35 +0900] CUPS-Add-Modify-Printer server-error-internal-error: Unable to copy PPD file.
E [08/Nov/2019:05:36:35 +0900] [Client 394] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_OfficeJet_5220) from localhost.

Could you tell me why I can not use HP Officejet 5200 Series ?
So, I must select
Code:
HP Officejet 5740 Series, hpcups 3.17.11 (color, 2-sided printing)
.
If so, cups works well.
 
As I installed print/hplip, I used HP Officejet 5740 Series.

Code:
masayoshi@FreeBSD:~ % ls -l /usr/local/share/ppd/HP/hp-officejet_5200_series.ppd.gz
-rw-r--r--  1 root  wheel  4627 Nov  2 17:00 /usr/local/share/ppd/HP/hp-officejet_5200_series.ppd.gz
 
You can unzip /usr/local/share/ppd/HP/hp-officejet_5200_series.ppd.gz to /usr/local/share/cups/model and it should show up in the config GUI
 
You can unzip /usr/local/share/ppd/HP/hp-officejet_5200_series.ppd.gz to /usr/local/share/cups/model and it should show up in the config GUI

I selected Or Provide a PPD File:
/usr/local/share/cups/model/hp-officejet_5200_series.ppd.

Code:
HP_OfficeJet_5220 (Idle, Accepting Jobs, Not Shared)
Description: 
Location: 
Driver:    {printer_make_and_model} (grayscale, 2-sided printing)
Connection:    socket://192.168.0.12:9100
Defaults:    job-sheets=none, none media=unknown

I can not do Set Default Options.

Code:
Set Printer Options HP_OfficeJet_5220 Error

Unable to open PPD file:

    Illegal option keyword string
 
Perhaps, I need following command to check file. right?
masayoshi@FreeBSD:~ % cupstestppd hp-officejet_5200_series.ppd

Finally, I did . Thank you for your help
 
Back
Top