I've connected a BSD machine to a WinME machine in the office to begin experimenting with samba. I've been messing about with it but I can't get a print of samba files to the WinME printer. My /var/spool/lpd/canon directory contains .config, .seq, status and lock files and a whole bunch of files that aren't getting printed to the remote printer. my .config file has: server=ICE1 service=CANON password="" Status file has "waiting for ice1 to come up"? Lock file has "248"? my printcap file: Canon:\ ; :rm=ice1:\ ; :rp=CANON:\ :sd=/var/spool/lpd/canon:\ :mx#0:\ :sh:\ :if=/usr/pkg/bin/smbprint:\ :lp=/dev/null:\ :lf=/var/log/lpd-errs: [printers] comment = All Printers path = /var/spool/lpd/canon browseable = no writeable = yes printable = yes create mode = 0777 public = yes [CANON] comment = Canon BJ3000 path = /var/spool/lpd/canon browseable = yes guest account = Laurie public = yes writeable = yes printable = yes create mode = 0755 What am I doing wrong? Any help would be appreciated. -- P Kozberski
Turn on debug in smbprint (look inside of the script) and see what is going on. The debug file AFAIK is created in the same (spool) directory. Koz wrote:> > I've connected a BSD machine to a WinME machine in the office to > begin experimenting with samba. I've been messing about with it but > I can't get a print of samba files to the WinME printer. > > My /var/spool/lpd/canon directory contains .config, .seq, status > and lock files and a whole bunch of files that aren't getting printed > to the remote printer. > > my .config file has: server=ICE1 > service=CANON > password="" > > Status file has "waiting for ice1 to come up"? > > Lock file has "248"? > > my printcap file: Canon:\ > ; :rm=ice1:\ > ; :rp=CANON:\ > :sd=/var/spool/lpd/canon:\ > :mx#0:\ > :sh:\ > :if=/usr/pkg/bin/smbprint:\ > :lp=/dev/null:\ > :lf=/var/log/lpd-errs: > > [printers] > comment = All Printers > path = /var/spool/lpd/canon > browseable = no > writeable = yes > printable = yes > create mode = 0777 > public = yes > [CANON] > comment = Canon BJ3000 > path = /var/spool/lpd/canon > browseable = yes > guest account = Laurie > public = yes > writeable = yes > printable = yes > create mode = 0755 > > What am I doing wrong? Any help would be appreciated. > > -- P Kozberski > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- Yuri Pismerov, Sr. System Administrator, TUCOWS.COM INC. (416) 535-0123 ext. 1352
Just some general observations. smbprint is merely a shell script which sets up an smbclient command to do your printing for you. I would try to print directly from the command line with smbclient. If that works, dissect the script and see what is wrong. How are you filtering your print jobs? Joel On Wed, Sep 11, 2002 at 09:05:44PM +0000, Koz wrote:> > > I've connected a BSD machine to a WinME machine in the office to > begin experimenting with samba. I've been messing about with it but > I can't get a print of samba files to the WinME printer. > > My /var/spool/lpd/canon directory contains .config, .seq, status > and lock files and a whole bunch of files that aren't getting printed > to the remote printer. > > my .config file has: server=ICE1 > service=CANON > password="" > > Status file has "waiting for ice1 to come up"? > > Lock file has "248"? > > my printcap file: Canon:\ > ; :rm=ice1:\ > ; :rp=CANON:\ > :sd=/var/spool/lpd/canon:\ > :mx#0:\ > :sh:\ > :if=/usr/pkg/bin/smbprint:\ > :lp=/dev/null:\ > :lf=/var/log/lpd-errs: > > [printers] > comment = All Printers > path = /var/spool/lpd/canon > browseable = no > writeable = yes > printable = yes > create mode = 0777 > public = yes > [CANON] > comment = Canon BJ3000 > path = /var/spool/lpd/canon > browseable = yes > guest account = Laurie > public = yes > writeable = yes > printable = yes > create mode = 0755 > > What am I doing wrong? Any help would be appreciated. > > -- P Kozberski > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba