The 1N4742 is a 1w part which at 12 volts is well
within the amperage
ratings of a 7812.
Except that those are different values.
The 1W dissipated by a zener is the power that _isn't_ going through
the load. The rating of a 7812 is power that _is_ going through the
load.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse at rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B