knowledge-database (beta)

Current group: dbase.reports

Preview.wfm--printout pages not same as preview window pages

Preview.wfm--printout pages not same as preview window pages  
Malcolm Horsnell
 Re: Preview.wfm--printout pages not same as preview window pages  
Ken Mayer [dBVIPS]
 Re: Preview.wfm--printout pages not same as preview window pages  
Malcolm Horsnell
From:Malcolm Horsnell
Subject:Preview.wfm--printout pages not same as preview window pages
Date:Tue, 14 Dec 2004 11:45:31 -0500
I'm using preview.wfm (Oct 10/03--the latest I believe). A 37 page report in
the preview window prints in 36 pages in the actual printout.

When I select pages to print from the preview.wfm (using the Start Page and
End Page boxes), the pages print correctly up to page 10. After that the
printout starts to shift ahead a little, until by page 37 it is a whole page
ahead. I think this would be frustrating for the enduser to find that the
printout differed from the pages they had selected.

Malcolm Horsnell
From:Ken Mayer [dBVIPS]
Subject:Re: Preview.wfm--printout pages not same as preview window pages
Date:Tue, 14 Dec 2004 09:36:14 -0800
Malcolm Horsnell wrote:
> I'm using preview.wfm (Oct 10/03--the latest I believe). A 37 page report in
> the preview window prints in 36 pages in the actual printout.
>
> When I select pages to print from the preview.wfm (using the Start Page and
> End Page boxes), the pages print correctly up to page 10. After that the
> printout starts to shift ahead a little, until by page 37 it is a whole page
> ahead. I think this would be frustrating for the enduser to find that the
> printout differed from the pages they had selected.

NOTE: Preview.wfm is not doing anything wrong here. The difficulty is
the reportViewer object ... there is no bug in preview.wfm (at least not
in regards to this issue). Please don't assume otherwise unless you find
an actual bug in that program.

Preview.wfm simply uses the objects of dBASE to do its thing. The
reportViewer class does not display things to match the printer driver.
I cannot fix that ... there is nothing that can be done in Preview.wfm
for this. This is an issue specifically for the reportViewer class, and
frankly, it is not something I think can be easily dealt with. What if,
for example, you have three different printers that you could print to,
and a PDF driver? How is the reportViewer class to know which one you
are printing to?

I don't know what is done internally with this class to determine how it
displays reports, but this is very clearly the reportViewer class, and
not preview.wfm ... (feeling a bit defensive of some really good code
.... )

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
From:Malcolm Horsnell
Subject:Re: Preview.wfm--printout pages not same as preview window pages
Date:Tue, 14 Dec 2004 14:41:43 -0500
Ken, Thanks for the explanation. I guess I'll just live with what is
happening. Perhaps, if endusers limit the no. of pages by using Set Range or
Set Filter they can get exactly what they want printed.

Thanks, Malcolm Horsnell

"Ken Mayer [dBVIPS]" wrote in message
news:$o$nqQg4EHA.2168@news-server...
>
> NOTE: Preview.wfm is not doing anything wrong here. The difficulty is
> the reportViewer object ... there is no bug in preview.wfm (at least not
> in regards to this issue). Please don't assume otherwise unless you find
> an actual bug in that program.
>
> Preview.wfm simply uses the objects of dBASE to do its thing. The
> reportViewer class does not display things to match the printer driver.
> I cannot fix that ... there is nothing that can be done in Preview.wfm
> for this. This is an issue specifically for the reportViewer class, and
> frankly, it is not something I think can be easily dealt with. What if,
> for example, you have three different printers that you could print to,
> and a PDF driver? How is the reportViewer class to know which one you
> are printing to?
>
> I don't know what is done internally with this class to determine how it
> displays reports, but this is very clearly the reportViewer class, and
> not preview.wfm ... (feeling a bit defensive of some really good code
> ... )
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase
   

Copyright © 2006 knowledge-database   -   All rights reserved