Ireland were batting again after being dismissed for just 130 in reply to Pakistan's first innings 310 for nine declared.
Mohammad Abbas did the initial damage as Ireland collapsed to five for three before lunch, the paceman finishing with figures of four wickets for 44 in 11 overs, while leg-spinner Shadab Khan took three for 31 in 13.2 overs.
Kevin O'Brien top scored for Ireland with 40 and Gary Wilson, batting with an injured arm, made a gutsy 33 not out.
Earlier, Pakistan took their score past 300 after resuming on an overnight 268 for six. Test debutant Faheem Ashraf top-scored with 83 and together with Shadab (55) put on 117 for the seventh wicket.
Tim Murtagh was the pick of Ireland's bowlers with four for 45 in 25 overs.