Re: [Samba] Printer driver problem in 3.0.28/31

2008-09-23 Thread Mark Gannon
On Tuesday 23 September 2008 07:59:58 am William Jojo wrote:
 Anyone see this before?

While I haven't seen ths specific issue before, it may be part of a class of 
issues around drivers setting data associated with the printer instance on 
the share.   Often called the data blob.  When the blob isn't set properly on 
the share, drivers can malfunction in strange and unpleasant ways.  My 
suggestions are:

i.  Install the driver locally and use the MS property page for the print 
share to load the driver again.  Set some of the data properties (eg. font or 
duplexer).  This may force the blob to get set.

ii.  Alternatively, you could change your print architecture to use the 
standard MS PostScript driver and Ghostscript to convert the print jobs to 
the printer's language (PCL).  The PostScript driver appears to avoid blob 
related issues.  A good description of this works can be found at: 
http://www.enterprisenetworkingplanet.com/netsysm/article.php

Regards,

Mark Gannon

-- 
There are risks and costs to a program of action. 
But they are far less than the long-range risks and 
costs of comfortable inaction.

-John F. Kennedy


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

Re: [Samba] rpcclient 'adddriver issue HP Deskjet 1220C

2008-07-09 Thread Mark Gannon
On Wednesday 09 July 2008 05:40:19 am Andreas Oster wrote:
 I have copied the driver files to /var/lib/printers prior to executing
 the adddriver command !

The drivers need to be copied to the directory returned by the getdriverdir 
rpc command.  On my system the output looks like:

rpcclient $ getdriverdir
rpc_pipe_bind: Remote machine localhost pipe \spoolss fnum 0x772d bind request 
returned ok.
Directory Name:[\\LOCALHOST\print$\W32X86]

Where the network share maps to /var/lib/printers.  My interpretation is that 
you need to create two new directories on your system.

i.  /var/lib/printers/W32X86
ii.  /var/lib/printers/W32X86/3

And the directories need to be writeable over the print$ share by the user you 
run rpcclient as.

If you don't mind changing your arrangement so that the print jobs are 
rendered on the Linux host and a standard PostScript driver is distributed to 
the clients, you might have a look at the following article:

http://www.enterprisenetworkingplanet.com/netsysm/article.php/3621876

Regards,

Mark Gannon

-- 
Character is doing the right thing when nobody's looking. 
There are too many people who think that the only thing 
that's right is to get by, and the only thing that's wrong 
is to get caught.

J.C. Watts 


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

Re: [Samba] Adding Printer drivers with rpcclient

2008-06-24 Thread Mark Gannon
On Monday 23 June 2008 02:41:13 pm Kyle Schmitt wrote:
 I've got the drivers for one of the printers in the appropriate share,
 but every time I've tried, I get NT_STATUS_UNSUCCESSFUL

 So far I've put the drivers under W32X86, W32X86/2 and W32X86/3, to no
 avail

 Every time I run the adddriver command, I receive the
 NT_STATUS_UNSUCCESSFUL, and in the debug message, a rather curious
 WERR_ACCESS_DENIED error.


 rpcclient -U root -c 'adddriver Windows NT x86
 dellcolor:dlxcrzim.dll

 :dlxcrzp.ddd:dlxcrziu.dll:dlxcrz.hlp:NULL:RAW:dlxcrjdm.dll,dlxcrzir.xrs,dll
 :zjnie.dll,dlzddmif.dll,dlzdhb32.dll,dllznie1.dll,dlzpmc2.dll,dlzadcmn.dll,
 :dlzarl32.dll,dlzc5102.dll,dlxcrz.cfg,dlxcrz.cnt,dlxcrz.xrs,dlxcrz.cdd

 ' lxtrfs03  -d 100

Does the print$ share exist and does your user have permissions to create 
files in both the W32X86/ and the W32X86/3 directories?

Regards,

Mark Gannon

-- 
The most damaging phrase in the language is, 
It's always been done that way. 
Rear Admiral Grace Hopper


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

Re: [Samba] Configuring duplex printing as default: how?

2008-05-02 Thread Mark Gannon
On Friday 02 May 2008 10:03:53 am A. Wilson wrote:
 How do you get a printer mapped by Samba to allow duplex printing, or
 better yet, to set duplex printing as the default?

From your description, its a little unclear to me how you've configured the 
Samba server for printing.  Have you configured the Samba server to deliver a 
Windows print driver for the LJ8000 via point and print?A description of 
how to configure this can be found at: 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id407886

An alternative explanation is that the security settings on the Samba printer 
are such that the user doesn't have permission to change the settings.  Can 
you help us understand what the settings are on the Samba printer and whether 
the user has explicit permissions?

Regards,

Mark Gannon

-- 
It has been my experience that folks who have no vices have 
very few virtues.

 ~Abraham Lincoln 


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

Re: [Samba] Re: AddPrinterConnection returns ERROR_INVALID_PARAMETER

2008-03-20 Thread Mark Gannon
On Thursday 20 March 2008 12:15:24 pm mingj wrote:
 Since the same oemsetup.inf works for XP, does anybody know if Vista has
 changed the behavior in terms of the requirement for a help file for PnP
 installations?

My experimentation suggests that Vista does much stricter checking of all the 
printer files served via PNP to make sure that they are the proper type, 
version, etc.  These checks don't occur with XP.  My conclusion is that this 
is generally part of their efforts to tighten security.

Regards,

Mark Gannon

-- 
“Why dont you write books people can read?
 
Nora Joyce, to her husband James
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] HP Deskjet 6940 and 6988

2008-03-17 Thread Mark Gannon
Glenn,

You might consider changing your printing architecture so that instead of 
using the Windows print driver for the HP Deskjet, you create the printer in 
Linux using the standard CUPS procedures for that printer and then share the 
standard Postscript driver on the samba share.  In this configuration, you 
avoid any problems with the HP Deskjet driver for windows.  My experience is 
that the HPIJS driver bundled with most versions of Linux is quite good.

A pretty good description of how to make this configuration work can be found 
at: http://www.enterprisenetworkingplanet.com/netsysm/article.php/3621876

Regards,

Mark Gannon

-- 
“Why dont you write books people can read?
 
Nora Joyce, to her husband James


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

Re: [Samba] Samba and CUPS accouting with HP 1320

2008-01-06 Thread Mark Gannon
On Sunday 06 January 2008 12:15:24 pm Marcus Sobchak [EMAIL PROTECTED] 
wrote:
 Which PS print driver do I have to use at windows client side?

You will probably have to set up the samba system to serve windows print 
drivers to the client via Point and Print as described in the following 
article:

http://www.enterprisenetworkingplanet.com/netsysm/article.php/3621876

Once the Windows + Cups driver is being served to the client, the following 
link talks about setting up job accounting:

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id413751

Regards,

Mark Gannon

-- 
Far better it is to dare mighty things, to win glorious triumphs,
even though checkered by failure, than to take rank with those poor spirits 
who neither enjoy nor suffer too much, because they live in the gray twilight 
that knows not victory nor defeat.

~ Theodore Roosevelt ~


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

Re: [Samba] Samba 3.0.25b + Vista Printers

2007-07-06 Thread Mark Gannon
On Friday 06 July 2007 04:09, Corey Johnston wrote:
 Anybody have any ideas on what the problem may be?
There are two different versions of drivers for Win2K and XP.  Normally these 
are referred to as version 2 and version 3.  I believe, while Win2K and XP 
support both versions, I believe Vista only supports version 3 drivers.  You 
can tell which is installed on your samba system by looking in the print$ 
share under the W32X86 directory.  There should be two directories 
labelled 2 and 3.  Version 2 drivers go in the 2 directory and version 3 
drivers go in the 3 directory.  If the drivers are under the 2 directory, 
you may want to update the drivers associated with the share to use the ones 
bundled with Vista.

Regards,

Mark Gannon

-- 
The evil that is in the world almost 
always comes of ignorance, and good 
intentions may do as much harm as 
malevolence if they lack understanding.

--Albert Camus


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

Re: [Samba] Rpcclient adddriver Samba 3.0.25

2007-06-05 Thread Mark Gannon
On Tuesday 05 June 2007 06:24, Gerald (Jerry) Carter wrote:
 Include the full command in double quotes
As always, thanks for your help!

Regards,

Mark Gannon

-- 
Sometimes I wonder whether the world is being run 
by smart people who are putting us on, 
or by imbeciles who really mean it.

- Mark Twain


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

[Samba] Rpcclient adddriver Samba 3.0.25

2007-06-04 Thread Mark Gannon
Hello,

I'm trying to use rpcclient to add a driver to a Samba 3.0.25 running on 
Gentoo.  When I run the script below, rpcclient prints out the same message 
as if --help was submitted as the only switch.

#!/bin/bash -x 

RPC=/usr/local/samba/bin/rpcclient

ARCH='Windows NT R4000' 
#ARCH='Windows NT x86'
DRIVER='HP LaserJet 4Si/4Si MX  
PS:pscript.dll:hp4si_v4.ppd:pscriptui.dll:pscript.hlp:NULL:raw:NULL' 
SYSTEM=scooby

$RPC -U markg -c adddriver $ARCH $DRIVER $SYSTEM 

The correct files are copied to: /var/lib/samba/printers/W32MIPS.  And there 
is a directory named 2 under the W32MIPS directory.   

I've also tried adding it from the rpcclient prompt, which produced the 
following error message:  WERR_UNKNOWN_PRINTER_DRIVER

Any suggestions as to how I can accomplish adding this driver would be greatly 
appreciated.

Regards,

Mark Gannon

-- 
Sometimes I wonder whether the world is being run 
by smart people who are putting us on, 
or by imbeciles who really mean it.

- Mark Twain


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

Re: [Samba] Rpcclient adddriver Samba 3.0.25

2007-06-04 Thread Mark Gannon
On Monday 04 June 2007 09:18, Gerald (Jerry) Carter wrote:
 If you have not testing against 3.0.25a, you might want to
 see if that helps.
I get the same results with 3.0.25a.

Thanks!

Mark Gannon

-- 
Sometimes I wonder whether the world is being run 
by smart people who are putting us on, 
or by imbeciles who really mean it.

- Mark Twain


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

Re: [Samba] Rpcclient adddriver Samba 3.0.25

2007-06-04 Thread Mark Gannon
On Monday 04 June 2007 11:51, Gerald (Jerry) Carter wrote:
 Can you send me a level 10 debug log from the Samba server ?
Ah, looking in the log file is the thing I forgot to do. :(

Once I did, it informed me I had a permissions issue on the directory.  Fixing 
the permissions enabled the driver to install using the rpcclient command 
prompt, but not the script using rpcclient.

With the script, I don't see any output in the server log at debug level 10.  
At the command line, I get the following output:

=
+ /usr/local/samba/bin/rpcclient --debuglevel=10 -A /tmp/pass -c 
adddriver 'Windows NT R4000' 'HP LaserJet 4Si/4Si MX 
PS:pscript.dll:hp4si_v4.ppd:pscriptui.dll:pscript.hlp:NULL:raw:NULL' scooby
INFO: Current debug levels:
  all: True/10
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
  locking: False/0
  msdfs: False/0
  dmapi: False/0
Usage: rpcclient [OPTION...]
  -c, --command=COMMANDS Execute semicolon separated cmds
  -I, --dest-ip=IP   Specify destination IP address
==

Thanks!

Mark Gannon

-- 
Sometimes I wonder whether the world is being run 
by smart people who are putting us on, 
or by imbeciles who really mean it.

- Mark Twain


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