Printing with CUPS through SAMBA

From: Hikaru79 (adrianp_at_cogeco.ca)
Date: 11/04/04

  • Next message: Oleg Okunev: "Re: DVD+RW vs. DVD-RW, Mandrake 10.0, Lite-On Writer"
    Date: Wed, 03 Nov 2004 22:20:58 -0500
    
    

    OK, here's the scenario. My home network is primarily Windows machines
    except for mine, which is running Ubuntu (a spinoff of Debian). One of
    the Windows XP machines has an HP LaserJet 4P printer. I can see the
    computer with the printer just fine (I can browse through it's shared
    folder, etc), but when it comes to printing through the printer attached
    to it, I have some problems. For example, if I run 'smbclient -L
    administrator -N" in the terminal, I get the following outpupt:

    -------------------------------------------------------------------
    hikaru79@ubuntu:~ $ smbclient -L administrator -N
    Domain=[ADMINISTRATOR] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

             Sharename Type Comment
             --------- ---- -------
             HPPS735 (E) Disk
             Bkp_Pictures Disk
             IPC$ IPC Remote IPC
             D$ Disk Default share
             print$ Disk Printer Drivers
             SharedDocs Disk
             G$ Disk Default share
             Printer5 Printer Acrobat Distiller
             ADMIN$ Disk Remote Admin
             C$ Disk Default share
             Printer Printer HP LaserJet 4P
             ClipsRomania Disk
             Family Album Disk
    Domain=[ADMINISTRATOR] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

             Server Comment
             --------- -------

             Workgroup Master
             --------- -------
    --------------------------------------------------------------------------

    Judging from this output I would think the correct next step would be:
    'lpadmin -p LaserJetPrinter -v smb://administrator/Printer -P
    /root/inkjet.ppd' But when I do this, I get the following error:
    'lpadmin: add-printer (set model) failed: client-error-not-found'

    What's wierd is if I then go into the graphical printer manager, the new
    printer STILL shows up. However, it does not work. When I try to print a
    test page, I get this:

    'Printing to 'LaserJetPrinter' failed with error code: 1286
    is the printer paused ?'

    Here are some screenshots of the printer properties menu tabs that I
    took in case I'm not describing things well. Notice in the second
    screenshot, there's a password filled in--I did not fill it in and there
    shouldn't be one as there is no password on the network--is this normal?

    http://thegoban.com/Screenshot.png
    http://thegoban.com/Screenshot-1.png

    My question is what can I do to be able to send to my printer through
    this Windows network? NOTE: I have physical access to both the
    administrator computer and the printer itself--this is just a small home
    network

    Any help would be greatly appreciated! Thanks! =D


  • Next message: Oleg Okunev: "Re: DVD+RW vs. DVD-RW, Mandrake 10.0, Lite-On Writer"

    Relevant Pages

    • Re: File sharing breaks while already in use
      ... Consider a home network with two PCs connected to a linksys router. ... Windows 2000 PRO ... System Error 53. ...
      (microsoft.public.windowsxp.network_web)
    • Re: File sharing breaks while already in use
      ... Consider a home network with two PCs connected to a linksys router. ... Windows 2000 PRO ... After many frustrating weeks, I have observed the network connection fails at any time of day, even if in use. ... System Error 53. ...
      (microsoft.public.windowsxp.network_web)
    • Re: File sharing breaks while already in use
      ... Consider a home network with two PCs connected to a linksys router. ... Windows 2000 PRO ... After many frustrating weeks, I have observed the network connection fails at any time of day, even if in use. ... System Error 53. ...
      (microsoft.public.windowsxp.network_web)
    • Printing with CUPS through SAMBA
      ... My home network is primarily Windows machines ... the Windows XP machines has an HP LaserJet 4P printer. ...
      (comp.os.linux.networking)
    • Re: connection to home network
      ... see the files / folders in the same way as on the home network. ... > File Explorer or using third party tools like Netrunner or Resco ... With the new Windows XP SP2 Windows Firewall you ...
      (microsoft.public.pocketpc)