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

William Bader <[email protected]> Sat, 16 Jun 2018 02:45:32 +0000
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <BN6PR15MB1267A831F2853D420EAB571DC4730@BN6PR15MB1267.namprd15.prod.outlook.com>
I think that using ijs requires installing hplip which provides /usr/bin/hpijs


https://www.ghostscript.com/doc/9.21/Devices.htm#IJS (IJS - Inkjet and other raster devices)


http://www.openprinting.org/driver/hplip (hplip)


https://developers.hp.com/hp-linux-imaging-and-printing (HP Linux Imaging and Printing)


The command below worked for me:

gs -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sDeviceManufacturer="HP" -sDeviceModel="HP LaserJet Pro MFP M127fw" -sOutputFile=/tmp/print.dat tiger.ps

(I used to access that printer over a local network with cups, and I installed other packages like foo2zjs, but that printer is currently not on my network.)

If I use -sDeviceModel="Office Jet Pro 8600", I also get "**** Unable to open the initial device, quitting." so maybe it isn't spelled correctly or maybe it isn't supported.

________________________________
From: gs-devel <[email protected]> on behalf of Homer Wilson Smith <[email protected]>
Sent: Friday, June 15, 2018 4:06 PM
To: [email protected]
Subject: [gs-devel] GHOSTSCRIPT -> HLLIP -> HP OfficeJet Pro 8600


     I am plotting using gnuplot which puts out postscript
which will not print on an HP86xx printer.

     I am trying to get ghostscript to work with hplip to put
out the proper format, and having  LOT of difficulty.

     Here is the code that HP tells me to use and the errors
that follow.

     Can someone tell me what the two errors means, and perhaps what
the correct model name for the printer is?

     What file is it trying to open, and what is 'initial device'.

     Thanks in advance, Homer W. Smith

#!/bin/bash

gs \
-sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD \
-dIjsUseOutputFD \
-sDeviceManufacturer="HP"  \
-sDeviceModel="Office Jet Pro 8600" \
/tmp/data.print

Script started on Thu 14 Jun 2018 09:33:36 PM EDT
[root@vm2 ~]# 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.
GPL Ghostscript 9.07: **** Could not open the file  .
**** Unable to open the initial device, quitting.
[root@vm2 ~]#
Script done on Thu 14 Jun 2018 09:33:40 PM EDT

------------------------------------------------------------------------
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
Lightlink - NETWORK INTEGRATION SURVEY<http://www.lightlink.com/>
www.lightlink.com
ACCESS CHANGE PASSWORD: SERVICES E-MAIL SETTINGS ; DIAL UP Unlimited, call for pricing. WEB HOSTING $20/month $200/year for one domain. $10/month $100/year each add. domain.