• Welcome to PlanetSquires Forums.
 

Printing a Form

Started by RhodyRich, January 10, 2009, 10:00:12 AM

Previous topic - Next topic

RhodyRich

Any specific recommendations on how to program the printing of a form?

BudDurland

Sure.  Measure form.  Write code.  Repeat.   ::)

Seriously, you've not given us much to go on here.  Is the form from scratch, or are you filling in a pre-printed form?  Is it multi-part? What's the data source?

RhodyRich

With FireFly you create a form and display it on the screen. Is there any easy way to program printing of the form? I can capture an image of the form using Windows Snipping Tool but I'm more interested in code that could be used to automate the printing of specific forms. In Visual Basic I have used the PrintForm method but this is not available in PowerBasic or FireFly. I've researched this a bit and found some interesting code at http://www.garypeek.com/basic/pbprograms.htm but I thought I would post a question here to get experienced recommendations. I gather from the research I have done that this is a common problem but I have not seen a general solution. Surely someone must have a solution they can share.