PDA

View Full Version : Dotted lines print as solid on Page 2


Jeff Bennett
04-07-2004, 03:56 AM
I am seeing what appears to be a printer driver bug for HP 6MP but I'd
appreciate it if anyone out there has any comments so I know
if I'm crazy or so I can better understand the situation.

The problem is that
- Printing Dotted lines to printer object
works ok on 1st page,
comes out solid on 2nd page.

** Note the problem occurs with the default printer properties
settings. I can correct the problem by changing settings
for the printer - Selecting Printer Properties, and changing
the PostScript Options setting In the Advanced tab of the
Printer Properties from the original default setting of
"Optimize for Speed" to "Optimize for Portability"

Is there some reason why "Optimize for Speed" would
change dotted lines to solid on the second page of a
a print job?

Here is visual basic code for an application which reproduces
the problem - it should print dotted lines on two pages in a
single print job but the 2nd page has solid lines

Here is the code

' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
' Print to Page 1
Printer.Print "Page 1"
Printer.DrawStyle = vbDot
Printer.DrawWidth = 1
Printer.Line (0, 0)-(Printer.ScaleWidth, Printer.ScaleHeight)
Printer.Line (0, Printer.ScaleHeight) -(Printer.ScaleWidth, 0)

' go to next page and print again with same drawing commands
Printer.NewPage

Printer.Print "Page 2"
Printer.DrawStyle = vbDot
Printer.DrawWidth = 1
Printer.Line (0,0)-(Printer.ScaleWidth, Printer.ScaleHeight)
Printer.Line (0, Printer.ScaleHeight) -(Printer.ScaleWidth, 0)

' Close printer job
Printer.EndDoc
' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Any assistance would be welcome.
Please write to me at

Thank you

Jeff Bennett
Jeff@Bennet-Tec.Com


=================== ===================


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service