Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing a Form? Get rid of the gray!

Status
Not open for further replies.

natemclain

Technical User
Jun 19, 2001
68
US
How can you get rid of the gray background that is always on a standard form? When I print a form it prints the gray and I don't want it to do that. Is there some way to make it print transparent or something? I haven't seen this asked before so I thought I would ask.


TIA
natemclain
 
If you open the form detail (or footer, or header) properties window there you can set the back color of the form. It practically enables you to have any background color that you wish!

ElGuapo
 
Ya I can change the background color but I really want the gray. I just don't want the gray when I print a form. I would like it to just print the data with no background. I dont know if this is possible.


natemclain
 
Try setting the form's "Fast laser printing" property to yes. I've never tried it, but the help file sets this will get rid of graphic characters to speed up printing. It probably won't print the background color. Maq B-)
<insert witty signature here>
 
how about creating a report with a
white backgrond and print that

Greg X-)
 
Ya the &quot;Fast Laser Printing&quot; is set to yes.
And I was trying to make it easy to print the info for the end user. I guess I will give the report a try.

Thanks,
nate
 
Not sure if this is good for all printers but on my HP if I select print then under set up there is a check box for print data only it then does not print the back ground.
good luck
 
You can change the background color of the sections at runtime, print the form, then change them back to gray:

With Me
.Section(acHeader).BackColor = vbWhite
.Section(acDetail).BackColor = vbWhite
.Section(acFooter).BackColor = vbWhite

DoCmd.PrintOut

.Section(acHeader).BackColor = -2147483633
.Section(acDetail).BackColor = -2147483633
.Section(acFooter).BackColor = -2147483633
End With
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top