Crystal crReport

beasscript-logo-small

 

printobject=crreport=[additional properties]

 

allow to use all additional properties and methods from Crystal engine directly

 

 

 

Properties

Property

Description

exportoptions

printobject=crreport=exportoption=<parameters>

export

save/export the report

true=popup window for question format and application

false=export direct with the current settings

return: Variable return=1 ok, -1=error

printout

print the document

return: Variable return=1 ok, -1=error

saveas=<filename>

save the document in crystal 8 Format

selectprinter=driver

set the current Printer

printobject=crreport=selectprinter=[printerdriver]=[printername]=[port}

 

You need only the printer name

Short Syntax is

printobject=crreport=selectprinter==[printername]

 

Example

printobject=crreport=selectprinter==hp office

 

more info see printer

 

Note: If you want to print over webapp, the system will use the default printer defined in location settings

copies

Define count of copies

printobject=crreport=copies=3
printobject=crreport=printout

 

Print-Properties

Property

Description

papersize=x

papersource=x

leftmargin=x

set left margin

topmargin=x

set top margin

bttommargin=x

set bottom margin

rightmargin=x

set right margin

paperorientation=x

duplex=x

papersizewidth

Define Paper size width

papersizeheight

Define Paper size height