Link to home
Start Free TrialLog in
Avatar of JackVannoy
JackVannoy

asked on

Sending a dataviewgrid with different column colors to a printer

We have a dataviewgrid  in VB.Net that displays different data on each row and different colors in some of the columns. How do we send the colors to the printer.  When using an MSFlexGrid in VB6 code, it works fine.  Appreciate any help!

Jack
Avatar of Robberbaron (robr)
Robberbaron (robr)
Flag of Australia image

what code are you using to print ?
printing the control or the form ?
Avatar of JackVannoy
JackVannoy

ASKER

The printing code we are using will send and print the data that is in the Dataviewgrid, but our problem is that we cannot get the colors that  are in the grid to print on the printer.
ok, but we would need to see the printing code to be of any assistance.

It may be easier to copy the DG info out into a HTML table with a std CSS file or section, and print that.
it also allows for export to PDF if someone asks for it.
Thanks for your response.  Got called away, but will try to get back to you tomorrow.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.