J
Jørn Nystad
Hi
Bare with me...
And especially my english...
I'm using access 2000 cause the customer demands it. and its going to run on
XP pro SP2.
Manipulating reports using prtmip and prtdev have alway been a bit tricky i
think.
:-(
in this case i need to print:
-Access report1
---On network printer1
---From tray1
---using duplex mode (i know the printer has this capability)
---with zero lenght margins (controling margins works fine through
prtmip )
-Access report2
---On network printer1
---From tray2
---No duplex mode
---with zero lenght margins
-Word document1
---On network printer1
---From tray3
---No duplex mode
---here i will set margins lenght
The print out prosess has a prospects/offer/sale order meaning they have to
be printet sequencially:
-Customer1
---Report1
---Report2
---Document1
Customer2
---Report1
---Report2
---Document1
and so on...
Prtmip and PrtDev provides fair control over the margins and duplex
settings, but i'm having a hard time saving print settings for each report
and the document between each printout.
Can anyone give me a small tour of printing from access vba? Whats important
to keep in mind? How's the setting for each report saved?
I realise i have to open the word document from access vba and maybe run a
vba macro in the word document to set margins and stuff. Is this right?
Some sample code would have been great.
In my scenario i want to have this logical flow i the vba code:
-check print settings (correct printer etc), Should i store this in a
table?
-if not ok --> open a dialogbox where the user can select printer.
settings for each report and document is static (is it possible to use
access print dialog box (ctrl+p)? i would like to avoid
CommonControl)
-set prtmip and prtdev on reports and the word dokument
-Print!
Any hint, tip, code samples, and lame jokes are welcome.
Mvh
Jørn Nystad
Oslo, Norway
Bare with me...
And especially my english...
I'm using access 2000 cause the customer demands it. and its going to run on
XP pro SP2.
Manipulating reports using prtmip and prtdev have alway been a bit tricky i
think.
:-(
in this case i need to print:
-Access report1
---On network printer1
---From tray1
---using duplex mode (i know the printer has this capability)
---with zero lenght margins (controling margins works fine through
prtmip )
-Access report2
---On network printer1
---From tray2
---No duplex mode
---with zero lenght margins
-Word document1
---On network printer1
---From tray3
---No duplex mode
---here i will set margins lenght
The print out prosess has a prospects/offer/sale order meaning they have to
be printet sequencially:
-Customer1
---Report1
---Report2
---Document1
Customer2
---Report1
---Report2
---Document1
and so on...
Prtmip and PrtDev provides fair control over the margins and duplex
settings, but i'm having a hard time saving print settings for each report
and the document between each printout.
Can anyone give me a small tour of printing from access vba? Whats important
to keep in mind? How's the setting for each report saved?
I realise i have to open the word document from access vba and maybe run a
vba macro in the word document to set margins and stuff. Is this right?
Some sample code would have been great.
In my scenario i want to have this logical flow i the vba code:
-check print settings (correct printer etc), Should i store this in a
table?
-if not ok --> open a dialogbox where the user can select printer.
settings for each report and document is static (is it possible to use
access print dialog box (ctrl+p)? i would like to avoid
CommonControl)
-set prtmip and prtdev on reports and the word dokument
-Print!
Any hint, tip, code samples, and lame jokes are welcome.
Mvh
Jørn Nystad
Oslo, Norway