This type of license is called an Occupational License. You can find more information on these websites. You may consult with an attorney in your area to see if the Courts have any special local procedures of note.
Texas Occupational License - Info from DPS
Law on Occupational License - Transportation Code