Brent Graber
Share on Facebook Share on Facebook Share

Brent Graber's Groups

Gifts Received

Gift

Brent Graber has not received any gifts yet

Give a Gift

 

Brent Graber's Page

madgrab.net

Google Apps and PHP

Because I find Google Apps Admin SDK Directory API PHP Quickstart to be a bit ... spare, and because I spent far too much time searching to find proper examples, here's one more place for poor saps like myself to maybe find some of what they need.

First, the PHP Quickstart, linked above. That should at least get a person connected.

Second, this lovely bit from Michael Seiler. The details (as of November 2016) are no longer quite the same (e.g., the line numbers he refers to in the code are no longer correct), but on the whole this worked.

Third, this thing that a suitably-energized person can probably figure out. (I was able to see, at least somewhat, what Michael Seiler was referring to by using this. That was not the case from looking at the code I'd downloaded from the Quickstart.)

Yes

http://www.computerwizardindy.com/my-fix-for-windows-update-error-80070011/

(Edit: Nov 30, 2016 -- seems like that site no longer exists. May need to rely on Wayback or search engine cache.)

Two posts in a day!

A year of nothing, and now two posts in a day.

How to write to an NTFS drive on Mac OS X 10.8.4 (specifically, how to replace a troublesome ntdll.dll file on Windows 7 running in Bootcamp):

  1. Boot into the Mac OS.
  2. Start a terminal session.
  3. diskutil info /Volumes/BOOTCAMP | grep UUID
  4. Copy the UUID
  5. Use your favorite text editor (why would it be anything other than vi?) and sudo /etc/fstab
  6. Type: UUID=<UUID you copied> none ntfs,rw,auto nobrowse all on one line. The nobrowse is critical for this to work.
  7. Save the file
  8. Open the disk utility, find the BOOTCAMP volume and unmount it.
  9. Remount the BOOTCAMP volume.
  10. In the terminal window type open /Volumes/BOOTCAMP to open the windows partition in the Finder.
  11. Modify as needed. (This, at least, worked just fine for me to replace a balky ntdll.dll file that was crashing whenever I'd be organizing files in Windows Explorer.)

One Year

The last time I posted to this blog was one year ago today.

Ping.

HP 2035, HP 1020, Windows 7 64-bit, printing problem

For future reference, this is how I got a balky HP 2035 to (finally) print from Windows 64-bit, both by USB connection on a local machine and through a network connection. Frankly, it shouldn't be so hard.
  1. Spend a lot of time researching. Find a lot of people saying things like "C'mon, Microsoft or HP or Adobe, fix this problem." (One common problem has to do with printing a particular sort of Adobe file on an HP 1020 in Windows 7 64-bit. That was not precisely the problem I was having.)
  2. Delete every HP printer from the system.
  3. Restart the print spooler.
  4. Go into the Print Server properties and delete every HP driver in its entirety.
  5. In the registry, go to HKLM/Software/Microsoft/Windows NT/CurrentVersion/Print/Printers. Delete every HP entry you can find.
  6. Go to C:\Windows\System32\DriverStore\FileRepository.
  7. Take ownership of the suspected troubling HP folders (in the case of the 1020 and the 2035 these were obvious). Give yourself full permissions, apply those to child objects, and don't allow inheritance.
  8. Delete those folders.
  9. Disconnect the printer and use the HP driver. I had to use the one on the CD; the latest download failed utterly. Follow the instructions in the driver install (this seems to matter).
  10. Install the other printers.

Repeat this on any other computer with which you want to use that printer over the network.

To be clear, this is what I did specifically for an HP 2035, in part because I got the 2035 hoping it would work more easily with Windows 7 64-bit than did the gob of HP 1020s we have where I work. I was greatly dismayed when I had exactly the same problem. I now suspect that had I gone through these steps for the 1020 it would also have worked.

Profile Information

ATS School:
Married
About Me:
Director of Information Technology at AMBS. As Luddic of a DIT as you'll find anywhere, I expect.
Website:
http://madgrab.net

Comment Wall

You need to be a member of ATS - Ed. Tech to add comments!

Join ATS - Ed. Tech

  • No comments yet!
 
 
 

© 2017   Created by John Kahler.   Powered by

Badges  |  Report an Issue  |  Terms of Service