Re: [Samba] Samba & CUPS: only banner-page gets printed

2007-04-27 Thread Johannes Eckhardt
When I try to print directly to IPP from W2K/XP I always get the 
following message in my error_log:


Missing printer-uri or job-uri attribute!

Johannes


Chris Smith wrote:

On Thursday 26 April 2007, Johannes Eckhardt wrote:
 

Anyone has an idea?



Print directly to CUPS via IPP instead of putting Samba in the 
middle (at least to assist in troubleshooting).


Chris
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba & CUPS: only banner-page gets printed

2007-04-27 Thread Johannes Eckhardt
I didn't send my response to the samba-list by mistake. I've tried to 
print directly to CUPS with IPP but this fails too. So it's gonna be a 
CUPS problem.


Gary Dale wrote:
There was also a suggestion that you test this by bypassing Samba and 
printing directly to CUPS. Set up a network printer that prints to 
http://:631/printers/. If you get the same 
problem, it's CUPS, not Samba.



Johannes Eckhardt wrote:
I'm using different HP LaserJet printers. One of them is a HP 
LaserJet 8150. The CUPS driver is HP-LaserJet_8150-hpijs.ppd from 
linuxprinting.org.


I'll paste this issue on a CUPS-mailinglist too.

Thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba & CUPS: only banner-page gets printed

2007-04-26 Thread Tobias Großmann
On Thu, 26 Apr 2007 18:18:21 -0400
Chris Smith <[EMAIL PROTECTED]> wrote:

> On Thursday 26 April 2007, Johannes Eckhardt wrote:
> > Anyone has an idea?
> 
> Print directly to CUPS via IPP instead of putting Samba in the middle (at 
> least to assist in troubleshooting).
> 
> Chris
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
oops, wrong post. Please forget my answer to this threat...
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba & CUPS: only banner-page gets printed

2007-04-26 Thread Tobias Großmann
On Thu, 26 Apr 2007 18:18:21 -0400
Chris Smith <[EMAIL PROTECTED]> wrote:

> On Thursday 26 April 2007, Johannes Eckhardt wrote:
> > Anyone has an idea?
> 
> Print directly to CUPS via IPP instead of putting Samba in the middle (at 
> least to assist in troubleshooting).
> 
> Chris
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

We want to use Samba/Cups because you can connect to the public printers 
without installing drivers at the clients. So we can use scripts to connect the 
printers (net use...)
Also we maybe have a problem. Our company has a special font. We know there are 
problems printing on PCL6-Drivers and we know it works with pcl5.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba & CUPS: only banner-page gets printed

2007-04-26 Thread Jeff Thurston
First, I apologize if this gets posted twice, it is not intentional,
after sending it the first time and not seeing it after half an hour I am
trying again...

I'm hoping someone can give me a clue what I am doing wrong here,
Running Debian Etch AMD64, I followed the samba wiki at:
http://wiki.samba.org/index.php/Samba_&_Active_Directory#Prerequisites.

I get mostly good results, except when I try to run 'getent passwd' or
'getent group' only local users/groups are listed.

I was able to join the domain: net ads join -U admin_user
The system shows up in AD under computers on the PDC.

Afterwards if I do wbinfo -u, wbinfo -g, wbinfo -p, wbinfo -t, wbinfo -a
ad_user%password 

All of those appear to work correctly. 

However this seems somewhat fishy, it says "Active Directory: No":

'wbinfo -D domain.com'
Name  : DOMAIN
Alt_Name  : DOMAIN.COM
SID   : S-XX
Active Directory  : No
Native: No
Primary   : Yes
Sequence  : 2008

My nsswitch.conf looks correct:
passwd: files winbind
shadow: files winbind
group: files winbind
hosts: files dns wins


-Jeff

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba & CUPS: only banner-page gets printed

2007-04-26 Thread Chris Smith
On Thursday 26 April 2007, Johannes Eckhardt wrote:
> Anyone has an idea?

Print directly to CUPS via IPP instead of putting Samba in the middle (at 
least to assist in troubleshooting).

Chris
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba & CUPS: only banner-page gets printed

2007-04-26 Thread Gary Dale

This doesn't sound like a Samba problem. It's more likely CUPS related.

Which printer are you using, what distribution, which CUPS driver, etc.. 
Sounds like the printer is getting confused when you print a banner with 
a RAW printjob.



Johannes Eckhardt wrote:
In my setup I'm running Samba 3.0.23d-19.2 and CUPS  1.2.7-12.1. 
Printing from a windows-client works fine, until I instruct CUPS to 
add a banner-page. The banner-page then is the only thing that gets 
printed. Doing the same from Linux everything works fine. I get my job 
including a banner-page.


The Windows-printjob is passed raw from Samba to CUPS...

Anyone has an idea?

Best,

Johannes



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba & CUPS: only banner-page gets printed

2007-04-26 Thread Johannes Eckhardt
In my setup I'm running Samba 3.0.23d-19.2 and CUPS  1.2.7-12.1. 
Printing from a windows-client works fine, until I instruct CUPS to add 
a banner-page. The banner-page then is the only thing that gets printed. 
Doing the same from Linux everything works fine. I get my job including 
a banner-page.


The Windows-printjob is passed raw from Samba to CUPS...

Anyone has an idea?

Best,

Johannes

--
Ing. Johannes Eckhardt
System- and Networkadministration, Support

Institute for Advanced Studies (IHS)
Dept. of Information Technology

Stumpergasse 56, 1060 Vienna, Austria

Phone:  +43 1 59991-266
Fax:+43 1 59991-555
e-mail: [EMAIL PROTECTED]
WWW:http://www.ihs.ac.at

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba