Thank you for your reply. I am already prepared to supply mime type based on file extension. I was trying to handle the scenario when a user does not supply a file with extension...or changes the extension from correct to in-correct. Do you have any experience with changing the PARAMETER CONTENTTYPE at runtime. I believe I am using the syntax in the documentation, but Studio disagrees. Thank you again.

I attempted this. Perhaps you could point out the error of my ways?

Method SetAlertColor(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) As %Status
{
 if (%query(pName)>30) //Orange.
  {
   //Normal:
   //s pSeed=%query(pName)
   //&html<<div> #(pSeed)#</div>>
       
   //Attempt01:
   //&html<<div style="color:#FF6600">#(pSeed)#</div>> 

   //Attempt02:
   //s pSeed="<div style="_Chr(34)_"color:#FF6600>"_Chr(34)_%query(pName)_"</div>"
   //&html<#(pSeed)#> 
  }
 if (%query(pName)>60) //Red
  {
  }
    
    q $$$OK
}

Hello again, I have returned to creating a web page which contains the image data that I wish to print.

This approach works when I reference images in my /csp directory. However, I need to reference

images which may reside on several storage locations.

 

I am exploring using virtual directories defined on my CSPGateWay – so far unsuccessfully.

I have tried using URL and just virtual directory syntax(see below).

 

My hope is that someone with experience in web development might take a look and point out any issues.

Thank you.

 

<!DOCTYPE html>

<html>

<head>

<title>Print Window</title>

</head>

<body>

<img height="1000" width="1000" src="http://myIISserver/csp/IPMDrvK/###/###/##e/#uk/euk_3.tif">

<img height="1000" width="1000" src="http://myIISserver/csp/IPMDrvK/###/###/##e/#uk/euk_4.tif">

<img height="1000" width="1000" src="http://myIISserver/csp/IPMDrvK/###/###/##e/#uk/euk_5.tif">

</body>

</html>

 

<!DOCTYPE html>

<html>

<head>

<title>Print Window</title>

</head>

<body>

<img height="1000" width="1000" src="/IPMDrvK/###/###/##e/#uk/euk_3">

<img height="1000" width="1000" src="/IPMDrvK/###/###/##e/#uk/euk_4">

<img height="1000" width="1000" src="/IPMDrvK/###/###/##e/#uk/euk_5">

</body>

</html>

The rows of the tablepane represent a document. Each row in the tablepane is a reference to an image file. When the user selects a row the image is rendered. When the number of tablepane rows(pages in a document) are large, this navigation becomes cumbersome. Hiding the tablepane and using the tableNavigatorBar would be a simple and compact way to traverse the pages.

The rows of the tablepane represent a document. Each row in the tablepane is a reference to an image file. When the user selects a row the image is rendered. When the number of tablepane rows(pages in a document) are large, this navigation becomes cumbersome. Hiding the tablepane and using the tableNavigatorBar would be a simple and compact way to traverse the pages.