Skip to content

Instantly share code, notes, and snippets.

@Misterguruman
Created October 14, 2022 16:29
Show Gist options
  • Save Misterguruman/bb284a44ef50bb0f5dcc4becf39c4e0c to your computer and use it in GitHub Desktop.
Save Misterguruman/bb284a44ef50bb0f5dcc4becf39c4e0c to your computer and use it in GitHub Desktop.
A series of commands used to automate a copier deployment, any company relevant data has been generalized for the former client's security
#!/bin/bash
echo "Installing Printer Drivers..."
sudo installer -pkg /Volumes/VBS/bizhub_754_109.pkg -target /
echo "Installing Drivers Complete... Adding Printer"
lpadmin -p Moton_KM -L "REDACTED" -E -v lpd://1.1.1.1 -P /Library/Printers/PPDs/Contents/Resources/KONICAMINOLTA654.gz
echo "Added Printer... Changing Configuration"
lpadmin -p Moton_KM -o Finisher=FS534
echo "Added Finisher -> FS534"
lpadmin -p Moton_KM -o KMPunchUnit=PK520-23
echo "Added Punch Unit -> PK520-23"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment