My Assistant
![]()
Custom Search
|
![]() ![]() |
![]() |
![]() Post#1 | |
Posts: 19 Joined: 18-March 14 ![]() | I'm sure this is an easy one but I can't figure it out... The default printer has always been the one on my home group and I've never had trouble sending to it. At some point I needed to print to PDF so changed the printer and it outputted correctly. Now however, whenever I choose to print reports, it defaults to "MS Print to PDF". I can switch back to the correct printer but it doesn't stick. Next time I print it defaults to PDF. Is there a global setting in Access for this? BTW, all my other apps are still defaulting to the correct printer. |
![]() Post#2 | |
UtterAccess VIP Posts: 10,336 Joined: 30-April 10 From: Pacific NorthWet ![]() | Perhaps someone else here has a 'global' setting. When I change printers (e.g., a new printer), I change the "print to" information in each report. Hmmm, perhaps Access does have a "DefaultPrinter" property you could set during application startup...? -------------------- Regards Jeff Boyce Microsoft Access MVP (2002-2015) Mention of hardware or software is, in no way, an endorsement thereof. The FTC of the USA made this disclaimer necessary/possible. |
![]() Post#3 | |
![]() UA Admin Posts: 36,177 Joined: 20-June 02 From: Newcastle, WA ![]() | -------------------- My Real Name Is George. Grover Park Consulting is where I did business for 20 years. How to Ask a Good Question Beginning SQL Server |
![]() Post#4 | |
Posts: 19 Joined: 18-March 14 ![]() | It's checked. |
![]() Post#5 | |
![]() UA Admin Posts: 36,177 Joined: 20-June 02 From: Newcastle, WA ![]() | So Windows is supposed to remember and reuse the last used printer definition. And Access isn't getting that message. Or maybe it is! Are your users all sharing one copy of the accdb Front End, by any chance? -------------------- My Real Name Is George. Grover Park Consulting is where I did business for 20 years. How to Ask a Good Question Beginning SQL Server |
![]() Post#6 | |
Posts: 19 Joined: 18-March 14 ![]() | I am the only user and I only have one instance up at a time. |
![]() Post#7 | |
![]() Utterly Crispy UA Forum Administrator Posts: 8,817 Joined: 29-September 01 From: Edmonton,Alberta,Canada ![]() | Go into Settings Printers and Scanners and click on you regular default printer and select manage the select set as default printer. Go back to settings window for printers and uncheck the box George asked you to check. All should be good as far as I am able to help you. Back in Windows 7 one used to be able to write to the win.ini file and select and change or select and keep the default printer with code. -------------------- Human nature, it is a funny thing and the hardest thing to program to prevent. Glen Kruger KNKConsulting MS Access MVP 2013-2018| Wrox Techincal Contributor |
![]() Post#8 | |
Posts: 19 Joined: 18-March 14 ![]() | Thanks, that did it. I don't know how that got checked. FYI, default doesn't even show up if that box is checked. I had to go un-check it in order to see the default selection. |
![]() Post#9 | |
![]() UtterAccess Editor Posts: 10,515 Joined: 8-November 07 From: South coast, England ![]() | Have you thought of this approach, all reports are set to the default printer in the reports' design. But the dB routes each report appropriately as selected on the print set up form. This means that the report design doesn't need to be modified if the printer is changed or if some reports need to go to specialist, eg label, printers. hth -------------------- Warm regards Bernie |
![]() Post#10 | |
![]() Utterly Crispy UA Forum Administrator Posts: 8,817 Joined: 29-September 01 From: Edmonton,Alberta,Canada ![]() | Glad it worked for you with the box not checked it shouldn't matter what you select to print a report to it will remember what you want as a default printer. Windows basically built it in. We had to write code to do it by finding the name and port of the default printer saving it to a variable then change the printer wanted to use and on close of report change back to previous default printer. It was a nightmare some times as the API calls needed would change on some of Windows updates. Good luck with your project. -------------------- Human nature, it is a funny thing and the hardest thing to program to prevent. Glen Kruger KNKConsulting MS Access MVP 2013-2018| Wrox Techincal Contributor |
![]() Post#11 | |
![]() Posts: 345 Joined: 21-September 14 From: Tampa Bay, Florida, USA ![]() | @Bernie In my app I have certain reports going to specific printers. If the specific printer is not available, Access will automatically prompt user to select a different printer, including the default. Attached File(s) ![]() ![]() -------------------- Currently supporting pawnbrokers that use my store management system developed with Access 2010 on Windows7. Experienced with Informix and Oracle DB's. |
![]() Post#12 | |
![]() UtterAccess Editor Posts: 10,515 Joined: 8-November 07 From: South coast, England ![]() | Hi Frank Yes these are the standard built in Access functions. The approach I've taken is allow users to select the printer for each report type on a printer set up form. This means that I can distribute apps to different clients or different departments/users without needing to know anything about their printer installation and without them getting the printer not available dialog box everytime they use reports that have a specific printer identified in the report's design. hth -------------------- Warm regards Bernie |
![]()
Custom Search
|
![]() | Search Top Lo-Fi | 10th December 2019 - 03:06 AM |