Code Monkey home page Code Monkey logo

printer_installer_scripts's Introduction

Printer Script Installer

Running Script :

For MacOS :

chmod +X install_printer.sh && sudo ./install_printer.sh

For Windows :

Just click and run the install_printer.bat to install the printer

Usage

Search and Replace these line below

For .bat script:

Parameter Function
varName=printer_hostname Replace printer_hostname with yours , this is the name of printer you want to create
varIP=printer_ip Replace printer_ip with printer IP Addresss
VarDriverFile=path_to_inf_file/driver.INF Replace path_to_inf_file/driver.INF with the path of .inf file of your printer
VarDriver=DriverPrinterName Replace DriverPrinterName with yours , mention in the .inf file above
lpr Line Printer Daemon protocol
raw If you want to use raw port, Replace lpr with raw
515 This is printer port, you may want to replace the port depend on your printer

If you want to make printer as default printer, delete :: before RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n %varName%

For .sh bash script :

Parameter Function
IP1 , IP2, IP3 Replace with printer IP Addresss
Printer_Name1, Printer_Name2, Printer_Name3 Replace with Printer Hostname
Driver_Path Replace with the path of printer installed, the path may in "/Library/Printers/PPDs/Contents/Resources"
Driver_Installer Replace the path to your printer driver pkg file
lpd://$IP/ or ipp://$IP/ Replace lpd or ipp port, depend on your printer

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

Reference Link :

FUJIFILM Printer Drivers for macoS - exported pkg driver file

FUJIFILM Printer Drivers for Windows

Apple CUPS

printer_installer_scripts's People

Watchers

Call me senpai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.