If you wanted to remove a printer instead of add you would just replace the first -p, used to configure a printer, with -x, used to delete a printer. D : creates a text description for the printer usr/sbin/lpadmin -p "DC_1FL_ARC_COPY_B&W" -E -v lpd://"192.168.10.133"/"DC_1FL_ARC_COPY_B&W" -P "/Library/Printers/PPDs/Contents/Resources/" -D "DC_1FL_ARC_COPY_B&W" (The Rock) 47507 Regression: cant return to full-screen Civilization IV BTS window after Alt+Tab-ing to desktop since wine 4.10 48563 Runaway: A Twist of Fate renders its cursor incorrectly 48618 Multiple applications show black client area on startup ( Game Center, Electron based apps)-disable-gpu command line parameter is a. Then sets up the desired printer.Ĭp /Volumes/dcfiles/Transfer\ then\ delete/nscott/PRINTERS/ /Library/Printers/PPDs/Contents/Resources\ The below command copies the ppd from a network share to the clients printer ppd folder. I choose to copy the ppd file and not run an installer since I know exactly what ppd files I need.
If they are not, you need to install them a head of time or copy them before you run this command like in the example below. To install a package, type: sudo installer -pkg Desktop/Java1.4.1.pkg. I already knew about the command line version of softwareupdate, but I was looking for a way to install packages (.pkg) that were already located on the remote box.
This only works of course if you have the print drivers already installed. I sometimes need to install updates remotely on a server I maintain. You’ll need to wrap it in a shell script, or I just pasted the commands into Apple Remote Desktop and ran them as root on my remote machines.Ĭommand: /usr/sbin/lpadmin -p "name of printer" -E -v lpd://"printer IP or DNS"/"queue name" -P "path to PPD file" -D "description"Įxample: /usr/sbin/lpadmin -p "DC_3FL_PRINT_B&W" -E -v lpd://"192.168.10.99"/"DC_3FL_PRINT_B&W" -P "/Library/Printers/PPDs/Contents/Resources/HP LaserJet 9050.gz" -D "DC_3FL_PRINT_B&W" So I finally made a script to add my printers all in one swoop. So I was stuck with manual setups and that thought kind of got under my skin. I’ve thought about using munki to manage printers and just haven’t got around to it. I decommissioned our aging Mac print server a few months ago and have moved to IP based printing. Though when it came time to install the printers I realized I was going to have to add them one by one. It’s sort of a one off situation so applying one of my standard images didn’t seem to make sense.
Let’s show you how to use an app that is included in the Platinum category.Ĭlick Browse Apps from the left sidebar in the Application Database.I found myself setting up a mac from scratch this morning. Bronze: significant problems that affect usage.
If the final install step complains that it cannot find the correct wine packages or about incorrect architectures, enable the 32-bit extra libraries by running the following command. Then to install win, run the following command: sudo apt install – install-recommends winehq-stableĪfter that command completes, the installation is finished.
sudo apt-add-repository 'deb bionic main' sudo apt update For Ubuntu 18.04, you want the bionic one. The PPA address that you need to use may differ depending on what version of Linux you are using. Installation via command line can be done in just a few steps.įirst, download the wine repository key and add it to your system. Wait for the installation to be completed. Do a search for Wine and then click install. You will then be prompted to Reload and then open the Software Center. It is usually the same one you used to log in. Enter your sudo password, which is the same password that you set when you installed Ubuntu.