If I want really detailed close-ups of markings, I pop the pistol under my flatbed scanner. It can scan up to 2400 dpi, but usually 600dpi already does the trick.
I use a HP ScanJet G2710 at the moment. Works well for close-ups and quick scans of guns when there is no time to set up the light tent and camera