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
=================== ===================