cArquivoPreviously generated disk report; optional in historical syntax.
AdvPL GuideOurSpool([cArquivo]) -> NILOpens the legacy Protheus print manager.
The historical manual describes OurSpool loading disk reports from the MV_RELT directory. A filename can select one report; prose and parameter table conflict on requiredness while syntax marks it optional. It does not generate the report itself or prove physical printing. This example only prepares a call for an existing test report. (Sources: refs. 1–1.)
OurSpool([cArquivo]) -> NILcArquivoPreviously generated disk report; optional in historical syntax.
NIL according to the historical reference.
#Include "Protheus.ch"
User Function Ed564()
// Requires a test report and UI; block not invoked.
Local bSpool := {|cFile| OurSpool(cFile)}
ConOut(ValType(bSpool))
Return NilPrints B; opens or sends no report. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.