Pessoal,

Estou tendo problemas para imprimir os relatorios em uma aplicacao C++/Qt.
Depois de uma boa insistida, estou conseguindo imprimir corretamente se
eu usar a fonte "Lucida [Jdk]"  mas outras fontes nao funcionam.

So que estou com outro problema agora, a aplicacao sera executada em um
servidor de aplicacoes e os terminais usam o ltsp para se conectarem no
servidor. So que as fontes que aparecem no servidor, nao aparecem nos
terminais. Logando com o mesmo usuario direto no servidor, aparecem
varias fontes, inclusive a "Lucida [Jdk]". Logando nos terminais,
aparecem muito menos fontes e nenhuma delas conseguiu imprimir corretamente.

Estou usando o xfs no servidor de aplicacoes. Segue abaixo o
/etc/X11/fs/config do servidor de aplicacoes:


# Default font server configuration file for Red Hat Linux 6.0 #

# allow a max of 4 clients to connect to this font server
client-limit = 15

# when a font server reaches its limit, start up a new one
clone-self = off

# alternate font servers for clients to use
#alternate-servers = foo:7101,bar:7102

# where to look for fonts
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
    /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
    /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
    /usr/X11R6/lib/X11/fonts/misc,
    /usr/X11R6/lib/X11/fonts/Type1

# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100

# how to log errors
# use-syslog = on

Este e o lts;conf do servidor de boot, que nao e a mesma maquina do
servidor de aplicacoes:

#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#

[Default]
        SERVER             = 10.10.4.5
        XDM_SERVER         = 10.10.4.4
    USE_XFS            = Y
        XFS_SERVER         = 10.10.4.4
        XSERVER            = auto
    X_MOUSE_PROTOCOL   = "PS/2"
    X_MOUSE_DEVICE     = "/dev/psaux"
    X_MOUSE_RESOLUTION = 400
    X_MOUSE_BUTTONS    = 3
        XkbModel           = "abnt2"
        XkbLayout          = "br"
    LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 48m
        RUNLEVEL           = 5

#------------------------------------------------------------------------------
#
# Example of specifying X settings for a workstation
#
[captacao1]
        XSERVER            = auto
        PRINTER_0_DEVICE   = /dev/lp0
        PRINTER_0_TYPE     = P

[captacao2]
        XSERVER            = auto
    # Configuracao para monitor LG 500G
        X_HORZSYNC         = 30-54
        X_VERTREFRESH      = 50-120

[recepcao1]
        XSERVER            = auto
        PRINTER_0_DEVICE   = /dev/lp0
        PRINTER_0_TYPE     = P
    # Configuracao para monitor LG 563A
        X_HORZSYNC         = 30-61
        X_VERTREFRESH      = 50-120

[recepcao2]
        XSERVER            = auto
        PRINTER_0_DEVICE   = /dev/lp0
        PRINTER_0_TYPE     = P
    # Configuracao para monitor LG 500G
        X_HORZSYNC         = 30-54
        X_VERTREFRESH      = 50-120

[triagem1]
        XSERVER            = auto
        PRINTER_0_DEVICE   = /dev/lp0
        PRINTER_0_TYPE     = P
    # Configuracao para monitor LG 563A
        X_HORZSYNC         = 30-61
        X_VERTREFRESH      = 50-120

[triagem2]
        XSERVER            = auto
        PRINTER_0_DEVICE   = /dev/lp0
        PRINTER_0_TYPE     = P

[faturamento2]
        XSERVER            = auto
    X_MOUSE_PROTOCOL   = "Microsoft"
    X_MOUSE_DEVICE     = "/dev/ttyS0"
        PRINTER_0_DEVICE   = /dev/lp0
        PRINTER_0_TYPE     = P
    # Configuracao para monitor LG 500G
        X_HORZSYNC         = 30-54
        X_VERTREFRESH      = 50-120

[expedicao]
        XSERVER            = auto
        PRINTER_0_DEVICE   = /dev/lp0
        PRINTER_0_TYPE     = P
    # Configuracao para monitor LG 500G
        X_HORZSYNC         = 30-54
        X_VERTREFRESH      = 50-120

Se alguem puder me ajudar, ficaria muito grato



PS: Alem disto, alguem tem alguma ideia do porque que as aplicacoes em
Qt nao conseguem imprimir com todas as fontes do servidor? Apenas
algumas das fontes funcionam na impressao.

Obrigado

Josinei


---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a