Nicholas Sushkin
2002-Jul-26 12:33 UTC
[Samba] print jobs to a Windows connected printer disappear
Hi, I am trying to set up printing from a RedHat 7.3 machine to a Lexmark printer connected to a Win2k Pro machine. The printer share appears in the share list fine. However, when I use smbclient to print, nothing happens. See transcript below. Thanks, [nsushkin@chistaki nsushkin]$ smbclient -L vstrecha added interface ip=192.168.2.3 bcast=192.168.2.255 nmask=255.255.255.0 Got a positive name query response from 127.0.0.1 ( 192.168.2.4 ) Password: Domain=[SUSHKINS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- video Disk scans Disk IPC$ IPC Remote IPC D$ Disk Default share print$ Disk Printer Drivers Download Disk Manuals Disk Lexmark7 Printer Lexmark 7000 Series ColorFine mp3 Disk nsushkin Disk divx Disk ADMIN$ Disk Remote Admin C$ Disk Default share PWRCHUTE Disk Server Comment --------- ------- Workgroup Master --------- ------- [nsushkin@chistaki nsushkin]$ [nsushkin@chistaki nsushkin]$ smbclient //vstrecha/Lexmark7 added interface ip=192.168.2.3 bcast=192.168.2.255 nmask=255.255.255.0 Got a positive name query response from 127.0.0.1 ( 192.168.2.4 ) Password: Domain=[SUSHKINS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] smb: \> queue smb: \> !ls Desktop j2sdkee-1_3_1-linux.tar.gz Mail mailchannel nsmail test smb: \> print test putting file test as test (0.1 kb/s) (average 0.1 kb/s) smb: \> queue smb: \> quit [nsushkin@chistaki nsushkin]$ -- Nick
Joel Hammer
2002-Jul-26 14:53 UTC
[Samba] print jobs to a Windows connected printer disappear
This sounds like you are not sending properly formatted print jobs to the server. How are you filtering your jobs before you send them? Joel On Fri, Jul 26, 2002 at 03:31:05PM -0400, Nicholas Sushkin wrote:> Hi, > > I am trying to set up printing from a RedHat 7.3 machine to a Lexmark > printer connected to a Win2k Pro machine. > > The printer share appears in the share list fine. However, when I use > smbclient to print, nothing happens. See transcript below. > > Thanks, > > [nsushkin@chistaki nsushkin]$ smbclient -L vstrecha > added interface ip=192.168.2.3 bcast=192.168.2.255 nmask=255.255.255.0 > Got a positive name query response from 127.0.0.1 ( 192.168.2.4 ) > Password: > Domain=[SUSHKINS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > > Sharename Type Comment > --------- ---- ------- > video Disk > scans Disk > IPC$ IPC Remote IPC > D$ Disk Default share > print$ Disk Printer Drivers > Download Disk > Manuals Disk > Lexmark7 Printer Lexmark 7000 Series ColorFine > mp3 Disk > nsushkin Disk > divx Disk > ADMIN$ Disk Remote Admin > C$ Disk Default share > PWRCHUTE Disk > > Server Comment > --------- ------- > > Workgroup Master > --------- ------- > [nsushkin@chistaki nsushkin]$ > [nsushkin@chistaki nsushkin]$ smbclient //vstrecha/Lexmark7 > added interface ip=192.168.2.3 bcast=192.168.2.255 nmask=255.255.255.0 > Got a positive name query response from 127.0.0.1 ( 192.168.2.4 ) > Password: > Domain=[SUSHKINS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > smb: \> queue > smb: \> !ls > Desktop j2sdkee-1_3_1-linux.tar.gz Mail mailchannel nsmail test > smb: \> print test > putting file test as test (0.1 kb/s) (average 0.1 kb/s) > smb: \> queue > smb: \> quit > [nsushkin@chistaki nsushkin]$ > > > > > > -- > Nick > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Nicholas Sushkin
2002-Jul-26 15:45 UTC
[Samba] print jobs to a Windows connected printer disappear
Joel, I thought smbclient would send a file directly to the printer bypassing any filters. I was trying to print a simple text file called "test" (see my original message for smbclient command). In general, I used KDE Control Panel/CUPS Printer configuration to set up the following printer: # Printer configuration file for CUPS v1.1.14 # Written by cupsd on Fri 26 Jul 2002 09:30:32 PM GMT <DefaultPrinter Lexmark7> Info Lexmark 7200 Location vstrecha.sushkins.net DeviceURI smb://root:*****@vstrecha/Lexmark7 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> The Lexmark 7200 was one of the supported printers, so a ppd file got copied. [root@chistaki root]# ls -l /etc/cups/ppd total 16 -rw-r--r-- 1 root root 15337 Jul 26 17:30 Lexmark7.ppd Do you I need to configure anything else? I am a little new to Linux printing, so I am not exactly sure which way the data flows from filesystem to the printer. Thanks a lot, Nick -----Original Message----- From: Joel Hammer [mailto:Joel@HammersHome.com] Sent: Friday, July 26, 2002 5:51 PM To: Nicholas Sushkin; samba@lists.samba.org Subject: Re: [Samba] print jobs to a Windows connected printer disappear This sounds like you are not sending properly formatted print jobs to the server. How are you filtering your jobs before you send them? Joel On Fri, Jul 26, 2002 at 03:31:05PM -0400, Nicholas Sushkin wrote:> Hi, > > I am trying to set up printing from a RedHat 7.3 machine to a Lexmark > printer connected to a Win2k Pro machine. > > The printer share appears in the share list fine. However, when I use > smbclient to print, nothing happens. See transcript below. > > Thanks, > > [nsushkin@chistaki nsushkin]$ smbclient -L vstrecha > added interface ip=192.168.2.3 bcast=192.168.2.255 nmask=255.255.255.0 > Got a positive name query response from 127.0.0.1 ( 192.168.2.4 ) > Password: > Domain=[SUSHKINS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > > Sharename Type Comment > --------- ---- ------- > video Disk > scans Disk > IPC$ IPC Remote IPC > D$ Disk Default share > print$ Disk Printer Drivers > Download Disk > Manuals Disk > Lexmark7 Printer Lexmark 7000 Series ColorFine > mp3 Disk > nsushkin Disk > divx Disk > ADMIN$ Disk Remote Admin > C$ Disk Default share > PWRCHUTE Disk > > Server Comment > --------- ------- > > Workgroup Master > --------- ------- > [nsushkin@chistaki nsushkin]$ > [nsushkin@chistaki nsushkin]$ smbclient //vstrecha/Lexmark7 > added interface ip=192.168.2.3 bcast=192.168.2.255 nmask=255.255.255.0 > Got a positive name query response from 127.0.0.1 ( 192.168.2.4 ) > Password: > Domain=[SUSHKINS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > smb: \> queue > smb: \> !ls > Desktop j2sdkee-1_3_1-linux.tar.gz Mail mailchannel nsmail test > smb: \> print test > putting file test as test (0.1 kb/s) (average 0.1 kb/s) > smb: \> queue > smb: \> quit > [nsushkin@chistaki nsushkin]$ > > > > > > -- > Nick > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba