gulya2005
18th March 2008, 08:24
We`re trying to predefine report with such code:
spool.device="WINPRINTER1"
spool.paper.type="A4W_70"
spool.view.rtl= TRUE
spool.fontnumber=3

spool.device="WINPRINTER1" works, but other parameters don`t. We have suggestion that some parameters are refered to Baan V..Are we right? Are there any analog for them in Baan IV?

Hitesh Shah
18th March 2008, 11:32
Have u seen brp functions such as brp.open , brp.ready and brp.close .

mark_h
18th March 2008, 15:52
My documentation shows these variables available:
DESCRIPTION The following predefined variables are used within the spooler functions:
long spool.date date to print
long spool.fontnumber number of font, 1=LARGE, 2=SMALL,
3=MIDDLE
long spool.id identification of spooler
long spool.left.mrg left margin
long spool.pr.copies number of copies
long spool.pg.length length of page
long spool.pg.width width of page, incl left margin
long spool.time time to print
long spool.view.rtl report in bidirectional language,
true = yes, false = no
string spool.device(14) name of spooler device
string spool.fileout(100) path name of spooler output file
string spool.paper.type(6) type of paper
string spool.pr.line(300) line to print
string spool.report(20) report to be printed

Exactly how are you predefining the device? Are you doing this so the user does not get prompted for a printer or what? I have not tried some of these variables.