b211be496cb00c0899c46fa90d70181efe41bef6
jcasper
  Mon Feb 6 16:20:57 2023 -0800
Removing EPS output links for hgTracks/hgGenome, refs #30606

diff --git src/hg/hgGenome/mainPage.c src/hg/hgGenome/mainPage.c
index 6379871..4f8b436 100644
--- src/hg/hgGenome/mainPage.c
+++ src/hg/hgGenome/mainPage.c
@@ -492,40 +492,39 @@
 else
     {
     hPrintf("<BR><B>No graph data is available for this assembly.  "
 	    "Upload your own data or import from a table or custom track.</B>");
     }
 return result;
 }
 
 void handlePostscript(struct sqlConnection *conn)
 /* Deal with Postscript output. */
 {
 struct tempName psTn;
 char *pdfFile = NULL;
 trashDirFile(&psTn, "hgg", "hgg", ".eps");
 cartWebStart(cart, database, "%s Genome Graphs", genome);
-printf("<H1>PostScript/PDF Output</H1>\n");
-printf("PostScript images can be printed at high resolution "
-       "and edited by many drawing programs such as Adobe "
-       "Illustrator.<BR>");
+printf("<H1>PDF Output</H1>\n");
 
 boolean result = renderGraphic(conn, psTn.forCgi);
 if (result)
     {
-    printf("<A HREF=\"%s\">Click here</A> "
-	   "to download the current browser graphic in PostScript.  ", psTn.forCgi);
+    printf("EPS (PostScript) output has been discontinued in pursuit of additional features\n");
+    printf("that are not PostScript-compatible.  If you require PostScript output for your\n");
+    printf("workflow, please <a href='https://genome.ucsc.edu/contacts.html'>reach out to us</a>\n");
+    printf("and let us know what your needs are - we may be able to help.\n");
     pdfFile = convertEpsToPdf(psTn.forCgi);
     if(pdfFile != NULL)
 	{
 	printf("<BR><BR>PDF can be viewed with Adobe Acrobat Reader.<BR>\n");
 	printf("<A TARGET=_blank HREF=\"%s\">Click here</A> "
 	       "to download the current browser graphic in PDF.", pdfFile);
 	}
     else
 	printf("<BR><BR>PDF format not available");
     freez(&pdfFile);
     }
 printf("<BR><BR><A HREF=\"../cgi-bin/hgGenome\">Return</A>");
 cartWebEnd();
 }