This is a discussion on Re: [Samba] Samba Cups Windows 98 Raw Printing - need help within the Samba forums, part of the Networking and Network Related category; On 10/13/05, John H Terpstra <jht@samba.org> wrote: > On Thursday 13 October 2005 12:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 10/13/05, John H Terpstra <jht@samba.org> wrote:
> On Thursday 13 October 2005 12:56, ds wrote: > > On 10/6/05, Louis van Belle <louis@van-belle.nl> 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 =3D 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 =3D "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: samba-bounces+louis=3Dvan-belle.nl@lists.samba.org > > > >[mailto:samba-bounces+louis=3Dvan-belle.nl@lists.samba.org] > > > >Namens Joe Cipale > > > >Verzonden: donderdag 6 oktober 2005 22:19 > > > >Aan: Craig White > > > >CC: samba@lists.samba.org > > > >Onderwerp: Re: [Samba] Samba Cups Windows 98 Raw Printing - need hel= p > > > > > > > >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 "r= aw" > > > >> > 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 sh= are > > > >> > (\\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 prin= ter > > > >> > directly on this laptop. When I set up the "practice" file serve= r I > > > >> > was able to make it work by changing the port the printer used f= rom > > > >> > 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 th= e > > > >> > 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 =3D data_dog > > > >> > workgroup =3D sheckellfield > > > >> > server string =3D samba %v on %L > > > >> > security =3D user > > > >> > encrypt passwords =3D yes > > > >> > wins support =3D yes > > > >> > local master =3D yes > > > >> > os level =3D 128 > > > >> > log level =3D 3 > > > >> > log file =3D /var/log/samba.log > > > >> > max log size =3D 50 > > > >> > hosts allow =3D 192.168.0. > > > >> > read only =3D no > > > >> > printing =3D cups > > > >> > printcap =3D cups > > > >> > load printers =3D yes > > > >> > > > > >> > [data] > > > >> > path =3D /srv/samba/data_share > > > >> > comment =3D %S on %L > > > >> > volume =3D data_share > > > >> > create mask =3D 0660 > > > >> > directory mask =3D 0770 > > > >> > force create mode =3D 0660 > > > >> > force directory mode =3D 0770 > > > >> > > > > >> > [win98_photosmart] > > > >> > comment =3D HP Photosmart 7150 > > > >> > printer =3D win98_photosmart > > > >> > path =3D /var/spool/samba/win98_photosmart > > > >> > browseable =3D yes > > > >> > guest ok =3D yes > > > >> > writable =3D no > > > >> > printable =3D yes > > > >> > printer admin =3D root, @wheel > > > >> > use client driver =3D 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 |