PDA

View Full Version : Printing question



Kicker
09-23-2008, 05:49 PM
:banghead: Using Access 2007

I have been using VB6 for years and have created a lot of forms that open a recordset and print to the default printer. I controlled everything that printed including special lines and text positions.

For example:

printer.scalemode = vbCharacters
printer.currentx = 10
printer.currenty = 10
printer.print "This is a test"
printer.EndDoc

How does this translate in Access?

Is there a difference between Access 2003 and 2007 in printing?

I don't have much hair left and am afraid of pulling the rest of it out.
:dunno

CreganTur
09-24-2008, 05:29 AM
I have been using VB6 for years and have created a lot of forms that open a recordset and print to the default printer.
Have you looked into using the PrintOut method? It seems from your description that you're wanting to print a form's recordset, and that's what this is designed to do. Take a look at the details of this method in Access Help.

Also, if that doesn't meet your needs you can take a look at the PrintForm method.