The restraining order from US District Judge Robert Lasnik in Seattle puts that plan on hold for now.
Last month the Trump administration settled a 2015 lawsuit brought by Defense Distributed, a company led by gun rights activist Cody Wilson, after the U.S. State Department forced it to remove materials related to the printable guns from its website under munitions export control laws.
President TrumpDonald John TrumpTrump to visit OH to campaign in special House election CNN's Acosta: I'm anxious Trump's rhetoric toward media "will result in somebody getting hurt" Trump shares son's tweet backing supporters chanting "CNN sucks" MORE tweeted on Tuesday that he was looking into the issue.
"Already spoke to NRA, doesn't seem to make much sense!" he added.
"Even as a strong supporter of the Second Amendment this is not right", the Alaska senator Lisa Murkowski tweeted, linking to a news story on the guns. Richard Blumenthal said that if Trump does not block sale, "Blood is going to be on his hands".
Speaking to CNN's "New Day" shortly before Trump's tweet, Fred Guttenberg, whose daughter was killed in the Parkland, Florida, high school shooting in February, said the ability to download blueprints for the firearms doesn't make sense.
The State Department reversed course in late June, agreeing to allow Wilson to resume posting the blueprints.
Donald Trump threatens government shutdown over immigration, border security
House Republicans released a spending bill this month that provides $5 billion next year to build Trump's wall, a major boost. As they stood side by side on the podium, Trump praised the prime minister for taking a "firm stance on the border".
Eight US states on Monday filed a lawsuit to block a Trump administration decision enabling 3D printers to make plastic handguns that opponents say will be nearly impossible to control.
But it is unclear how effective the temporary restraining order is since the schematics for one of its guns - The Liberator - were posted on the company's website on Friday - five days ahead of the company's announced release date. "And because the guns would be printed without serial numbers, they would be untraceable by law enforcement, making it all the more hard to solve crimes committed with these weapons". "These ghost guns are the new wave of American gun violence".
They discussed the dangers of the 3D printed guns and the legislation to address it.
It would have allowed anyone with access to a printer to potentially build a lethal weapon, which opponents say can not be seen by a metal detector or tracked to a licence holder.
"Regardless of what a person may be able to publish on the Internet, undetectable plastic guns have been illegal for 30 years", Chris Cox, executive director of the NRA's Institute for Legislative Action, said in a statement.
People can use the blueprints to manufacture plastic guns using a 3D printer.
"In addition to helping arm terrorists and transnational criminals, the settlement and proposed rules would provide another path to gun ownership for people who are prohibited by federal and state law from possessing firearms".