Please help with Samba printer share

Please help with Samba printer share

Post by Arctic Stor » Tue, 10 Apr 2001 08:30:39



I have a network between RedHat 7 and Win2K.
The printer and internet are connected to the RedHat 7 system.
I'm able to establish internet sharing and disk sharing; the Win2K computer
can read/write to the Linux hard drive.  However, I cannot print to the
printer from Win2K.  When I try to print a test page from the properties
window, I get the following error.
"Test page failed to print.  ...  Unable to create a print job."
What kind of things can I do to trouble shoot?
Below is the smb.conf file.

[global]
  workgroup = WORKGROUP
  server string = SambaServer
  printing = BSD
  printcap name = /etc/printcap
  load printers = yes
  lock directory = /var/lock/samba
  share modes = yes
  interfaces = 127.0.0.1/24 192.168.1.1/24 192.168.2.1/24
  bind interfaces only = yes
  null passwords = yes
  encrypt passwords = yes
  wins support = yes
  case sensitive = no

[printers]
  comment = All Printers
  path = /var/spool/lpd/lp
  browseable = no
  guest ok = yes
  printable = yes
  public = yes
  writable = no
  printing = BSD
  create mode = 0700
  print command = /usr/bin/lpr -r -h -P%p %s
  guest ok = yes
  null passwords = yes

[ljet]
  comment = Okidata Okipage 6e (HP LaserJet 4 compatible)
  path = /var/spool/ldp/lp
  guest ok = yes
  printer name = lp
  printing = BSD
  writable = yes
  public = yes
  printable = yes
  guest ok = yes
  null passwords = yes
  print command = /usr/bin/lpr -r -h -P%p %s

[vfat]
  comment = Windows Partition Drives
  path = /mnt/vfat
  browseable = yes
  read only = no
  guest ok = yes

[homes]
  comment = Home Directories
  path = /home
  browseable = yes
  read only = no
  guest ok = yes

 
 
 

Please help with Samba printer share

Post by friedhelm.mehn.. » Fri, 13 Apr 2001 02:26:41


: However, I cannot print to the
: printer from Win2K.  When I try to print a test page from the properties
: window, I get the following error.
: "Test page failed to print.  ...  Unable to create a print job."
: What kind of things can I do to trouble shoot?

Check the (Linux) permissions on your spool-directories.

Regards,
Friedhelm

--
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
-------------------------------------------------------------------
Friedhelm Mehnert,  Berliner Allee 42,  22850 Norderstedt,  Germany

-------------------------------------------------------------------

 
 
 

1. Samba problems : can't read the shared dir, no shared printer

I'm running Linux 1.2.13 and samba 1.9.13 (and 1.9.15p8). using inetd
to start smbd and nmbd.

The problems are:

1. can't mount the network print, although the net view \\server gives
the network print share.

2. can't read shared directory. Although it can access the directory to
dump a file, there is no problem to create files or dirs.

Please help, thanks in advance!

2. ALSA master volume ignored!?

3. Help with Samba/Cups Printer Sharing

4. NT to Unix 'rsh' problem

5. HELP NEEDED: Printer shares in SAMBA

6. weird boot?

7. Problems writing to Samba share, please help

8. Reading is much more interesting than TV (0904/1708)

9. Little help, please (Samba sharing)

10. Problem writing to Samba share, please help

11. Samba - remote printer - lp - help please

12. please help: zip and printer sharing parallel port

13. Sharing a Printer, Help Please!