print string to lcd without lcd library with 4 bit bus?

I tried searching for the actual library code, but I was unsuccessful.

Then download the IDE - all the source is in the distribution.