Question : Can't save Access 2003 report with specific printer under Access 2007

I'm working with an Access 2003 database under Access 2007. It's a fresh install of XPP on my bookkeepers PC, always the last machine I want to ever backup/fresh install but I had to do it at some point. I'd like to change the printer for a label report to my label printer, an Eltron Orion.

Part 1
In design mode I choose "specific printer" radio button, then select the printer. I save the label/report, it saves fine, I open it back up and it's back to "default printer" again. What's up with that? ;)

Part 2

As a last fix I tried converting to Access 2007, chosing "convert", "2007 database" and it keeps telling me it's open by "admin" and "Greg" and well, that's me! I can't seem to convert it without opening the database first.

My temporary fix

I set the default printer to her label printer! Not ideal but it's working for now...

I know I'm asking two different things here but I really just need a fix for this as it's my bookkeepers PC that we just did a fresh install on. I could go back to Office 2003 if I had to but somehow feels that's admission of defeat! ;)

Thanks folks!

Answer : Can't save Access 2003 report with specific printer under Access 2007

Try ths from the tips page pf www.aadconsulting.com

                    Switching Printers from within your MS Access Application

Fellow Access develepor, Mark Plumpton, of customdata.co.nz, has kindly provided sample code for easily switching printers on the fly while printing Access reports, with code as simple as this...

   SaveDefaultPrinter
     DefaultPrinter = "HP Laserjet (A3)"
     DoCmd.OpenReport "rptTest", acViewNormal
   RestoreDefaultPrinter

Download these demo Access97/2000 databases, which include a class module that performs the function of listing and switching default printers.
                               http://www.aadconsulting.com/printers.zip

The code is also an excellent example of how you can use classes in your MS Access applications.
Random Solutions  
 
programming4us programming4us