Lines not printing in report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have spent all morning make a lovely looking report with lots of self drawn
lines using me.line.

In print preview everything is as I expect. However when I come to
physically print the work the lines are not shown.

Has anyone else had this problem? FYI I am running Access 2007. I could
backstep to 2003 but I really wanted to get this working in the new version.

Any and all help appreciated,

Gareth.
 
Gareth said:
I have spent all morning make a lovely looking report with lots of
self drawn lines using me.line.

In print preview everything is as I expect. However when I come to
physically print the work the lines are not shown.

Has anyone else had this problem? FYI I am running Access 2007. I
could backstep to 2003 but I really wanted to get this working in the
new version.

Any and all help appreciated,

Gareth.

Some printer drivers have problems with lines of the default width "hairline".
Making them one size thicker might solve the problem. Oddly enough, on some
printers using a color besides black can also cure this. If you use a dark blue
it will look about the same. In some cases changing the print processing
settings on the printer is necessary.
 
Rick Brandt said:
Some printer drivers have problems with lines of the default width "hairline".
Making them one size thicker might solve the problem. Oddly enough, on some
printers using a color besides black can also cure this. If you use a dark blue
it will look about the same. In some cases changing the print processing
settings on the printer is necessary.

Thanks for the swift response. I have changed my line color to red and the
thickness to 20 pixels and they still won't print. However the changes are
reflected in the print preview screen.

I am using a HP PSC 1510 (an all in one inkjet) at home (where I am now).
However, at work I have a different printer but I will not be able to test it
until tomorrow. As long as it works in the office then all will be fine.

I will post the results of the test when I have completed it. If you have
any other suggestions between now and then please let me know.

Many thanks,

Gareth Watson
 
Increase the current Resolution(Quality) setting on the Ink Jet Printer
Driver.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Stephen Lebans said:
Increase the current Resolution(Quality) setting on the Ink Jet Printer
Driver.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

Stephen, Rick,

Thank you for the support so far. It is appreciated. Unforntunately the
lines are not printed on my laser printer at work either. I made the changes
that you guys recommended, upped the quality, changing line colour/thickness
etc. but without success.

To my mind there are three possiblities:

1) I am the unluckiest guy in the world and have two printers that exhibit
problems printing the lines as you suggested.
2) There is a bug in access that means these lines will never print.
3) I am doing something wrong in my code.

Option 1 seems unlikely the printers are from different manufacturers, one
is a local printer the other a network printer. One is an inkjet printer one
is a laser. There are enough differences between the two that I would have
expected at least one to work.

Option 2 seems highly unlikely, there would be a lot more people complaining!

So that leaves option 3, me! To that end I have included the code that I am
using to draw the lines around a group of controls in the detail section of
the report. This code lives in the report "OnPrint" event.

Me.DrawStyle = 1 ' 0 = (Solid Line) thru 6 = (invisible line)
' ALL NUMBERS ARE PIXELS...
Me.DrawWidth = 20 ' set the thickness of the line
' Draw a box (the border!) around the page.
Me.Line (lbltitle.Left, 0)-(lbltitle.Left, Me.Height)
Me.Line (lbltitle.Width + lbltitle.Left, 0)-(lbltitle.Width + lbltitle.Left,
Me.Height)
Me.Line (Me.Text6.Width + Me.Text6.Left, 0)-(Me.Text6.Width +
Me.Text6.Left,Me.Height)

Does this code look like it would work? As I say in print preview
everything is perfect. If only it would transfer to paper!

As always any and all help appreciated,


Gareth.
 
Gareth Watson said:
I have spent all morning make a lovely looking report with lots of self drawn
lines using me.line.

In print preview everything is as I expect. However when I come to
physically print the work the lines are not shown.

Has anyone else had this problem? FYI I am running Access 2007. I could
backstep to 2003 but I really wanted to get this working in the new version.

Any and all help appreciated,

Gareth.

I have it working! But not the way that I want. I have downgraded to
Access XP and all the lines are printing as I would expect. So it looks like
it is a peculiarity of Access 2007 (which to be fair is in beta so maybe I
shouldn't expect too much from it).

However, slightly off-topic, does anyone know how I can raise this issue
with the beta version to MS so that someone there can check it out?

Once again, thanks for all the help,

Gareth Watson.
 
Back
Top