Re: [Samba] printing issue after update to 3.6.1
Hi, thanks for the quick reply - I just opened bug 8719. https://bugzilla.samba.org/show_bug.cgi?id=8719 Greetings, Stefan Winter On 25.01.2012 17:59, David Disseldorp wrote: > Hi Stefan, > > On Wed, 25 Jan 2012 15:44:31 +0100 > Stefan Winter wrote: > > ... >> So, for some reasons, jobid gets lost. Strangely enough, the file size is >> also zero. >> >> I'm sort of lost what would cause this. The thing I could >> imagine is our fairly ancient cups on the system (1.2.7) >> and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that >> 3.5.5 still did. That's the only straw I'm holding onto. >> >> Can anyone help out here? > > The spoolss print job file open code-path has changed recently, looking > at print_spool_open() it looks like the job file is created without > taking the print jobid into account. > > Please raise a bug with your logs attached. > > Cheers, David -- Stefan WINTER Ingenieur de Recherche Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg Tel: +352 424409 1 Fax: +352 422473 signature.asc Description: OpenPGP digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] printing issue after update to 3.6.1
Hi Stefan, On Wed, 25 Jan 2012 15:44:31 +0100 Stefan Winter wrote: ... > So, for some reasons, jobid gets lost. Strangely enough, the file size is > also zero. > > I'm sort of lost what would cause this. The thing I could > imagine is our fairly ancient cups on the system (1.2.7) > and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that > 3.5.5 still did. That's the only straw I'm holding onto. > > Can anyone help out here? The spoolss print job file open code-path has changed recently, looking at print_spool_open() it looks like the job file is created without taking the print jobid into account. Please raise a bug with your logs attached. Cheers, David -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Printing issue
> 1. Are you using the Windows native drivers? If so, update them to > more current drivers from HP. I'm using either NT/Win2k v4.3.2.38 or > Win2k/XP v02.12.02 of the PCL 5E drivers. The MS-Supplied HP LJ4 drivers > (and Lexmark Optra S and more...) have a host of problems. Including > missing characters, graphics, etc. I updated with the drivers from HP's website, no change. BTW if I plug the printers directly into the workstation's parallel port everything prints fine. > 2. Run testparm on your Samba box to see/fix problems in your > setup. Directory rights on the lprng or samba spool dirs may cause > the "Access Denied" errors. Look at the LPRng How-To for the > correct syntax for the smb.conf entries. Run checkpc -V -f to > see/fix problems in the lprng setup. testparm and checkpc seem happy. Printer spool directories are owned by the lpd user and the daemon group. The samba printer spool directory is owned by the lpd user and the users group. I got the smb.conf printing commands from the LPRng docs. > 3. If you're using the print$ share to distribute your drivers, > adding guest ok=yes may clear up the "Access Denied" errors. Be sure > that you have "guest account" and "Map to Guest" configured in smb.conf. The printer drivers are installed locally on the workstations, I'm only using linux/samba as a central queue for a pair of printers. > Use SWAT to get to the smb.conf readme for more info. Not using SWAT. Jason Valenzuela -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Printing issue
> -Original Message- > From: Jason Valenzuela [mailto:jvalenzuela@;dspfl.com] > Sent: Thursday, October 17, 2002 9:27 AM > To: [EMAIL PROTECTED] > Subject: [Samba] Printing issue > > > I'm trying to setup a print server for Samba clients to use. > I have a HP > LaserJet 4 connected to /dev/lp0 and I'm using the LPRng > spooling package. > Documents printed from Windows clients make it to the > printer. However the > printed documents, mostly Excel/Word documents, have various > abberations on > them. Graphical flaws, the text seems fine. In addition I > seem to get 2 > copies for some reason. Also when I look at the print queue > via Windows I > get, "Access denied, unable to connect." > I have no filters in place, using -l with the lpr print > command, as I do not > wish to print directly from the Samba box. Any suggestions? > > Thanks, > Jason Valenzuela > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba Jason, 1. Are you using the Windows native drivers? If so, update them to more current drivers from HP. I'm using either NT/Win2k v4.3.2.38 or Win2k/XP v02.12.02 of the PCL 5E drivers. The MS-Supplied HP LJ4 drivers (and Lexmark Optra S and more...) have a host of problems. Including missing characters, graphics, etc. 2. Run testparm on your Samba box to see/fix problems in your setup. Directory rights on the lprng or samba spool dirs may cause the "Access Denied" errors. Look at the LPRng How-To for the correct syntax for the smb.conf entries. Run checkpc -V -f to see/fix problems in the lprng setup. 3. If you're using the print$ share to distribute your drivers, adding guest ok=yes may clear up the "Access Denied" errors. Be sure that you have "guest account" and "Map to Guest" configured in smb.conf. Use SWAT to get to the smb.conf readme for more info. Jim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing issue
> What version of Unix/Linux are you running? I'm running Linux 2.4.19, Samba 2.2.5, and LPRng 3.8.15. Everything compiled from source. > In your smb.conf file, do you specify the appropriate printing system via: > > printing = lprng (or bsd, aix, etc.) > > The command I use for printing is: > > print command = /usr/sbin/lpr -h -r -P %p %s > > Incidentally, if you are using postscript (or PCL) to print, the data is sent as > > text for the most part. So, maybe your -l option is not translating the > character set appropriately. I have printing = lprng print command = /usr/bin/lpr -P%p -l -r %s I just added the -l to see if it would fix my problem, it made no difference at all. Jason Valenzuela -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing issue
> I would check with HP for a more recent driver to load on the workstation. >Also,if you are printing heavy graphics, you need to make certain you have >plenty of memory in the printer. Unix/Linux just passes the job to the >printer. The printer >will sometimes generate errors if it cannot render the complete image in its >memory before printing. If I plug the printer directly into the workstations it works fine. Jason Valenzuela -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba