char **,	printed_url,
CONST char *,	printed_url,
PUBLIC int print_options ARGS3(	char **,	newfile,	char **,	printed_url,	int,		lines_in_file){    static char my_temp[LY_MAXPATH];    char *buffer = 0;    int count;    int pages;    FILE *fp0;    lynx_printer_item_type *cur_printer;    LYRemoveTemp(my_temp);    if ((fp0 = LYOpenTemp(my_temp, HTML_SUFFIX, "w")) == NULL) {	HTAlert(UNABLE_TO_OPEN_PRINTOP_FILE);	return(-1);    }    LYLocalFileToURL(newfile, my_temp);    BeginInternalPage(fp0, PRINT_OPTIONS_TITLE, PRINT_OPTIONS_HELP);    fprintf(fp0, "<pre>\n");    /*  pages = lines_in_file/66 + 1; */    pages = (lines_in_file+65)/66;    HTSprintf0(&buffer, "   <em>%s</em> %s\n   <em>%s</em> %d\n   <em>%s</em> %d %s %s\n",	    gettext("Document:"), *printed_url,	    gettext("Number of lines:"), lines_in_file,	    gettext("Number of pages:"), pages,	    (pages > 1 ? gettext("pages") : gettext("page")),	    gettext("(approximately)"));    fputs(buffer, fp0);    FREE(buffer);    if (no_print || no_disk_save || child_lynx || no_mail)	fprintf(fp0, "   <em>%s</em>\n", gettext("Some print functions have been disabled!"));    fprintf(fp0, "\n%s\n",	    (user_mode == NOVICE_MODE)	    ? gettext("Standard print options:")	    : gettext("Print options:"));    if (child_lynx == FALSE && no_disk_save == FALSE && no_print == FALSE) {	fprintf(fp0,		"   <a href=\"LYNXPRINT://LOCAL_FILE/lines=%d\">%s</a>\n",		lines_in_file,		gettext("Save to a local file"));    } else {	fprintf(fp0,"   <em>%s</em>\n", gettext("Save to disk disabled"));    }    if (child_lynx == FALSE && no_mail == FALSE && local_host_only == FALSE)	fprintf(fp0,		"   <a href=\"LYNXPRINT://MAIL_FILE/lines=%d\">%s</a>\n",		lines_in_file,		gettext("Mail the file"));#ifndef DOSPATH    fprintf(fp0,	    "   <a href=\"LYNXPRINT://TO_SCREEN/lines=%d\">%s</a>\n",	    lines_in_file,	    gettext("Print to the screen"));    fprintf(fp0,	    "   <a href=\"LYNXPRINT://LPANSI/lines=%d\">%s</a>\n",	    lines_in_file,	    gettext("Print out on a printer attached to your vt100 terminal"));#endif    if (user_mode == NOVICE_MODE)	fprintf(fp0, "\n%s\n", gettext("Local additions:"));    for (count = 0, cur_printer = printers; cur_printer != NULL;	cur_printer = cur_printer->next, count++)    if (no_print == FALSE || cur_printer->always_enabled) {	fprintf(fp0,		"   <a href=\"LYNXPRINT://PRINTER/number=%d/pagelen=%d/lines=%d\">",		count, cur_printer->pagelen, lines_in_file);	fprintf(fp0, (cur_printer->name ?		      cur_printer->name : "No Name Given"));	fprintf(fp0, "</a>\n");    }    fprintf(fp0, "</pre>\n");    EndInternalPage(fp0);    LYCloseTempFP(fp0);    LYforce_no_cache = TRUE;    return(0);}