LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 06-22-2004, 10:16 PM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket, Thailand
Distribution: Slackware 14.1
Posts: 439

Rep: Reputation: 32
Cannot print from CUPS to winXP machine


Hi all,

I am trying to configure my (slackware 9.1) box to print over the company LAN to an XP machine.

I went to the sysadmin and asked for help but he just laughed and said printing from Linux to Windows was too hard so the gauntlet is down.

I have got as far as getting simple "test" signals to come out of the machine by doing this:

Code:
echo "test" | smbclient //jintana/hpLaserJ -P  -N -c 'print -'
but no matter what settings I choose in CUPS it always reports that "Unable to locate printer 'jintana' - Unknown host"

I think that the destination box is lacking something, because if I do
smbclient -L jintana I get :
Code:
added interface ip=192.168.3.181 bcast=192.168.3.255 nmask=255.255.252.0
Got a positive name query response from 192.168.3.107 ( 192.168.3.107 )
Password:
Domain=[FB] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
 
        Sharename      Type      Comment
        ---------      ----      -------
Error returning browse list: NT_STATUS_OK
 
        Server               Comment
        ---------            -------
        JINTANA
 
        Workgroup            Master
        ---------            -------
        10TH                 NAPAPORN10TH
        @SAT                 AUDITOR1
        ACCOUNT              IHGSAMBA
        ACCOUNTING           JUNDEE
        ADVERTISING          MANEEWAN
        ANGKOR               SECRETARY
        BANQUET              EXTREME-SERVER
        BIZCENTER            COMPAQ5
        COMPUTER             INTERNALWEB
        CREDIT               GOP_SERVER
        ENGINEER             RANGSRI
        F&B                  ADMIN
        FB                   JINTANA
        GENERAL ADMIN        (etc etc etc)
but if I do smbclient -L ann, i get:
Code:
added interface ip=192.168.3.181 bcast=192.168.3.255 nmask=255.255.252.0
Got a positive name query response from 192.168.3.139 ( 192.168.3.139 )
Password:
Domain=[GM OFFICE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
 
        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       Remote IPC
        D$             Disk      Default share
        print$         Disk      Printer Drivers
        share          Disk
        ADMIN$         Disk      Remote Admin
        C$             Disk      Default share
        Ann            Printer   HP LaserJet 4V.
 
        Server               Comment
        ---------            -------
        ANN                  gm secretary
 
        Workgroup            Master
        ---------            -------
        10TH                 NAPAPORN10TH
        @SAT                 AUDITOR1
        ACCOUNT              IHGSAMBA
        ACCOUNTING           JUNDEE
        ADVERTISING          MANEEWAN
        ANGKOR               SECRETARY
        BANQUET              EXTREME-SERVER
        BIZCENTER            COMPAQ5
        COMPUTER             INTERNALWEB
        CREDIT               GOP_SERVER
        ENGINEER             RANGSRI
        F&B                  ADMIN
        FB                   JINTANA
        (etc etc etc)
The problem is I can't go and check the settings on the machine "ann" because it belongs to the General Manager's secretary

So, can any XP users please tell me what I have to do to get "jintana" to show this stuff
Code:
Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       Remote IPC
        D$             Disk      Default share
        print$         Disk      Printer Drivers
        share          Disk
        ADMIN$         Disk      Remote Admin
        C$             Disk      Default share
        Ann            Printer   HP LaserJet 4V.
if that is the problem.
I have made sure that on "jintana" the printer is shared
If that stuff is not the problem could someone point me to a tutorial etc which will show me the way.
I really want to stick it to the sysadmin over this one, i HATE when people laugh at me for asking questions

Thanks very much for any help,
mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Cups, K apps won't print, but Abiword does print tigerflag Slackware 10 01-14-2005 09:34 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 03:59 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
Knoppix Print Through WinXP Machine Terje Linux - Networking 2 08-28-2004 10:29 AM
need my WinXP to be able to print to the printer connected to man9.2 machine krome Mandriva 1 03-02-2004 04:53 AM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration