long PCMSGetHTMLRpt(Trip trip, int rpt, char *buffer, long bufSize)


Trip trip – Handle to a trip.

int rpt – The report type.

char *buffer – The buffer where the specified report will be deposited.

long bufSize – The number of bytes in the buffer.



Gets a text buffer containing the specified report formatted as HTML.

Return Values 

Standard Returns

Sample Code 

/* Get state by state mileage breakdown report*/
length = PCMSNumHTMLRptBytes(pracTrip, RPT_STATE);
PCMSGetHTMLRpt(pracTrip, RPT_STATE, buf, 20000);
printf(“The entire state report:\n%s\n”, buf);

Supported Since: PC*MILER Connect 15

Category: Trip Reports