On 10/13/05, John H Terpstra <[EMAIL PROTECTED]> wrote: > On Thursday 13 October 2005 12:56, ds wrote: > > On 10/6/05, Louis van Belle <[EMAIL PROTECTED]> wrote: > > > Hi, did you try to make de spooler name ( sharename ) of the > > > printer "win98 photosmart" smaller to max 12 characters. > > > and leave the space out. Name it for example like this > > > w98_photosm and try again. > > > > > > Loius > > > > Thanks for the suggestion. I tried doing this, I shortened the name > > of the printer to raw1750 with no spaces, underscores or dashes and > > now it shows up when I try to browse for it. However, I am still > > unable to print. I am very busy this week, but I will keep trying, I > > will examine the logs and see if I can find out what the problem is, > > probably post more questions next week. > > > ADd the parameter "cups options = raw" to the [global] section of your > smb.conf file. > > - John T. > > Thanks for the suggestion, I was able to get it working. I am going to be adding a printer that will not be using the raw queue, so I added this to the share itself instead of the [global] section. Also, it didn't work at first so I looked up the parameter in the smb.conf man page and found the correct sytax is:
cups options = "raw" I am assuming it is passing the string inside the quotes to CUPS, the smb.conf man page example shows a comma delimited list with several options enclosed by the double quotes. Thanks again for the help, now that I have the Windows 98 client set-up I will be forging ahead into Windows XP and cupsaddsmb. ds > > > > Thanks for all the help. > > ds > > > > > >-----Oorspronkelijk bericht----- > > > >Van: [EMAIL PROTECTED] > > > >[mailto:[EMAIL PROTECTED] > > > >Namens Joe Cipale > > > >Verzonden: donderdag 6 oktober 2005 22:19 > > > >Aan: Craig White > > > >CC: [email protected] > > > >Onderwerp: Re: [Samba] Samba Cups Windows 98 Raw Printing - need help > > > > > > > >I have used both with and without '_' and I am still unable to > > > >get Samba CUPS printing to work... in either direction (linux > > > ><-> W2K). I can even get smbclient printing to work. > > > > > > > >Joe > > > > > > > >Craig White wrote: > > > >> On Thu, 2005-10-06 at 13:03 -0700, Dave Sheckells wrote: > > > >> > Hello - > > > >> > I am trying to use Samba and Cups to serve a file share and a "raw" > > > >> > printer to a Windows 98 client. I am using Gentoo Linux, kernel > > > >> > 2.6.12, Samba 3.0.14a, and Cups 1.1.23. I can access the > > > > > > > >data share > > > > > > > >> > from the Samba server, but the printer share does not show > > > > > > > >up when I > > > > > > > >> > try to use it, even if I specifically type in the name of the share > > > >> > (\\data_dog\win98_photosmart) it still doesn't work. > > > >> > > > > >> > I had this working with this laptop and a "practice" file server I > > > >> > had, the hard drive died in that machine, so I've set up > > > > > > > >my new file > > > > > > > >> > server and I can't get this to work. > > > >> > > > > >> > Before I had either of the file servers I had installed the printer > > > >> > directly on this laptop. When I set up the "practice" file server I > > > >> > was able to make it work by changing the port the printer used from > > > >> > it's own usb to the printer share, \\data_dog\win98_photosmart (to > > > >> > change the printer port in Win 98 you go to the detail tab of the > > > >> > printer properties > > > > > > > > dialog box). > > > > > > > >> > I have been trying every different samba and cups option I could > > > >> > google for the last week. Please look over my smb.conf and > > > > > > > >cupsd.conf > > > > > > > >> > and tell me where I'm going wrong. > > > >> > > > > >> > data_dog ~ # cat /etc/samba/smb.conf > > > >> > [global] > > > >> > netbios name = data_dog > > > >> > workgroup = sheckellfield > > > >> > server string = samba %v on %L > > > >> > security = user > > > >> > encrypt passwords = yes > > > >> > wins support = yes > > > >> > local master = yes > > > >> > os level = 128 > > > >> > log level = 3 > > > >> > log file = /var/log/samba.log > > > >> > max log size = 50 > > > >> > hosts allow = 192.168.0. > > > >> > read only = no > > > >> > printing = cups > > > >> > printcap = cups > > > >> > load printers = yes > > > >> > > > > >> > [data] > > > >> > path = /srv/samba/data_share > > > >> > comment = %S on %L > > > >> > volume = data_share > > > >> > create mask = 0660 > > > >> > directory mask = 0770 > > > >> > force create mode = 0660 > > > >> > force directory mode = 0770 > > > >> > > > > >> > [win98_photosmart] > > > >> > comment = HP Photosmart 7150 > > > >> > printer = win98_photosmart > > > >> > path = /var/spool/samba/win98_photosmart > > > >> > browseable = yes > > > >> > guest ok = yes > > > >> > writable = no > > > >> > printable = yes > > > >> > printer admin = root, @wheel > > > >> > use client driver = yes > > > >> > > > >> ---- > > > >> maybe it's just me but I've had problems using the > > > > > > > >underscore in machine > > > > > > > >> names and have resorted to only letters/numbers/hyphens > > > >> > > > >> Craig > > > >> > > > >> > > > >> -- > > > >> This message has been scanned for viruses and > > > >> dangerous content by MailScanner, and is > > > >> believed to be clean. > > > >> > > > >> -- > > > >> To unsubscribe from this list go to the following URL and read the > > > >> instructions: https://lists.samba.org/mailman/listinfo/samba > > > > > > > >-- > > > >To unsubscribe from this list go to the following URL and read the > > > >instructions: https://lists.samba.org/mailman/listinfo/samba > > > > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: https://lists.samba.org/mailman/listinfo/samba > > -- > John H Terpstra > Samba-Team Member > Phone: +1 (650) 580-8668 > > Author: > The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228 > Samba-3 by Example, 2 Ed., ISBN: 0131882221X > Hardening Linux, ISBN: 0072254971 > Other books in production. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
