Subject: | Re: printing
| Date: | Thu, 9 Jul 2020 16:07:28 +1000
| From: | Tom Krieg <REMOVEtomkCAPITALS@sdassociates.com.au>
| Newsgroups: | pnews.paradox-development
|
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
|