From the corridors of power in Washington to a Swiss mountaintop resort, via Tehran and a French spa, it has been a dizzying week of diplomacy on Iran -- marked by surprise twists and a last-ditch hunt for a printer in the Palace of Versailles.Talks mediator Pakistan announced on June 14 that a deal had been reached to end the Middle East war.It was US President Donald Trump's 80th birthday and the eve of his departure for the G7 summit in the French spar town of Evian-les-Bains.The announcement surprised many in Iran who had been braced for a third successive night of US-strikes after a ceasefire ending the Middle East war began to fray. But the intrigue did not end there. Where would the formal signing of the deal take place? And by whom? And what would be the framework for taking discussions further between two foes who have had no diplomatic relations since the aftermath of the 1979 Islamic revolution?Trump arrived at the G7 summit in ebullient mood, flush from celebrating his birthday by watching MMA cage fights at the White House and clinching the deal.Host President Emmanuel Macron said the deal had in fact already been signed "electronically". But it remained unclear throughout Trump's stay in Evian when the formal signing would take place.It had been expected that Vice President JD Vance would sign the document with top Iranian negotiator Mohammad Bagher Ghalibaf in Switzerland on Friday.But Trump then muddied the waters at the final day of the summit Wednesday by saying "the deal we reached with Iran on Sunday will be signed shortly, tomorrow, maybe the next day."After the summit ended, with the fate of the deal still far from clear, Macron took Trump to dinner at the Palace of Versailles outside Paris where the American president, impressed by the golden splendour, signed it himself, on a candlelit white tablecloth.- A printer in a palace? -Macron told French TV that the American president's decision to sign the text "was made quite spontaneously".So spontaneously that it had not even been printed out, and Secretary of State Marco Rubio had to scramble to source a printer from within the grand palace.