[Samba] Samba.

John H Terpstra jht at samba.org
Wed Nov 27 16:41:02 GMT 2002


On Wed, 27 Nov 2002, Erik Jakobsen wrote:

> On Wednesday 27 November 2002 17:17, John H Terpstra wrote:
> > On Wed, 27 Nov 2002, Erik Jakobsen wrote:
> > > Hi.
> > >
> > > I sent a question to the list yesterday about my problem printing from my
> > > win98 laptop via samba in my linux box to my USB deskjet printer
> > > connected to the linux box.
> >
> > Go back to your email of yesterday. What help were you asking for? You
> > simply stated what was happening. If you want help from people on a
> > mailing list then you need to be very brief and very clear about what help
> > you need.
>
> Why do you say that I have to go back to that e-mail ?.
> To the last. Then I'm sorry. I told in the e-mail from yesterday what the
> problem was.

Oops. I double checked amd see you did ask for help. Apologies.

1) Have you logged out and restarted samba since creating the new USB
printer?

2) What errors are reported in /var/log/cups/errors...?

3) What errors are being reported in /var/log/samba/... when you attempt
to print to this machine?

- John T.


>
> > I would recommend that you in the [printers] section you spool to
> > /var/spool/samba, not to /tmp. The samba spool directory needs to be set
> > with permissions 1777, ie: rwxrwxrwt. This is where the print jobs are
> > collected from the Windows client, when the job has arrived it is then
> > sent to the CUPS spooler.
>
> Thanks for this info.
>
> > Your information says nothing about your CUPS configuration. Can you print
> > to the USB printer from Linux?
>
> As mentioned in the first e-mail, yes I can.
>
> Here is the printer.conf file:
> -------------------------------------
> # Printer configuration file for CUPS v1.1.15
> # Written by cupsd on Wed 27 Nov 2002 03:30:52 PM GMT
> <DefaultPrinter lj1100>
> Info Hewlett-Packard HP LaserJet 1100
> Location Parallel printer on /dev/lp0
> DeviceURI parallel:/dev/lp0
> State Stopped
> StateMessage
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>
> <Printer usb>
> Info Hewlett-Packard DeskJet 895C
> Location USB printer on /dev/usb/lp0
> DeviceURI usb:/dev/usb/lp0
> State Idle
> Accepting Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> </Printer>

-- 
John H Terpstra
Email: jht at samba.org





More information about the samba mailing list