Re: GHOSTSCRIPT -> HLLIP -> HP OfficeJet Pro 8600

Homer Wilson Smith <[email protected]> Sun, 17 Jun 2018 23:25:09 -0400 (EDT)
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
      This worked.  hplip as offered by HP does not include
hpijs for Centos 7.  I had to yum hplip/hpijs and then overinstall
hplip 3.18.

      Office Jet Pro 8600 does not work, but 8500 does work, although
colors are wrong.  I can work with that.  Your strings command was 
brilliant.

      ghostscript rules!

      Homer

------------------------------------------------------------------------
Homer Wilson Smith   Clean Air, Clear Water,    Art Matrix - Lightlink
(607) 277-0959       A Green Earth, and Peace,  Internet, Ithaca NY
[email protected]  Is that too much to ask?   http://www.lightlink.com

On Sun, 17 Jun 2018, William Bader wrote:

> 
> >'hpijs' is installed NOWHERE on my system.
> 
> 
> Here is how you can install any program that is part of a CentOS package:
> 
> Run the command below to ask yum which package contains the program:
> 
>   yum provides '*/hpijs'
> 
> On my CentOS 7 system, this returns
> 
>   1:hpijs-3.15.9-3.el7.x86_64 : HP Printer Drivers
>   Repo        : base
>   Matched from:
>   Filename    : /usr/bin/hpijs
> Then install the package with a command like
>   sudo yum install hpijs
> Do not use a version number unless you want to install an old version.
> You might also want to install the 'epel' (Extra Packages for Enterprise
> Linux)repository. https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-
> centos-6-5/
> If I have a choice between installing from yum, installing from another
> package manager (like pip for Python), or building from source, I usually
> use yum because that has been tested to work with the rest of the
> distribution and won't cause conflicts.
> Regards, William
> 
> 
> 
> ____________________________________________________________________________
> From: Homer Wilson Smith <[email protected]>
> Sent: Sunday, June 17, 2018 12:12 AM
> To: William Bader
> Cc: Homer Wilson Smith; [email protected]
> Subject: Re: [gs-devel] GHOSTSCRIPT -> HLLIP -> HP OfficeJet Pro 8600  
> 
>      Thankyou for your time, its tired and I am getting late...
> 
>      I have tried this a billion ways.  The documentation says that
> the -sIjsserver=PATH is supposed to have the path to the hpijs
> server, but 'hpijs' is installed NOWHERE on my system.
> 
>      I have cups installed fine, and it talks to the 'Officejet_Pro_8600'
> printer just fine in /etc/printcap.
> 
>      But the testgs file won't find the hpijs 'server' whatever
> that means.  On your system its a binary in /usr/bin.  No such luck
> here.
> 
>      I have recompliled HPLIP make distclean, ./configure, make and make
> install a few times, monitoring for the creation and installation of
> hpijs, it shows up nowhere except as a directory in /prnt in the souce
> code.
> 
>      I have also tried it with FD and outputfile=| lpr.cups to no avail.
> 
>      I do NOT want hplip to print, I just want ghostscript to render to a
> disk file.
> 
>      Running CentOS 7 latest, ghostscript 9.07 and HPLIP 3.18.x latest.
> 
>      Thanks  Homer
> 
> Script started on Sat 16 Jun 2018 11:46:31 PM EDT
> [root@vm2 ~/bat]#
> 
> #!/bin/bash
> 
> gs \
> -sDEVICE=ijs \
> -sIjsServer=hpijs \
> -sDeviceManufacturer=HEWLETT-PACKARD \
> -sDeviceModel="Officejet_Pro_8600"  \
> -dIjsUseOutputFD \
> -sOutputFile=" | lpr.cups" \
> /tmp/data.print
> 
> #-sOutputFile=/tmp/data.hp \
> 
> [root@vm2 ~/bat]# testgs
> GPL Ghostscript 9.07 (2013-02-14)
> Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> sh: hpijs: command not found
> GPL Ghostscript 9.07: Can't start ijs server "hpijs"
> **** Unable to open the initial device, quitting.
> [root@vm2 ~/bat]# ^Dexit
> 
> Script done on Sat 16 Jun 2018 11:46:44 PM EDT
> 
>