Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Thursday, 3 July 2014

Change Default Printer Settings from 2 sided to 1 sided on 10.9

Annoyingly when you add certain drivers to a Mac, the default may say 1-sided but the pages still print as 2-sided. This can cause much frustration and although you can create presets, there is no way to actually change the default through those settings. However by following these few steps you can change the default settings. Please bear in mind, this only changes the default on the computer you are working on. If you have a Mac Server where the printer sits, then run these steps on that and it should set it all as default:

Annoyingly again on 10.9, access to the CUPS page is blocked, it is almost like Apple don't want to change anything these days. To enable it, open Terminal (Go to spotlight and search for it) and type "sudo cupsctl WebInterface=yes" (without the quotation marks). You will need to enter the admin password when prompted.

Open a browser and in the address bar enter “localhost:631”

   

With the CUPS web page open, select the Printers tab and the printer you want to edit. In this case I select the Konica.


Then on the drop down menu titled “Administration” , change to "Set Default Options".


This will show a new page with some new headings (links).


In this case select Finishing Options. Scroll down the list until you see Print type. Change it from 2 Sided to 1 Sided.


Then scroll down the page until you see the Set Default Options button.


Click on this button to save the change. You will then be prompted to authenticate to CUPS.



Enter the account name and password of the Mac user, it needs to be an admin account. And then press the Log In button. You should then get a confirmation.











Monday, 10 February 2014

How to reset the Open Directory administrator password in 10.9

Sometimes there are times when you will require access to Open Directory on your Apple 10.9 Server and because it has been so long since you last used it or because the original administrator decides to disappear without sharing the password, you will not know the password and will be stuck. However, if you follow these steps then you can reset the password to whatever you wish.

Go to the spotlight (magnifying glass in top right) and type Terminal and press Enter.


Within the terminal box type:

'ldapsearch -LLL -x -H ldap://127.0.0.1 -s base namingContexts'

Hit enter.


The output should look similar to above, look out for the dc= entries and make a note of it.

Next within the terminal box type:

'sudo ldappasswd -x -H ldapi://%2Fvar%2Frun%2Fldapi -S uid=diradmin,cn=users,dc=macmini,dc=private'

Replace the dc= entries with the entires that are applicable to your setup. Also if the administrators UID isn't diradmin, then change that to what is applicable to your setup.

Hit enter.




At the new password prompt, enter a new password and repeat when prompted again.

You then should be able to authenticate within Workgroup Manager.