Subject: | Re: printing
| Date: | Thu, 9 Jul 2020 09:33:19 -0800
| From: | Peter <peterspammenot@whiteknight.email>
| Newsgroups: | pnews.paradox-development
|
But you said you were getting a blank page "before" the page with info.
It will be interesting to see if Tom's code fixes that.
On 7/9/2020 8:36 AM, Steven Green wrote:
>> repInfo.PanelOptions = PrintClipToWidth
>
> that looks promising.. thanks.. I'll try it this afternoon
>
> --
>
> Steven Green
> Myrtle Beach, South Carolina, USA
>
> http://www.OasisTradingPost.com
>
> Collectibles and Memorabilia
> Vintage Lego Sets and Parts
> - and Paradox support, too
> "Tom Krieg" wrote in message news:5f06b421$1@pnews.thedbcommunity.com...
> Here we go.This is a part of a much bigger method and is contained in a
> try/onFail
> var
> prnOptions PrinterOptionInfo
> repInfo ReportPrintInfo
> stReportName string
> endvar
>
> PrinterGetOptions(prnOptions)
> prnOptions.PaperSize = prnA4
> repInfo.Name = stReportName
> repInfo.Orient = siOrient
> repInfo.PanelOptions = PrintClipToWidth
> PrinterSetOptions(prnOptions)
> if NOT rHandle.print(repInfo) then
> fail()
> endif
>
> On 9/07/2020 12:48 pm, Tom Krieg wrote:
>
>> print command (printersetinfo or printeroptioninfo dynarray?) I
>> haven't used this for a long time and don't have any of my old code
>> handy. I
|