[TLUG] How to use a window printer?

tlug@linux.org.tw tlug@linux.org.tw
Tue, 18 Apr 2000 10:13:50 +0800



Dears :

    PLease take some time to read HOWTO about printing and SAMBA, details
about how to use Windows shared printer on Linux could be found. And, most
laser printer will wait for a LF to flush the print buffer, try to add a LF
at the end of your document then printer will work fine.

Regards,

Albert L.J. CHang




hsiao@ccr.jussieu.fr (Pai-Yi HSIAO) on 2000/04/17 07:24:07 PM

Please respond to tlug@linux.org.tw
                                                              
                                                              
                                                              
 To:      tlug@linux.org.tw                                   
                                                              
 cc:      (bcc: Albert L.J. Chang/AI/ACER)                    
                                                              
                                                              
                                                              
 Subject: [TLUG] How to use a window printer?                 
                                                              








Hi,

   In my laboratory there are many window 95/98 machines. Among them, one
is
called 'predator' with a share postscript printer, called 'apple'.
'predator' offers printing service for the other window machines and it
works
very well.

   Recently I've setup a linux machine with samba service. I want to use
this
networking printer from linux. But I am not successful to do it.
Is there someone who can give me a hand, please?

Thanks a lot!
            Paiyi HSIAO

------------------------------------------------------------------------
The following are some trials:
[step 1]
root# smbclient -L predator -N
added interface ip=134.157.18.30 bcast=134.157.18.127 nmask=255.255.255.128

        Sharename      Type      Comment
        ---------      ----      -------
        PRINTER$       Disk
        APPLE          Printer
        IPC$           IPC       Communication entre processus distants

(The above means I can see this share printer 'apple' connected to
'predator')

[step 2]
root# smbclient //predator/apple -N -P
added interface ip=134.157.18.30 bcast=134.157.18.127 nmask=255.255.255.128
smb: \> printmode text
the printmode is now text

(In step 2, I connected to 'apple' and saw it as a printer. Then I changed
 the printemode to 'text'.)

[step 3]
smb: \> print test.txt
putting file test.txt as test.txt (4.0433 kb/s) (average 4.0433 kb/s)

(Here I tried to print some text file ,'test.txt'.
 I COULD SEE the printer indicator was blinking.....
 but NOTHING was sent out ??? STRANGE??? WHY???
 I have tried to use the command 'translate' before 'print test.txt'.
 It doesn't work neither.)
---------------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@linux.org.tw
with "unsubscribe tlug" in the body of the message



To Unsubscribe: send mail to majordomo@linux.org.tw
with "unsubscribe tlug" in the body of the message