Re: [Samba] samba3 and CUPS: lpoptions does not work

2003-10-31 Thread Andrew Bartlett
On Fri, 2003-10-31 at 22:52, Gonçal wrote:
 Hi,
 
 I have set up a CUPS queue in the samba server with specific lpoptions
 (actually, it's a queue to print 2-up on an HP LaserJet4300 printer. I used
 lpoptions -d NX2-118 -o number-up=2). Everything works as expected when I
 print from the Unix side.
 
 However, when  I print to the corresponding samba queue, the options
 specified through lpoptions are ignored (i.e. the prints come out as 1-up
 instead of 2-up).
 
 I am using samba-3.0.1-pre1 on a RedHat9 system, with CUPS 1.1.17.
 
 Did anyone out there manage to get lpoptions working on a Samba printer
 queue? Any other suggestion to setup a 2-up printer queue with samba?

The jobs would need to arrive at the Samba server in postscript,
preferably from the 'cups driver'.  (CUPS publishes a postscript driver
for windows that is designed to work with with a cups print chain).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

RE: [Samba] samba3 and CUPS: lpoptions does not work

2003-10-31 Thread Gonçal
I'm sorry I forgot to mention that, but I am actually using using
cups-samba-1.1.19 as you suggest. The cups-postscript drivers are
downloading automatically to the clients. Everything works perfectly,
except for the fact that I don't get 2-up printing to work :-(

I suspect that when the job comes from the samba side, the options
applied to the queue with lpoptions are not actually enforced. The other
obvious possibility is that I have not configured the queue properly
(what did I do wrong?).

Basically, the way I did this is:
- Set up a plain CUPS queue and export it to samba with cupsaddsmb
(everything works as expected)
- Repeat the same steps as above for a second queue, pointing to the
same printer. I then ran lpoptions -d NX2-118_2up -o number-up=2 and
after that I ran cupsaddsmb.

The new que (NX2-118_2up) works alright (i.e. 2-up printing) from Linux,
but prints 1-up from samba :-(

By the way, is there any way to access CUPS printer instances (e.g.
NX2-118/2up) from samba?

Any suggestions?

Thanks a lot in advance!

Gonçal

 
 The jobs would need to arrive at the Samba server in 
 postscript, preferably from the 'cups driver'.  (CUPS 
 publishes a postscript driver for windows that is designed to 
 work with with a cups print chain).
 
 Andrew Bartlett

 -Original Message-
 From: Andrew Bartlett abartlet-at-samba.org |samba2| 
 [mailto:[EMAIL PROTECTED] 
 Sent: 31 October 2003 13:36
 To: Gonçal
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] samba3 and CUPS: lpoptions does not work
 
 
 On Fri, 2003-10-31 at 22:52, Gonçal wrote:
  Hi,
  
  I have set up a CUPS queue in the samba server with 
 specific lpoptions 
  (actually, it's a queue to print 2-up on an HP LaserJet4300 
 printer. I 
  used lpoptions -d NX2-118 -o number-up=2). Everything works as 
  expected when I print from the Unix side.
  
  However, when  I print to the corresponding samba queue, 
 the options 
  specified through lpoptions are ignored (i.e. the prints 
 come out as 
  1-up instead of 2-up).
  
  I am using samba-3.0.1-pre1 on a RedHat9 system, with CUPS 1.1.17.
  
  Did anyone out there manage to get lpoptions working on a Samba 
  printer queue? Any other suggestion to setup a 2-up printer 
 queue with 
  samba?

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