Transporters and replicators might be the same kind of hardware, but they're vastly different forms of implementation.
I'd like you to walk thorugh a couple scenarios in terms of work/design flow.
lets start with "they start with scans of materials"
lets say, the materials are all scanned down, and they just tile them to fill in what ever part you're trying to fabricate. lets say they're 1 cm^3^ cubes of materials. sure, the computer could tile those cubes digitally, and then cut them back into the shape you needed. But, how do you handle the gaps between the blocks? you could fill them with procedurally generated molecules/atoms, right?
Now lets go to what an engineer would really do.
You'd start with computer models of the materials in question. Probably, a single atoms. You'd design the shape and size of your part. Lets say a tube composed of A36 stainless steel with a 10cm inner diameter and a wall thickness of 2 cm.
You'd model it (or the computer would. Vibe modeling. yayy for AI that actually does what you tell it.)
You'd then define the material as a36 stainless, which, in the modern world has a certain definition. but you don't need to be so fuzzy on it. You can specific exact percentages or parts per-whatevers or however you want to. The computer would know it's mostly iron with .26% carbon and some other stuff.
The computer would then call up the models for iron, carbon, and the other stuff, and then generate a diffused alloy structure of all that together, using an optimized distribution for whatever application you tell it you need it for.
you wouldn't need to scan materials. You can just model the atoms and procedurally generate the bonds, and then tell the replicator how to print the damn thing. You wouldn't even need massive amounts of data storage to print something, because you could procedurally generate small portions at a time and feed it directly to the replicator as it goes.
There would be no need to scan anything, because we know what an iron atom is and can model it.
You might want to scan that super duper 5-michelin star chef's food, but that defeats the point of that. And frankly, you don't want to eat a steak that's always the exact same. you'd want to procedurally generate the steaks, too. and everything else. because humans don't like to eat the same shit all the time, we like variation.