A Dublin man has been accused of going to a post office counter and passing a note to the clerk threatening to kill her if she did not "fill the bag with money".
Michael Kelly (55), who is charged with robbery, is alleged to have left the premises after staff refused to hand over any cash and activated the alarm.
The case against him was adjourned at Dublin District Court for the preparation of a book of evidence.
The robbery is alleged to have happened at Rush Post Office, Main Street, Rush, on September 29, 2016.
The Director of Public Prosecutions (DPP) directed summary trial of the case at district court level.
Garda Sergeant Gail Smith gave Judge Michael Walsh a summary of the allegations so he could consider jurisdiction.
She said it was alleged that Mr Kelly, of Sandy Lane Lodge, Rush, entered the post office on the day in question and joined the queue, before speaking to the person behind the counter.
He made some excuse and left but returned and handed over a note, Sgt Smith alleged.
The note said, "Fill the bag with money or I will kill you" and also warned her not to call gardai, the court heard.
The worker refused and the panic alarm was pressed. The accused then left the premises, the prosecution maintained.
Judge Walsh refused jurisdiction to deal with the case at district court level. This means it will be sent for trial to Dublin Circuit Criminal Court when a book of evidence is ready.
The defendant, wearing a grey blazer and slacks and pink open-necked shirt, did not speak during the proceedings.
He was remanded on continuing bail to appear in court again on a date in November. He has not yet indicated how he intends to plead to the charge.