Great question — answering as the UphillTech team:
As I understand your question, the problem is really that you can't get it out of the cookie press, and not an issue of the dough "flattening" once it hits the baking sheet. If that's correct, then there are a few different factors that could be contributing: You might not be using a strong enough flour. I've always used a 1:1 mix of bread flour and pastry flour. All-purpose flour isn't great for spritz cookies and many home baking recipes do odd things to try to strengthen the dough to compensate, such as increasing the quantity of egg. Not much more I can say without knowing the specific recipe, but try to find a recipe that doesn't use AP flour. You might not be using enough flour, or...
Full answer by Aaronut: https://cooking.stackexchange.com/a/10278 (CC BY-SA 2.5).
Need it done for your business? UphillTech.