PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: RhodyRich on January 10, 2009, 10:00:12 AM

Title: Printing a Form
Post by: RhodyRich on January 10, 2009, 10:00:12 AM
Any specific recommendations on how to program the printing of a form?
Title: Re: Printing a Form
Post by: BudDurland on January 10, 2009, 10:02:41 PM
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?
Title: Re: Printing a Form
Post by: RhodyRich on January 11, 2009, 07:52:43 AM
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 (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.