Generating data for factor analysis

#1
Hi
I would like to generate data for factor analysis by determining number of factors number of items and number of cases, for 3 levels ordinal data...any help?
Many thanks