Green’s Dictionary of Slang

primnery n.

[Lat. praemunire, ‘A situation or condition resembling in some way that of a person who has incurred a praemunire; a difficulty, predicament’ OED]

trouble.

[UK]Grose Classical Dict. of the Vulgar Tongue ms. additions n.p.: Primnery. I had like to be brought into a Primnery. I had like to have been brought into trouble. From Praemunire.