Rohan Gilchrist | 1 Sep 2004 03:18

Printing help from Windows XP

Hello,

I'm trying to get priting working from a Windows XP box to a printer
that's been shared via SAMBA.

I can browse the printer fine, and can print fine from linux, but not from
Windows.

The following errors appear in the SAMBA log for the windows host I'm printing from:

lp: unable to print file: client-error-not-found
lpstat: Unknown destination "level3-bw"!

The error_log for CUPS, reports:

print_job: resource name '/printers/lvl3-bw' no good!

For reference, here's my smb.conf:

[global]
         netbios name = HOMER
         server string = HOMER
         workgroup = HOMENET
         passdb backend = tdbsam
         os level = 64
         preferred master = yes
         domain master = yes
         local master = yes
         security = user
         encrypt passwords = yes
(Continue reading)

Herb Lewis | 1 Sep 2004 15:34
Favicon

Re: Printing help from Windows XP

What is the output of lpstat -t on your linux system?
When you print from linux what command do you use?

It looks like you are calling the printer the wrong name in
your smb.conf file. It must match "exactly" one of the
names returned by lpstat.

Rohan Gilchrist wrote:
> Hello,
> 
> I'm trying to get priting working from a Windows XP box to a printer
> that's been shared via SAMBA.
> 
> I can browse the printer fine, and can print fine from linux, but not from
> Windows.
> 
> The following errors appear in the SAMBA log for the windows host I'm 
> printing from:
> 
> lp: unable to print file: client-error-not-found
> lpstat: Unknown destination "level3-bw"!
> 
> The error_log for CUPS, reports:
> 
> print_job: resource name '/printers/lvl3-bw' no good!
> 
> For reference, here's my smb.conf:
> 
> 
> 
(Continue reading)

Rohan Gilchrist | 2 Sep 2004 03:05

Re: Printing help from Windows XP

On Wed, 1 Sep 2004, Herb Lewis wrote:

> What is the output of lpstat -t on your linux system?
> When you print from linux what command do you use?
>
> It looks like you are calling the printer the wrong name in
> your smb.conf file. It must match "exactly" one of the
> names returned by lpstat.

Herb,

Here's the output of lpstat -t

proxy[~]lpstat -t
scheduler is running
system default destination: lvl3-bw
members of class level3:
         lvl3-bw
members of class level4:
         hp-lvl4
device for hp-lvl4: ipp://10.19.1.31:631/
device for lvl3-bw: lpd://10.19.1.32/
hp-lvl4 accepting requests since Jan 01 00:00
lvl3-bw accepting requests since Jan 01 00:00
printer hp-lvl4 now printing hp-lvl4-10.  enabled since Jan 01 00:00
printer lvl3-bw is idle.  enabled since Jan 01 00:00
hp-lvl4-10              root             26624   Wed 01 Sep 2004 03:30:50 PM EST

After posting to the group, I figured that the printer name was not correct, and have
subsequently been able to print from Windows. One further problem has arisen though, and 
(Continue reading)


Gmane