Problems with printers
Firebeard
stend+samba at sten.org
Tue Dec 14 19:02:15 GMT 1999
I'm having a couple of problems getting samba to process
/etc/printcap properly. The printer definition lines of my
/etc/printcap are:
epson|lp|uniprint-letter-auto-mono|Epson Stylus Color 800 (mono, 360x360):\
color|epson_color|lp1|uniprint-letter-auto-mono|Epson Stylus Color 800 (color, 360x360):\
med|epson_med|lp2|uniprint_stc800p-letter-auto-mono|Epson Stylus Color 800 (mono, 720x720):\
color_med|epson_color_med|lp3|uniprint_stc800p-letter-auto-mono|Epson Stylus Color 800 (color, 720x720):\
high|epson_high|lp4|uniprint_stc800ih-letter-auto-mono|Epson Stylus Color 800 (mono, 1440x720):\
color_high|epson_color_high|lp6|uniprint_stc800ih-letter-auto-mono|Epson Stylus Color 800 (color, 1440x720):\
text|lp6|uniprint-letter-ascii-mono|Epson Stylus Color 800 (text, mono, 360x360):\
raw|lp7|uniprint-letter-raw|Epson Stylus Color 800:\
But `smbclient -L` shows
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Sten Drescher's home SMB print server)
epson Printer Epson Stylus Color 800 (mono, 360x360)
epson_color Printer Epson Stylus Color 800 (color, 360x360)
epson_med Printer Epson Stylus Color 800 (mono, 720x720)
epson_color_m Printer Epson Stylus Color 800 (color, 720x720)
epson_high Printer Epson Stylus Color 800 (mono, 1440x720)
color_high Printer Epson Stylus Color 800 (color, 1440x720)
text Printer Epson Stylus Color 800 (text, mono, 360x360)
raw Printer Epson Stylus Color 800
As you can see, samba is inconsistent about which component
of the first entry to use. Is there any way, aside from creating a
dummy printcap, to force the first component to be used?
As a minor nit, has any thought been given to having samba
handle LPRng printcaps when 'printing = LPRng' is set? I really like
not _having_ to use the continuation \, but not using it caused samba
some problems (it thought that it had a printer named ^I).
--
#include <disclaimer.h> /* Sten Drescher */
Amendment II, Revised: A well-regulated population being necessary to
the security of a police state, the right of the Government to keep
and destroy arms shall not be infringed.
More information about the samba
mailing list