I am trying to add an HP P1102W to an Oracle Linux 7 server so that I can print from CUPS using the enscript command.
Client already has a number of HP MFP 130 printers which are attached to client PC's using USB. The PC's are running Windows 10. I added them to Windows and shared them for "Everyone". I added them to CUPS after downloading ULD using the command:
sudo lpadmin -p Term0101-PS -v smb://printer:[email protected]/HPLaser -P ./Downloads/uld/noarch/share/ppd/HP_Laser_MFP_13x_Series.ppd
A Java program produces bills in the form of individual text files. A bash job running in the background sends the files to printers using:
/usr/bin/enscript -B -d $DEVICENAME -h -M A4 $FILE
Now, they have bought some HP P1102W printers which have been similarly configured and attached via USB to PC's. (No, they can't be connected to the LAN.)
I tried adding the printer using the HP_Laser_10x_Series.ppd file in ULD, but that didn't work; gives an error on the client Windows when the print is sent.
I can't find the PPD file for HP P1102. Some links tell me to install HPLIP while others say that the driver is built into GhostScript or HPIJS or foo2zjs. Look as I may, I just can't find it.