In this paper we present, by means of an example, a systematic procedure to synthesize combined modulation/error correcting trellis codes, suitable for Viterbi decoding. This synthesis is based on firstly selecting a suitable linear convolutional code, secondly by analysing the state system of this code to determine the important Hamming distance building properties, and finally by mapping a code with the desired restrictions on its sequences onto this state system. As an example we develop a R = 3/6 dc free (b,l,c) = (0,3,2) code with

. This code improves on the best codes in [1]. Codes having

, and which will thus be more suitable for magnetic recording, can also be synthesized following the proposed procedure.