You are not logged in.
Hi,
I buy a HL-3150CDW printer. Brother says that they provide ppd drivers for that printer, but they only provide really a deb or rpm package containing that [http://welcome.solutions.brother.com/bs … HL-3150CDW]. How can I extract ppd file from that?
Thanks,
Xan.
Last edited by xanb (2013-06-17 19:04:36)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
This [http://www.faqforge.com/linux/how-to-do … ian-linux/] with an existing debian system could be the solution. But I should have a debian system installed.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
You write a PKGBUILD for it. makepkg will already extract the deb or rpm file for you.
Offline
Can you be more verbose, please? What commands should I have to run?
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
A quick google search would show you that debian and redhat packages are just regular compressed files.
For debian packages, just extract them with ar, which gives you 3 files, and then you extract the data.tar.gz file:
max-p@max-p-arch76 ~/Bureau % ar vx hp-ppd_0.9ubuntu2+really-0.2_all.deb
x - debian-binary
x - control.tar.gz
x - data.tar.gz
max-p@max-p-arch76 ~/Bureau % tar -xvf data.tar.gz
./
./usr/
./usr/share/
./usr/share/ppd/
./usr/share/ppd/hp-ppd/
./usr/share/ppd/hp-ppd/HP/
./usr/share/ppd/hp-ppd/HP/HP_DeskJet_600C_Photo_Series.ppd
./usr/share/ppd/hp-ppd/HP/HP_DeskJet_800C_Series.ppd
./usr/share/ppd/hp-ppd/HP/HP_LaserJet_5P.ppd
./usr/share/ppd/hp-ppd/HP/HP_LaserJet_5.ppd
./usr/share/ppd/hp-ppd/HP/HP_ColorLaserJet_5-5M.ppd
./usr/share/ppd/hp-ppd/HP/HP_DeskJet_350C.ppd
./usr/share/ppd/hp-ppd/HP/HP_LaserJet_5000_Series.ppd
./usr/share/ppd/hp-ppd/HP/HP_DeskJet_900C_Series.ppd
./usr/share/ppd/hp-ppd/HP/HP_LaserJet_3200M.ppd
./usr/share/ppd/hp-ppd/HP/HP_LaserJet_6P.ppd
./usr/share/ppd/hp-ppd/HP/HP_Business_Inkjet_2500C_Series.ppd
./usr/share/ppd/hp-ppd/HP/HP_DeskJet_600C_Series.ppd
./usr/share/ppd/hp-ppd/HP/HP_DeskJet_630C.ppd
./usr/share/ppd/hp-ppd/HP/HP_DeskJet_990C.ppd
./usr/share/cups/
./usr/share/cups/model/
./usr/share/doc/
./usr/share/doc/hp-ppd/
./usr/share/doc/hp-ppd/copyright
./usr/share/doc/hp-ppd/README.Debian
./usr/share/doc/hp-ppd/changelog.Debian.gz
Graphical archive managers will open that correctly for you too. I just had to double-click on the .deb on my desktop to open it.
Source: First result on Google
Offline
Thanks a lot, both. This issue is solved. Now I have to fight with knowing where I have to put the files: I have three files:
brcupsconfpt1
brother_hl3150cdw_printer_en.ppd
cupswrapperhl3150cdw
Basing me in brother packages, I think I have to copy
- cupswrapperhl3150cdw to /usr/lib/cups/filterbrlpdwrapperHL3150cdw
- in /usr/share/ create directory /brother and put:
[root@negre brother]# ls -R
.:
cupswrapper inf
./cupswrapper:
brcupsconfig
./inf:
brPrintList
the brPrintList file only contains "HL3150CDW",
- and put the ppd file in /usr/share/cups/model/brother/ as HL3150cdw.ppd
Is it correct?
With that, I have the drivers in cups, and I only have to add printer. Is this correct?
Thanks,
Xan.
Last edited by xanb (2013-06-17 19:10:28)
Owning one OpenRC (artoo way) and other three systemd machines
Offline