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

Chris Liddell <[email protected]> Sat, 16 Jun 2018 11:34:58 +0100
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
When you say you can't get Ghostscript to work at all, can be a bit more
descriptive - not found, crash, error....?

Chris


On 16/06/18 03:54, Homer Wilson Smith wrote:
> 
>     You are a gentle man and scholar.
> 
>     I believe I have an earlier problem which is that I can't
> get ghostscript to work AT ALL in the new Centos 7 environment.
> 
>     I will get back to you once I get it to do a simple screen image
> on X11.
> 
>     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 Fri, 15 Jun 2018, Perry Hutchison wrote:
> 
>> Homer Wilson Smith <[email protected]> wrote:
>>
>>>      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 ...
>>>
>>> #!/bin/bash
>>>
>>> gs \
>>> -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD \
>>> -dIjsUseOutputFD \
>>> -sDeviceManufacturer="HP"  \
>>> -sDeviceModel="Office Jet Pro 8600" \
>>> /tmp/data.print
>>
>> This is what I am using (with gs 8.71) to write to a different
>> type of printer that also uses the HP printer language.  It's
>> connected via Berkeley lpr (not CUPS, with which I have not had
>> much success).  YMMV.
>>
>>    #!/usr/local/bin/bash
>>    gs -sDEVICE=pxlmono \
>>    '-sOutputFile=|lpr' -dNOPAUSE -dBATCH -dSAFER \
>>    /usr/local/share/ghostscript/m2835dw-setup.ps "$@"
>>
>> The m2835dw-setup.ps file contains:
>>
>>    % Entries from the PPD file
>>    % Letter size
>>    <</PageSize [612 792] /ImagingBBox null>> setpagedevice
>>    % Legal size
>>    % <</PageSize [612 1008] /ImagingBBox null>> setpagedevice
>>    % Fix vertical position
>>    % This moves the image up 0.125"
>>    <</Margins [0 -36 ] >> setpagedevice
>>
>> (Note that lines beginning with % are ignored by gs because they are
>> PostScript comments.)
>>
>> For comparison, this is what I use to send plain text files to the
>> same printer -- it handles them directly, but needs DOS line endings.
>>
>>    #!/usr/local/bin/bash
>>    sed -e 's/$/^M/' "$@" | lpr
>>
>> (That ^M is actually a \015 character.)
>>