WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Two CUPS Bugs  (Read 5599 times)

Offline perthie

  • Full Member
  • ***
  • Posts: 118
Re: Two CUPS Bugs
« Reply #15 on: September 12, 2009, 12:35:08 PM »
My mistake. I didn't have usb-utils installed, so I didn't get a full compile.


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14546
Re: Two CUPS Bugs
« Reply #16 on: September 14, 2009, 06:44:26 AM »
Compiling the latest version of hplip and using cups-1.4, I've managed to print without foomatic-rip/foomatic-rip-hplip and without a ppd installed.

It seems hpcups.drv and/or ../filter/hpcups somehow makes up a driver/ppd dynamically.

So - no perl5 dep and no ppd - happy days  :)

..but still plenty of testing to do.

Offline perthie

  • Full Member
  • ***
  • Posts: 118
Re: Two CUPS Bugs
« Reply #17 on: September 14, 2009, 07:11:58 AM »
This is the same technique as Gutenprint's dynamic PPDs. There are two key files something like:

Code: [Select]
/usr/local/lib/cups/driver/drv
CUPS runs it to generate HP PPDs on-the-fly. I believe that it is now included in CUPS 1.4.

Code: [Select]
/usr/local/share/cups/drv/hp/hpijs.drv
This is the file of printer information that CUPS uses to create the PPDs. It will be coming from your HPLIP package.

If foomatic-rip is replaced with the compiled version, maybe Perl isn't needed at all to set up a printer.


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14546
Re: Two CUPS Bugs
« Reply #18 on: September 14, 2009, 11:11:35 AM »
If foomatic-rip is replaced with the compiled version, maybe Perl isn't needed at all to set up a printer.

I tested the C version of foomatic-rip with an old version of hplip and it seemed to work OK, so I'll post it once I get everything tidied away.