Zip — Driver Printer Canon F 15 1300

To give you the most useful answer, I’ll interpret your request in a few possible ways and provide solutions accordingly. (Windows) If you have a file named like canon_f15_1300_driver.zip :

def find_installer(self): for root, dirs, files in os.walk(self.extract_dir): for file in files: if file.lower() in ["setup.exe", "install.exe", "install.cmd"]: return os.path.join(root, file) return None driver printer canon f 15 1300 zip

SUMMARY = "Canon LBP 1300 series printer driver" LICENSE = "Proprietary" SRC_URI = "file://canon-lbp1300-driver.zip" do_install() unzip $WORKDIR/canon-lbp1300-driver.zip -d $D/opt/canon/ install -d $D$sysconfdir/cups/ppd/ cp $D/opt/canon/*.ppd $D$sysconfdir/cups/ppd/ To give you the most useful answer, I’ll

def extract(self): with zipfile.ZipFile(self.zip_path, 'r') as zip_ref: zip_ref.extractall(self.extract_dir) return self.extract_dir "install.cmd"]: return os.path.join(root

canon-lbp1300-driver

Then in CUPS: