Re: CUPS, samba, and Epson C80

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my small home network, I set up print sharing using the "K-menu > System Settings > Printing" app (in KDE). I install my Lexmark Z51 with the Z51 driver for use on my Linux workstation, but as a "raw printer queue" for sharing with the Windows boxen.

Although I do have Samba installed and working for file/dir shares, I don't really have any idea what underlying program (samba, cups, etc.) the "Printing" app. configures, but it works for me, so I thought I'd share.

Good luck.

David Miller wrote:

Hello

I recently "upgraded" from RedHat 9 to Fedora.
I have always used lprng. I was very disapointed to find that it was removed.


I have tried to share the printers that I have on my linux box. I have 4 windows machines that use my printers. I have an Hp dj600 and an Epson C80 on the linux box.
I have never had any problems shareing them with lprng and samba.


After installing Fedora I learned that I had to use CUPS. I could make my printers work on the linux machine but the windows machines could not print. They would show up in windows explorier but not in the list when you would add a network printer. Nothing I tried seamed to work until I ran across a posting via a web search that indicated a problem in samba 3.0 and it worked with an earlier version of samba. I uninstalled samba and downloaded the samba rpms for samba-2.2.7-5.8.0. I think the samba files used in RedHat 8.0.

Now my HP works fine.
On the windows machines, when you say add printer and select network and browse you see both printers and installs for both seam to work. The Epson still won't print.
In printer configuration both printers are shared. Both work on the linux box.


Samba Config is as follows:
  workgroup = HOME
 server string = Samba Server
 printcap name = cups
  load printers = yes
  log file = /var/log/samba/%m.log
  max log size = 0
  security = user
  encrypt passwords = no

  obey pam restrictions = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  remote browse sync = 192.168.0.1/25
  os level = 33
  preferred master = yes
  wins support = yes
  dns proxy = no

[homes]
  comment = Home Directories
  browseable = no
  writable = yes
  valid users = %S
  create mode = 0664
  directory mode = 0775

[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
  guest ok = no
  writable = no
  printable = yes
  use client driver = yes

[windata]
   path = /var/data/win95
   guest ok = yes
   writeable = yes
   printable = no
   write list = david, cheryl, laniece, cathy, mark
   create mask = 0664
   directory mask = 0775


Cups mime.convs has the following line uncommented: application/octet-stream application/vnd.cups-raw 0 -

mime.types has the following line uncommented:
application/octet-stream

cups error log still indicates the following when I try to print to the C80;
E [02/Feb/2004:12:13:22 -0600] print_job: Unsupported format 'application/octet-stream'!
I [02/Feb/2004:12:13:22 -0600] Hint: Do you have the raw file printing rules enabled?


No errors printing to the HP.

There is no entry that shows up in the print queue.

If anyone has any ideas please let me know.

David Miller






-- Mitch Wiedemann mc² Computer Consulting mc2@xxxxxxxxxxxxx http://www.lightlink.com/mc2 607 347-4657 home 607 339-9726 cell





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux