A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Specific printer - Access 2007



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2007, 09:12 PM posted to microsoft.public.access.reports
Jim S[_3_]
external usenet poster
 
Posts: 24
Default Specific printer - Access 2007

I have a report that needs a specific printer, only available from one PC.
The solutions I see here allow selecting the printer, but the printer returns
to the default printer if you every go to design view with the report or in
some cases design view with any report in the database.

I would prefer to hard code the printer and margins where they can not
possibly change. The default printer would need to work for other reports.

I not a VB person. Is there code that could be added to a property or event
that is already published that would accomplish this.
Thanks
  #2  
Old July 12th, 2007, 09:56 PM posted to microsoft.public.access.reports
Maurice
external usenet poster
 
Posts: 1,585
Default Specific printer - Access 2007

Hi Jim,

Am I having a deja vu or did you not post this question earlier?

well just a quote from the Allen Browne reply on that question earlier...

------------
If it's any help, there is a way to create a custom property for the report
to hold the printer name you want it to print to. You then set the Printer
object before opening the report, and reset it afterwards. You can copy the
code to do this from the sample database in this article:
Printer Selection Utility - Users assign printers to reports
at:
http://allenbrowne.com/AppPrintMgt.html


hth
--
Maurice Ausum


"Jim S" wrote:

I have a report that needs a specific printer, only available from one PC.
The solutions I see here allow selecting the printer, but the printer returns
to the default printer if you every go to design view with the report or in
some cases design view with any report in the database.

I would prefer to hard code the printer and margins where they can not
possibly change. The default printer would need to work for other reports.

I not a VB person. Is there code that could be added to a property or event
that is already published that would accomplish this.
Thanks

  #3  
Old July 13th, 2007, 02:16 AM posted to microsoft.public.access.reports
Jim S[_3_]
external usenet poster
 
Posts: 24
Default Specific printer - Access 2007

I did post the question, but thought I might not have adequately explained
that the printer never needs to change for this series of reports. We do
have to go back into the report and make design changes though. I have used
Allen's module and toolbar if this is what you are refering too. It works to
get the correct printer to stay with the report - as long as you don't view
it in design view or anyother report that used that printer in design view.
If I do use design veiew, I have to reset the printer and the margins on each
report. Am I missing something?
Thanks

"Maurice" wrote:

Hi Jim,

Am I having a deja vu or did you not post this question earlier?

well just a quote from the Allen Browne reply on that question earlier...

------------
If it's any help, there is a way to create a custom property for the report
to hold the printer name you want it to print to. You then set the Printer
object before opening the report, and reset it afterwards. You can copy the
code to do this from the sample database in this article:
Printer Selection Utility - Users assign printers to reports
at:
http://allenbrowne.com/AppPrintMgt.html


hth
--
Maurice Ausum


"Jim S" wrote:

I have a report that needs a specific printer, only available from one PC.
The solutions I see here allow selecting the printer, but the printer returns
to the default printer if you every go to design view with the report or in
some cases design view with any report in the database.

I would prefer to hard code the printer and margins where they can not
possibly change. The default printer would need to work for other reports.

I not a VB person. Is there code that could be added to a property or event
that is already published that would accomplish this.
Thanks

  #4  
Old July 13th, 2007, 08:18 AM posted to microsoft.public.access.reports
Maurice
external usenet poster
 
Posts: 1,585
Default Specific printer - Access 2007

Hi Jim,

i get your point. But to my knowledge this bug isn't fixed yet. So coding
according to the KB-article or using Allen's module seems to be the only
workaround as of this moment.
--
Maurice Ausum


"Jim S" wrote:

I did post the question, but thought I might not have adequately explained
that the printer never needs to change for this series of reports. We do
have to go back into the report and make design changes though. I have used
Allen's module and toolbar if this is what you are refering too. It works to
get the correct printer to stay with the report - as long as you don't view
it in design view or anyother report that used that printer in design view.
If I do use design veiew, I have to reset the printer and the margins on each
report. Am I missing something?
Thanks

"Maurice" wrote:

Hi Jim,

Am I having a deja vu or did you not post this question earlier?

well just a quote from the Allen Browne reply on that question earlier...

------------
If it's any help, there is a way to create a custom property for the report
to hold the printer name you want it to print to. You then set the Printer
object before opening the report, and reset it afterwards. You can copy the
code to do this from the sample database in this article:
Printer Selection Utility - Users assign printers to reports
at:
http://allenbrowne.com/AppPrintMgt.html


hth
--
Maurice Ausum


"Jim S" wrote:

I have a report that needs a specific printer, only available from one PC.
The solutions I see here allow selecting the printer, but the printer returns
to the default printer if you every go to design view with the report or in
some cases design view with any report in the database.

I would prefer to hard code the printer and margins where they can not
possibly change. The default printer would need to work for other reports.

I not a VB person. Is there code that could be added to a property or event
that is already published that would accomplish this.
Thanks

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.