How to print from the command line

$ lpstat -a lpstat is used to print the CUPS (Common UniX Printing Service) status info. The command lpstat -a tells you all the installed printers in your system, specifically, it will tell you the printer names–which you will need for the lp command. How to batch print from a command line $ lp -d [...]

Open rar files in OSX

There are a couple of ways of opening .rar files in your Mac, this post though will use the command line way to do it. You will need to have installed either MacPorts or DarwinPorts to follow this exercise because we will get the unrar utility from the ports collection. $ sudo ports install unrar [...]

To display the routing table in OSX

There is a ‘route’ command in OSX for the manipulation of the network routing tables–surprisingly, it doesn’t have a ‘route print’ option. If you’re used to viewing the routing table (from Windows) using the route print command, that option does not exist in OSX. In order to display the routing table in OSX, you can [...]

How to put icons in the OSX dock

You can create an alias of the Application, then drag-and-drop it onto the dock; or; Just open the Application for the first time—lots of ways to do to this, I always like to just hit Spotlight (cmd+spacebar), type the name of the app, then enter—when the application is opened, the icon will be visible in [...]

Mac Mini microphone hack

The usual mic used in PC’s and headset-mic combos won’t work with the mac mini–the mac mini mic input requires line level input, meaning the mic needs to be powered. The usual mic input for PCs are mic level input (about 1 millivolt, the mic doesn’t need to be powered). Bottom line is, if you [...]

Mac driver for Samsung ML-1610

The ML-1610 Samsung laser printer has worked before on Leopard (OSX 10.5), I remember going to the Samsung site and downloading a driver–it was pretty painless then. For some reason, when I wiped out the installation of Leopard and installed Snow Leopard from scratch, the OSX driver on the Samsung site has disappeared, all of [...]