Matthew Vanecek wrote:>I set up a new printer on my Linux box, an Epson Stylus Color 740. I >had previously been using an EPson Stylus Color IIs. I got the printer >working nicely in Linux, but I can not print to the printers I set up in >/etc/printcap via samba from NT anymore. I.e., it worked with the IIs, >but not with the 740. I didn't change anything in smb.conf.>NT lets me install the printers via samba, but not print to them. It >always returns a message that "The parameter is incorrect". Is there >any way to find out what parameter it's barfing on, and how to fix it?>I checked the system and samba logs, and there's nothing there about >this.>I have samba 2.0.5, NT WS 4.0, SP5, and the Epson printer >drivers/software. I'm kinda wondering if the Epson software is getting >in the way, but it won't let me install the drivers without installing >the software. However, if I could massage the parameters samba receives >a little, I might be able to get it to work...if I knew how to capture >the parameters.Hi, I have made similar experiences. But I am not sure if I have the reason, the solution or just stupid information for you. It is not a problem with your particular driver. I receive this message when printing to our HP LJ5Si after I have restarted Samba without restarting my NT-box, that was already connected to the Samba server. My NT setup is in such a way that the NT box is mounting a Samba share via the user profile. As far as I remember right it is not enough to fix the problem just to re-login into NT you have to reboot. It seems to me that the problem is caused by a synchronization problem between the restartet Samba server an the running NT. Regards, Axel Neumann
Axel Neumann wrote:> > Matthew Vanecek wrote: > > >I set up a new printer on my Linux box, an Epson Stylus Color 740. I > >had previously been using an EPson Stylus Color IIs. I got the printer > >working nicely in Linux, but I can not print to the printers I set up in > >/etc/printcap via samba from NT anymore. I.e., it worked with the IIs, > >but not with the 740. I didn't change anything in smb.conf. > > >NT lets me install the printers via samba, but not print to them. It > >always returns a message that "The parameter is incorrect". Is there > >any way to find out what parameter it's barfing on, and how to fix it? > > >I checked the system and samba logs, and there's nothing there about > >this. > > >I have samba 2.0.5, NT WS 4.0, SP5, and the Epson printer > >drivers/software. I'm kinda wondering if the Epson software is getting > >in the way, but it won't let me install the drivers without installing > >the software. However, if I could massage the parameters samba receives > >a little, I might be able to get it to work...if I knew how to capture > >the parameters. > > Hi, > > I have made similar experiences. But I am not sure if I have the reason, > the solution or just stupid information for you. > > It is not a problem with your particular driver. I receive this message > when printing to our HP LJ5Si after I have restarted Samba without > restarting my NT-box, that was already connected to the Samba server. > > My NT setup is in such a way that the NT box is mounting a Samba share via > the user profile. As far as I remember right it is not enough to fix the > problem just to re-login into NT you have to reboot. > > It seems to me that the problem is caused by a synchronization problem > between the restartet Samba server an the running NT. >I don't know, but after several reboots of NT, the problem persists. Any ideas on capturing the parameters coming across the wire, and finding out which parameters samba is interpreting them as? I've looked at tcpdump output, but have absolutely no idea how to interpret it. -- Matthew Vanecek Course of Study: http://www.unt.edu/bcis Visit my Website at http://people.unt.edu/~mev0003 For answers type: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' ***************************************************************** For 93 million miles, there is nothing between the sun and my shadow except me. I'm always getting in the way of something...
> Matthew Vanecek wrote: > > >NT lets me install the printers via samba, but not print to them. It > >always returns a message that "The parameter is incorrect". Is there > >any way to find out what parameter it's barfing on, and how to fix it?I think I started encountering the same problem recently.. I'm sure I used to be able to print but somewhere along the line something broke it (the change to 2.0 maybe).. anyhow, somewhere I saw a post about a knowledgebase article regarding printing from NT to windows 95 machines with a password. Basically it turns out that NT gets confused if it needs to prompt for a password when printing which causes the "parameter is incorrect" message. The KB article says to try the following net use lpt1 \\sambaserver\printer password /persistent:yes I tried this and then set up a printer to print on lpt1 and everything works fine now.. not an ideal solution but one that might fix your problem. Andrew --- Andrew.Patterson@infotech.monash.edu.au Monash University, Australia
Andrew Patterson wrote:> > > Matthew Vanecek wrote: > > > > >NT lets me install the printers via samba, but not print to them. It > > >always returns a message that "The parameter is incorrect". Is there > > >any way to find out what parameter it's barfing on, and how to fix it? > > I think I started encountering the same problem recently.. I'm sure > I used to be able to print but somewhere along the line something broke it > (the change to 2.0 maybe).. anyhow, somewhere I saw a post about > a knowledgebase article regarding printing from NT to windows 95 > machines with a password. Basically it turns out that NT gets confused if > it needs to prompt for a password when printing which causes the > "parameter is incorrect" message. The KB article says to try the > following >If that's the case, is there a way to set it up where NT doesn't need to prompt for a password?> net use lpt1 \\sambaserver\printer password /persistent:yes > > I tried this and then set up a printer to print on lpt1 and everything > works fine now.. not an ideal solution but one that might fix your > problem. >Definitely not an ideal solution, but it works a little. Are you supposed to be able to attach more than one printer to lpt1? Right now I've got the 720dpi printer attached to it, but many times I just want a quick printout at 360dpi, and occasionally one at 1440dpi. -- Matthew Vanecek Course of Study: http://www.unt.edu/bcis Visit my Website at http://people.unt.edu/~mev0003 For answers type: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' ***************************************************************** For 93 million miles, there is nothing between the sun and my shadow except me. I'm always getting in the way of something...