Catalysis of the synthesis of a short RNA primer on a DNA template, providing a free 3'-OH that can be extended by DNA-directed DNA polymerases. Catalyzed by a DNA-directed RNA polymerase that forms a complex with alpha DNA polymerase.