In order to make dry ice, the requirement would be to have a pure Carbon dioxide source, this can be super cooled in the freezer to -78degrees centigrade, else instead of fire extinguisher you require another source of liquefied CO2 to make dry ice
Why you want to make dry ice when you can buy it from the market at cheaper prices :)