rem: gHtmlDocument.write("<br>"+locationTag+": "+calendarEventDisplay.event.location); 
add: gHtmlDocument.write("<br><strong>"+locationTag+"</strong>: "+calendarEventDisplay.event.location); 
context: function printDayView(currentDate) {  var dayStart = currentDate.getDate();  var mydateshow="";  mydateshow+=ArrayOfDayNames[currentDate.getDay()];  mydateshow+=", ";  mydateshow+=monthNames[currentDate.getMonth()]+" "+currentDate.getDate()+" "+currentDate.getFullYear();  gHtmlDocument.write("<table>");  gHtmlDocument.write("<tr ><td colspan=2 align=center style='font-size:26px;font-weight:bold;border-bottom:1px solid black;'>");  gHtmlDocument.write(mydateshow);  gHtmlDocument.write("</td></tr>");  gHtmlDocument.write("<tr><td width=20% style='border-bottom:1px solid black;'>Time</td><td width=80% style='border-bottom:1px solid black;'>Event</td></tr>");  gHtmlDocument.write("<tr style='height=20px;'><td colspan=2 style='border-bottom:1px solid black;'> </td></tr>"); // for entering a new appt  var calendarEventDisplay  // add each calendarEvent  dayEventList = eventSource.getEventsForDay( currentDate );  for( var eventIndex = 0; eventIndex < dayEventList.length; eventIndex++ )  {    calendarEventDisplay = dayEventList[ eventIndex ];    var listpriv=true;    if (calendarEventDisplay.event.privateEvent)      if (! gShowprivate.checked)        listpriv=false;    if (listpriv)    {      gHtmlDocument.write("<tr style='height=20px;'><td valign=top style='border-bottom:1px solid black;'>");      var eventStartTime = new Date( calendarEventDisplay.event.start.getTime() ) ;      var formattedStartTime=returnTime(eventStartTime);      var eventEndTime = new Date( calendarEventDisplay.event.end.getTime() ) ;      var formattedEndTime=returnTime(eventEndTime);      var formattedTime=formattedStartTime+"-"+formattedEndTime;      if (calendarEventDisplay.event.allDay)        formattedTime=''; // all day event      gHtmlDocument.write(formattedTime);      gHtmlDocument.write("</td><td valign=top style='border-bottom:1px solid black;'>"+calendarEventDisplay.event.title);      if (calendarEventDisplay.event.description)        gHtmlDocument.write("<br>"+descriptionTag+": "+calendarEventDisplay.event.description);      if (calendarEventDisplay.event.location)        gHtmlDocument.write("<br>"+locationTag+": "+calendarEventDisplay.event.location);      if (calendarEventDisplay.event.url)        gHtmlDocument.write("<br>"+uriTag+": "+calendarEventDisplay.event.url);      var mystat='Cancelled';      if (calendarEventDisplay.event.status == 10029)        mystat='Tentative';      if (calendarEventDisplay.event.status == 10030)        mystat='Confirmed';      gHtmlDocument.write("<br>Status: "+mystat);      gHtmlDocument.write("</td></tr>");      gHtmlDocument.write("<tr style='height=20px;'><td colspan=2  style='border-bottom:1px solid black;'> </td></tr>"); // for entering a new appt    }  }  gHtmlDocument.write("</table>");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0fa2633be582ae6231d5a40e4013f0c02d6e01e6/calPrintEngine.js/clean/calendar/resources/content/calPrintEngine.js