Hi,
I'm using Access 2003 and have Acrobat installed as a printer.
I use the following code to print a report but the resulting pdf file is always in black and white even though I use colour fonts in my report. I've set all my Acrobat options to colour manually wherever I can.
Set Application.printer = "Adobe PDF"
Crit$ = "[Invoice_no]= " & Val(frmS![ListBoxInvoice])
DoCmd.OpenReport "rpt_invoice", acNormal, , Crit$
I tried adding Application.printer.ColorMode = acPRCMColor after selecting the printer but still get balck and white only.
If I open the report manually, select the print menu, select 'Adobe PDF' as the printer and print, the resulting pdf is in color.
Can anyone help? Thanks. David.
I'm using Access 2003 and have Acrobat installed as a printer.
I use the following code to print a report but the resulting pdf file is always in black and white even though I use colour fonts in my report. I've set all my Acrobat options to colour manually wherever I can.
Set Application.printer = "Adobe PDF"
Crit$ = "[Invoice_no]= " & Val(frmS![ListBoxInvoice])
DoCmd.OpenReport "rpt_invoice", acNormal, , Crit$
I tried adding Application.printer.ColorMode = acPRCMColor after selecting the printer but still get balck and white only.
If I open the report manually, select the print menu, select 'Adobe PDF' as the printer and print, the resulting pdf is in color.
Can anyone help? Thanks. David.