First, he did it free of charge (1782), and later he received remuneration (1784).
His first three piano sonatas, sometimes known as "Kurfürst" ("Elector") due to their dedication to the elector Maximilian Friedrich (1708-1784), were published in 1783.
In the same year, the first printed mention of Beethoven appeared in "Magazin der Musik".