 The actual printing, however, was usually undertaken in Portugal or other European countries, as was customary at the time.Maranhão was one of the first provinces to have a printing press.It was one of the most prosperous of the empire, due to the production of cotton, which held value since the invention of Cartwright loom in 1787.