Except in an academic setting, lawyers are usually addressed as Mr., Mrs., Miss, or Ms. rather than as Dr. Some lawyers style themselves "Esq." (esquire) and prefer that written communications be addressed to them that way. (Example: "John Doe, Esq. -- Dear Mr. Doe")
Most lawyers don't care a great deal about formal salutations. Except in an academic setting, Mr. or Ms. rather than Dr. is sufficient.
If you have a letter from the lawyer, just follow the letterhead when it comes to university degrees, titles, etc. Otherwise, drop by the lawyer's office, ask for a card, and explain why you want the card (i.e., to obtain the proper form of address for the lawyer), and ask the staff about any clarification you need.
It would depend on the level of court, and to whom you are addressing the letter.
Some examples:
Typical Judge:
Address: The Honorable Joe Brown
(name of court, address, zip, etc.)
Opening: Dear Judge Smith
Supreme Court Justice:
Address: The Honorable Mr. Justice William Rehnquist
or
The Honorable Mr. Chief Justice William Rehnquist
(name of court, address, zip, etc.)
Opening: Dear Justice Rehnquist
or
Dear Chief Justice Rehnquist
To the clerk of a court:
Address: (Name if known,) Clerk of the Court
(name of court, address, zip, etc.)
Opening: Dear (Mr./Ms.) Jones
or
Dear (Mr./Madame) Clerk
Notes:
-Unless you are an attorney, and so long as your letter is respectful and clearly-expressed, the minutiae of formalities in correspondence are generally not of great concern to a Court.
-When writing (or speaking) to a Judge, and referring directly to the Judge him/herself, it is traditional to call the Judge "your honor" or "the Court" instead of "you". For example, instead of "If you don't object to my request" you would say "If Your Honor doesn't object..." or "If the Court doesn't object..."
It depends what type, although I'd probably go with Mr/Mrs/Miss etc. if they're advising you outside the court. Inside the court I'd guess it's the same, since the only people with an actual way to be addressed are the judges and jury. The judge should be addressed as Your Honour but I'm not 100% sure about the jury.
Except in an academic setting, lawyers are usually addressed as Mr., Mrs., Miss, or Ms. rather than as Dr.
Justice (or Chief Justice) [full name]
Supreme Court of the United States
One First Street N.E.
Washington, DC 20543
Dear sir/madam:
Dear Counselor is appropriate.
The proper salutation when writing to a judge is "Dear Judge [Last Name]" or "Your Honor."
'sup
The Honorable...
The proper salutation for a doctor is doctor or professor depending on their title. In writing the short form can be used which will be Dr. or Prof.
Dear Commander: Type your answer here...
The Honorable Ruben Diaz
Except in an academic setting, she will usually be addressed as Mrs. rather than as Dr.
Dear Mr. Mayor or sometimes, such as New York, Your Honor.
Dear Sir Michael (or whatever his first name is)
What is the proper salutation for a register of wills, e.g. Honorable John White?
The proper salutation for a probate judge is "The Honorable [Judge's Full Name]."
Chers Monsieur et Madame Consulat Général,