Yahoo Groups archive

Digital BW, The Print

Index last updated: 2026-04-28 22:56 UTC

Message

RE: [Digital BW] QTR2 on Fedora, creating and loading curves question

2004-02-21 by Roger L Sopher

-----Original Message-----
  From: Roy Harrington [mailto:roy@...]
  Sent: Friday, February 20, 2004 7:00 PM
  To: DigitalBlackandWhiteThePrint@yahoogroups.com
  Subject: Re: [Digital BW] QTR2 on Fedora, creating and loading curves
question



  Roger and Roman,

  I know you're not able to use the curve editing "quadcurves" as
  is because lpadmin is missing.  However with some simple
  text editing you can fix this.  Edit /usr/local/bin/quadcurves
  There's only two things needed:

  1) comment out the lpadmin line and the echo's
  2) the edit script immediately above writes to /tmp/quad.ppd
      -- remove the tmp name which will then write it back to original
location.

  You may have to run quadcurves with su privileges if the
  ppd file is read-only.

  Hope that helps.
  Roy

  Here's a copy of the modified area:

  if ed -s $PPDFILE <<\!
  /\*DefaultripCurve1:/,/\*CloseUI:.*ripCurve1/d
  -r /tmp/quad1.tmp
  /\*DefaultripCurve2:/,/\*CloseUI:.*ripCurve2/d
  -r /tmp/quad2.tmp
  w
  q
  !
  then
  #  if lpadmin -p $PPDBASE -P /tmp/quad.ppd
  #  then
      echo "Curves Installed Successfully"
  #  else
  #    echo "Error: Udpate of \"${PPDFILE}\" failed"
  #  fi
  else
    echo "Error: Udpate of \"${PPDFILE}\" failed"
  fi

   Thanks,

  Roger


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.