Please ensure you turn off the printer using the power switch on the back of the printer before connecting or disconnecting the power cable.
Connecting the power cable while switch is in ON position can produce a spark.
Should there continue to be spark, please check the ground connection of your power outlet or try a different outlet.