Net weight control of pre-packaged goods and drugs