Loading ...
Sorry, an error occurred while loading the content.

ghostscript, cups and hpijs setup - missing fonts?

Expand Messages
  • daniel.kerse
    Hi there I m trying to setup my HP DJ3550 using the cups hpijs packages, I m running Unslung V2.3R63-uNSLUng-6.8-beta. First a few tips for others trying to do
    Message 1 of 2 , Jul 8, 2006
    • 0 Attachment
      Hi there

      I'm trying to setup my HP DJ3550 using the cups hpijs packages, I'm
      running Unslung V2.3R63-uNSLUng-6.8-beta.

      First a few tips for others trying to do this and then my question.

      ** Tips **
      * In addition to hpijs, cups and cups-doc, you will also need to install
      ghostscript and perl.

      *You should find the compressed .ppd for your HP printer in
      /opt/share/ppd/HP/ - gunzip the .ppd and copy it to
      /opt/share/cups/model/

      * A few symlinks I had to make because cups couldn't find executables:
      # ln -s /opt/bin/foomatic-rip /opt/lib/cups/filter/foomatic-rip
      # ln -s /opt/bin/gs /bin/gs
      # ln -s /opt/bin/hpijs /bin/hpijs
      (Perhaps the $PATH variable could be modified somehow?)

      ** Question **
      After doing all of the above I still can't print. I found the
      ghostscript comand that's causing the error. If I pipe the .ps file
      through it on the CLI I get this error:
      "Error: /invalidfont in findfont
      Operand stack:
      bigFont Helvetica-Bold Font Helvetica-Bold 246031
      Helvetica-Bold --nostringval-- Helvetica-Bold NimbusSanL-Bold"
      (entire Command and Output below)

      Does this mean I'm missing the Helvetica-Bold font, or am I doing
      something else wrong here?

      ** Command and Output **
      # cat /opt/share/cups/data/testprint.ps | gs -q -dBATCH -dPARANOIDSAFER
      -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs
      -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320"
      -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r300
      -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Qu\
      ality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -
      Error: /invalidfont in findfont
      Operand stack:
      bigFont Helvetica-Bold Font Helvetica-Bold 246031
      Helvetica-Bold --nostringval-- Helvetica-Bold NimbusSanL-Bold
      Execution stack:
      %interp_exit .runexec2 --nostringval-- --nostringval--
      --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
      --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1
      3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
      .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
      %stopped_push --nostringval-- 2 3 %oparray_pop 3 3
      %oparray_pop --nostringval-- --nostringval-- --nostringval--
      --nostringval-- --nostringval-- false 1 %stopped_push 6 4
      %oparray_pop --nostringval-- --nostringval-- --nostringval-- 1
      -1 1 --nostringval-- %for_neg_int_continue
      Dictionary stack:
      --dict:1127/1686(ro)(G)-- --dict:0/20(G)-- --dict:85/200(L)--
      --dict:17/17(ro)(G)-- --dict:1127/1686(ro)(G)--
      Current allocation mode is local
      Last OS error: 2
      AFPL Ghostscript 8.50: Unrecoverable error, exit code 1
      cat: write: Broken pipe
      #
    • Daniel Kerse
      I ve got this sorted now. It seems I was missing the ghostscript fonts. See http://www.nslu2-linux.org/wiki/HowTo/HPIJS for a HowTo on this. ... Do you
      Message 2 of 2 , Jul 10, 2006
      • 0 Attachment
        I've got this sorted now. It seems I was missing the ghostscript fonts. See http://www.nslu2-linux.org/wiki/HowTo/HPIJS for a "HowTo" on this.


        ---------------------------------
        Do you Yahoo!?
        Everyone is raving about the all-new Yahoo! Mail Beta.

        [Non-text portions of this message have been removed]
      Your message has been successfully submitted and would be delivered to recipients shortly.