Re: printing issue, serveur X error

Stephane. (Stephane.Bonhomme@imag.fr)
Mon, 03 Mar 1997 12:01:35 +0100

> I tried to print my document with the default values, and others ones.
> Here is the message in shell window (not the thot window) :
>
> X Error of failed request: BadValue (integer parameter out of range for
> operation)
> Major opcode of failed request: 51 (X_SetFontPath)
> Value in failed request: 0x2a
> Serial number of failed request: 7
> Current serial number in output stream: 9
>
> Can someone tell me the solution ?

You are certainely running Thot from a remote display.
First check that the Thot font path is reacheable from the machine where your
X server is running.

If it is the case - you should not have this error, else check that a THOTFONT
entry is defined in thot thot_lib section of config/thot.ini file.

If it is not the case - Thot fonts are installed elsewhere (X terminal
resources, ... ), you must specify this path in your ~/.thotrc configuration
file (it is better to declare it in thot_lib section since all applications
will access it) otherwise the default one ($(THOTDIR)/fonts) will be used.

If the font path is not reachable or ill-formed, X will return a error warning,
this is well-handled by thot editor, but not by the print process, that's why
the warning breaks the print and not the editor.

The bug will be fixed in next release.

Stéphane.
-----------------------------------------
Stéphane BONHOMME - PhD Student
Projet Opéra

Unité de Recherche INRIA Rhône-Alpes
655 avenue de l'Europe
38330 Montbonnot Saint-Martin

email: Stephane.Bonhomme@inrialpes.fr
Phone: (33)76.61.53.81 Fax: (33) 76.61.52.52