<<

Contents

Search

>>

 

LPRINT_TO_HTML

 

 

Function

 

 

Syntax:

LPRINT_TO_HTML(<Filename>)

 

<Filename> = <STRING-EXPRESSION>

 

Meaning:

Creates a Html file from print output.

 

Like the instruction PRINTER, LPRINT_TO_HTML closes the current print list and starts the print. With the instruction PRINTER a list is printed, with LPRINT_TO_HTML a Html file is created.

 

Attention: The file ebusprint.js has to be in the directory of the created Html file when graphical print instructions (LPDRAWLINE, LPFILLRECT, etc.) are used.

 

This function has no effect with DISABLE LPGDI or when LP_AUTORECORDER_ON or LP_RECORDER_ON is active.

 

LPRINT_TO_HTML returns the following results:

 

0: no error

-2: no graphic print (DISABLE LPGDI)

-3: LP_AUTORECORDER_ON is active.

-4: LP_RECORDER_ON is active.

 

Parameter:

Filename

Name of Html file

 

Sample:

REPORT #100

H% = LPRINT_TO_HTML("Print.html")

 

See also:

LPRINT_TO_IMAGE

PRINTER

LP_AUTORECORDER_ON

LP_RECORDER_ON