[Kde-print-devel] [Bug 143225] [KDE4] Remove remaining usage of private CUPS API functions (use ~/.cups/loptions instead ~/.lpoptions for CUPS 1.2.0 + later)

Frank Thommen fthommen at embl.de
Mon Mar 26 15:14:19 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143225         




------- Additional Comments From fthommen embl de  2007-03-26 15:14 -------
Hi Kurt,

thanks for the hint.  Unfortunately the symlink you propose doesn't work in that direction.  The `lpoptions` command will always remove an ~/.lpoptions file and move the data into ~/.cups/lpoptions if ~/.lpoptions is a symlink.  But the symlink solution works the other way round (~/.cups/lpoptions is the symlink):

  cat ~/.cups/lpoptions >> ~/.lpoptions
  cd ~/.cups
  rm -f lpoptions
  ln -s ../.lpoptions ./lpoptions

Thanks for pointing out the symlink idea.

   frank


More information about the Kde-print-devel mailing list