[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3230.0. "Server does not have PostScript extension" by PEACHS::WALKER () Mon Aug 20 1990 12:26

    I have a customer with a DECstation 5000, running UWS 4.0.  When
    he uses the postscript previewer, he gets the error "Server
    does not have PostScript extension".  Isn't this built into
    the server?  Does any one know the cause of the error?  It's
    hard to track through the source code, as we don't have the
    postscript call where the error is generated.
    
    Thanks for any help
    Julia.
T.RTitleUserPersonal
Name
DateLines
3230.1Is the server advertising itself?...GOLLY::MILLERI need 'Deeper Understanding'Mon Aug 20 1990 13:0447
    Run xdpyinfo client to get a list of extensions built with you server
    and/or compile/link the following (xlistext.c):
    
    Regards,
    
    	 	== ken miller ==
    
    #include <stdio.h>
    #include <X11/Xlib.h>
    
    main(argc,argv)
        char *argv[];
    {
        extern char **XListExtensions();
        Display *dpy;
        int next;
        char **plist;
    
        /* Open the display */
        if (!(dpy = XOpenDisplay("")))
        {   fprintf(stderr,"%s: Unable to open display. Check $DISPLAY\n",argv[0]);
            exit(1);
        }
     
        /* Obtain the list from the server */
        if ((plist = XListExtensions(dpy,&next)) == NULL)
        {   fprintf(stderr,"%s: Unable to obtain extension list.\n",argv[0]);
            exit(1);
        }
    
        /* Tell the invoker about the extensions */
        if (next == 0)
        {   printf("There are no extensions.\n"); }
        else
        {   printf("There are %d extensions, identified as follows:\n",next);
            while (next > 0)
            { printf("\t%s\n",plist[--next]); }
        }
    
        /* Clean up */
        (void)XFreeExtensionList(plist);
        (void)XCloseDisplay(dpy);
    
        exit(0);
    }
    
    
3230.2wild guess...SUBWAY::GRAHAMThe revolution will be televisedTue Aug 21 1990 02:409
    
    >..."Server does not have PostScript extension"
    
    Also make sure that DPS is not turned off in .Xdefaults.
    If turned off, a line similar to this will appear:
    
    *DPSinitialize: False
    
    Kris..
3230.3GILROY::kleeKen LeeTue Aug 21 1990 14:316
Re: .2

Actually, the *DPSinitialize resource only controls initialization by
the session manager.  Any other program can initialize DPS later. 

Ken