Herramientas Personales
Usted está aquí: Inicio ¡Participa! Foros
Acciones de Documento
Hilo abierto

Imprimiendo en Guadalinex con una impresora bajo wxp

Volver al foro (Usando Guadalinex V6)
Orden:   
  • Escrito por terminaito el 13/03/2010 18:07

    terminaito

    Usuario Ancestral

    Envíos: 4

    Hola, hace poquito que estoy empezando con guadalinex y se me ha

    presentado el siguiente problema. Tengo una impresora compartida en un

    equipo wxp, sigo los pasos para instalarla como recurso samba compartido

    en mi linux recien instalado en un netbook, pero siempre al intentar imprimir

    recibo el error: "Can't load /etc/samba/smb.conf - run testparm to debug it" .


    El resultado que me da testparm es el siguiente:

    >vivi@portavivi:~$ testparm
    Load smb config files from /etc/samba/smb.conf
    Processing section "[compartido]"
    Processing section "[printers]"
    Processing section "[print$]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions

    [global]
        workgroup = CASITA
        server string = Guadalinex V6
        security = SHARE
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = tdbsam
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n

    *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        usershare allow guests = Yes
        invalid users = root

    [compartido]
        comment = Directorio compartido en Guadalinex V6
        path = /home/compartido
        guest only = Yes
        guest ok = Yes

    [printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        browseable = No

    [print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
    vivi@portavivi:~$

    He usado el asistente de errores de impresion el cual me dice:

    Page 1 (Scheduler not running?):
    {'cups_connection_failure': False}
    Page 2 (Choose printer):
    {'cups_dest': <cups.Dest HP-LaserJet-1020 (default)>,
     'cups_instance': None,
     'cups_queue': 'HP-LaserJet-1020',
     'cups_queue_listed': True}
    Page 3 (Check printer sanity):
    {'cups_device_uri_scheme': u'smb',
     'cups_printer_dict': {'device-uri':

    u'smb://CASITA/KEMA_NEURONAS/Impresora',
                           'printer-info': u'HP LaserJet 1020',
                           'printer-is-shared': True,
                           'printer-location': u'PC MESA',
                           'printer-make-and-model': u'HP LaserJet 1020 Foomatic/foo2zjs

    (recommended)',
                           'printer-state': 3,
                           'printer-state-message': u"Can't load /etc/samba/smb.conf - run

    testparm to debug it",
                           'printer-state-reasons': [u'none'],
                           'printer-type': 167940,
                           'printer-uri-supported':

    u'ipp://localhost:631/printers/HP-LaserJet-1020'},
     'cups_printer_remote': False,
     'is_cups_class': False,
     'nmblookup_output': (['querying KEMA_NEURONAS on 192.168.1.255',
                           '192.168.1.10 KEMA_NEURONAS<00>',
                           ''],
                          [''],
                          None),
     'remote_server_name': '192.168.1.10'}
    Page 4 (Check PPD sanity):
    {'cups_printer_ppd_defaults': {u'General': {u'Copies': u'1',
                                                u'InputSlot': u'Auto',
                                                u'MediaType': u'Standard',
                                                u'PageRegion': u'A4',
                                                u'PageSize': u'A4',
                                                u'Quality': u'normal',
                                                u'Resolution': u'1200x600dpi'},
                                   u'Miscellaneous': {u'Nup': u'1up',
                                                      u'NupOrient': u'port'}},
     'cups_printer_ppd_valid': True,
     'missing_pkgs_and_exes': ([], [])}
    Page 5 (Local or remote?):
    {'printer_is_remote': False}
    Page 6 (Check network server sanity):
    {'remote_server_name_resolves': ['192.168.1.10',
                                     '192.168.1.10',
                                     '192.168.1.10'],
     'remote_server_smb': True,
     'remote_server_smb_share_anon_access': True,
     'remote_server_smb_shares': [<smbc.Dirent object "Impresora" (Printer

    share) at 0xa184338>,
                                  <smbc.Dirent object "E$" (File share) at 0xa184350>,
                                  <smbc.Dirent object "IPC$" (IPC share) at 0xa184368>,
                                  <smbc.Dirent object "D$" (File share) at 0xa184380>,
                                  <smbc.Dirent object "print$" (File share) at 0xa184398>,
                                  <smbc.Dirent object "G$" (File share) at 0xa1843b0>,
                                  <smbc.Dirent object "F$" (File share) at 0xa1843c8>,
                                  <smbc.Dirent object "ADMIN$" (File share) at 0xa1843e0>,
                                  <smbc.Dirent object "H$" (File share) at 0xa1843f8>,
                                  <smbc.Dirent object "C$" (File share) at 0xa184410>],
     'remote_server_traceroute': (['traceroute to 192.168.1.10 (192.168.1.10), 30

    hops max, 60 byte packets',
                                   ' 1  * * *',
                                   ' 2  * * *',
                                   ' 3  * * *',
                                   ' 4  * * *',
                                   ' 5  * * *',
                                   ' 6  * * *',
                                   ' 7  * * *',
                                   ' 8  * * *',
                                   ' 9  * * *',
                                   '10  * * *',
                                   '11  * * *',
                                   '12  * * *',
                                   '13  * * *',
                                   '14  * * *',
                                   '15  * * *',
                                   '16  * * *',
                                   '17  * * *',
                                   '18  * * *',
                                   '19  * * *',
                                   '20  * * *',
                                   '21  * * *',
                                   '22  * * *',
                                   '23  * * *',
                                   '24  * * *',
                                   '25  * * *',
                                   '26  * * *',
                                   '27  * * *',
                                   '28  * * *',
                                   '29  * * *',
                                   '30  * * *',
                                   ''],
                                  [''],
                                  0),
     'remote_server_try_connect': '192.168.1.10'}
    Page 7 (Printer state reasons):
    {'printer-state-message': u"Can't load /etc/samba/smb.conf - run testparm to

    debug it",
     'printer-state-reasons': [u'none']}
    Page 8 (Error log checkpoint):
    {'cups_server_settings': {'BrowsePoll': '192.168.1.10',
                              'DefaultAuthType': 'Basic',
                              'MaxLogSize': '2000000',
                              'SystemGroup': 'lpadmin',
                              '_debug_logging': '0',
                              '_remote_admin': '0',
                              '_remote_any': '0',
                              '_remote_printers': '1',
                              '_share_printers': '0',
                              '_user_cancel_any': '0'},
     'error_log_checkpoint': 124893L,
     'error_log_debug_logging_set': True}
    Page 9 (Print test page):
    {'test_page_attempted': '11/mar/2010:21:20:39 +0000',
     'test_page_job_id': [18],
     'test_page_job_status': [(True,
                               18,
                               'HP-LaserJet-1020',
                               'Test Page',
                               'Retenido',
                               {'attributes-charset': u'utf-8',
                                'attributes-natural-language': u'es-es',
                                'document-format': u'application/postscript',
                                'job-hold-until': u'20:30:54',
                                'job-id': 18,
                                'job-k-octets': 17,
                                'job-media-sheets-completed': 2,
                                'job-more-info': u'ipp://localhost:631/jobs/18',
                                'job-name': u'Test Page',
                                'job-originating-host-name': u'localhost',
                                'job-originating-user-name': u'vivi',
                                'job-printer-state-message': u"Can't load /etc/samba/smb.conf

    - run testparm to debug it",
                                'job-printer-state-reasons': [u'none'],
                                'job-printer-up-time': 1268339251,
                                'job-printer-uri':

    u'ipp://portavivi:631/printers/HP-LaserJet-1020',
                                'job-priority': 50,
                                'job-sheets': [u'none', u'none'],
                                'job-state': 4,
                                'job-state-reasons': u'job-hold-until-specified',
                                'job-uri': u'ipp://localhost:631/jobs/18',
                                'job-uuid':

    u'urn:uuid:75e64607-9136-35f9-6906-ed1f454fb46d',
                                'printer-uri': u'ipp://localhost/printers/HP-LaserJet-1020',
                                'time-at-completed': None,
                                'time-at-creation': 1268338839,
                                'time-at-processing': 1268339148})],
     'test_page_successful': False}
    Page 10 (Error log fetch):
    {'error_log': ['D [11/Mar/2010:21:27:28 +0100] cupsdReadClient: 9 POST /

    HTTP/1.1',
                   'D [11/Mar/2010:21:27:28 +0100] cupsdAuthorize: No authentication

    data provided.',
                   'D [11/Mar/2010:21:27:28 +0100] Get-Jobs ipp://localhost/printers/',
                   'D [11/Mar/2010:21:27:28 +0100] cupsdProcessIPPRequest: 9

    status_code=0 (successful-ok)',
                   'D [11/Mar/2010:21:27:29 +0100] cupsdReadClient: 9 POST /

    HTTP/1.1',
                   'D [11/Mar/2010:21:27:29 +0100] cupsdAuthorize: No authentication

    data provided.',
                   'D [11/Mar/2010:21:27:29 +0100] Get-Jobs ipp://localhost/printers/',
                   'D [11/Mar/2010:21:27:29 +0100] cupsdProcessIPPRequest: 9

    status_code=0 (successful-ok)',
                   'D [11/Mar/2010:21:27:29 +0100] cupsdReadClient: 9 POST /

    HTTP/1.1',
                   'D [11/Mar/2010:21:27:29 +0100] cupsdAuthorize: No authentication

    data provided.',
                   'D [11/Mar/2010:21:27:29 +0100] Create-Printer-Subscription /',
                   'D [11/Mar/2010:21:27:29 +0100]

    cupsdCreateSubscription(con=0xb868bab8(9), uri="/")',
                   'D [11/Mar/2010:21:27:29 +0100] pullmethod="ippget"',
                   'D [11/Mar/2010:21:27:29 +0100] notify-lease-duration=86400',
                   'D [11/Mar/2010:21:27:29 +0100] notify-time-interval=0',
                   'D [11/Mar/2010:21:27:29 +0100]

    cupsdAddSubscription(mask=17800, dest=(nil)(), job=(nil)(0), uri="(null)")',
                   'D [11/Mar/2010:21:27:29 +0100] Added subscription 19 for server',
                   'I [11/Mar/2010:21:27:29 +0100] Saving subscriptions.conf...',
                   'D [11/Mar/2010:21:27:29 +0100] cupsdProcessIPPRequest: 9

    status_code=0 (successful-ok)',
                   'D [11/Mar/2010:21:27:30 +0100] cupsdReadClient: 9 POST /

    HTTP/1.1',
                   'D [11/Mar/2010:21:27:30 +0100] cupsdAuthorize: No authentication

    data provided.',
                   'D [11/Mar/2010:21:27:30 +0100] Get-Notifications /',
                   'D [11/Mar/2010:21:27:30 +0100] cupsdIsAuthorized:

    requesting-user-name="vivi"',
                   'D [11/Mar/2010:21:27:30 +0100] cupsdProcessIPPRequest: 9

    status_code=0 (successful-ok)',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdReadClient: 9 POST /

    HTTP/1.1',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdAuthorize: No authentication

    data provided.',
                   'D [11/Mar/2010:21:27:31 +0100] Get-Job-Attributes

    ipp://localhost/jobs/18',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdProcessIPPRequest: 9

    status_code=0 (successful-ok)',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdReadClient: 9 POST /

    HTTP/1.1',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdAuthorize: No authentication

    data provided.',
                   'D [11/Mar/2010:21:27:31 +0100] Cancel-Subscription /',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdIsAuthorized:

    requesting-user-name="vivi"',
                   'I [11/Mar/2010:21:27:31 +0100] Saving subscriptions.conf...',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdProcessIPPRequest: 9

    status_code=0 (successful-ok)',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdAcceptClient: 10 from

    localhost (Domain)',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdReadClient: 10 GET

    /admin/log/error_log HTTP/1.1',
                   'D [11/Mar/2010:21:27:31 +0100] cupsdAuthorize: No authentication

    data provided.'],
     'error_log_debug_logging_unset': True}
    Page 11 (Locale issues):
    {'printer_page_size': u'A4',
     'system_locale_lang': None,
     'user_locale_ctype': 'es_ES',
     'user_locale_messages': 'es_ES'}

    Desde el wxp veo correctamente el directorio compartido de  linux, asi que

    supongo que samba esta marchando ok. He probado a pararlo y a reinciarlo

    sin que me devuelva ningun eror.


    Alguna idea ??. Gracias de antemano.

    • Re: Imprimiendo en Guadalinex con una impresora bajo wxp

      Escrito por mingetty el 13/03/2010 19:01

      mingetty

      Visitante

      Envíos: 1

      ¿Has comprobado los permisos del usuario con el entras? Tiene pinta que samba no tiene permisos para leer el archivo /etc/samba/smb.conf

    • Re: Imprimiendo en Guadalinex con una impresora bajo wxp

      Escrito por terminaito el 16/03/2010 17:54

      terminaito

      Usuario Ancestral

      Envíos: 4

      Alguien que sepa de esto tiene alguna otra idea ??. Gracias.

    • Re: Imprimiendo en Guadalinex con una impresora bajo wxp

      Escrito por terminaito el 21/03/2010 20:34

      terminaito

      Usuario Ancestral

      Envíos: 4

      Dos semanas sin respuestas, sig. Creia que este era el foro de guadalinex y que me podrian echar una mano.

      Gracias.

Buscador
Menú
Los que más escribieron en el último año
1

guadafan

448
2

hatteras

338
3

indiocabreao

294
4

sanatas

214
5

miancatri

188
6

priest

119
7

fjsrey

109
8

cpcero

102
9

cmjmmrp

84
10

chrysaor

77
11

espartaco

64
12

hungaro

62
13

acorantf

60
14

daniel2503

59
15

frjlara

54
16

es05pe07ran2000za

50
17

vendrell

44
 

Hecho con Plone CMS, el Sistema de Gestión de Contenidos de Fuentes Abiertos

Este sitio cumple con los siguientes estándares: