7.0R: printing from Samba to CUPS

Matthias Apitz matthias.apitz at oclc.org
Sat Mar 22 23:11:06 PDT 2008

Hello All,

During the last weekend I've installed FreeBSD 7.0R, the system and
compiled all the 'ports' I need, i.e. as well

cups-base-1.3.6_1   Common UNIX Printing System
cups-pdf-2.4.6      A virtual printer for CUPS to produce PDF files
cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to non-PS printers
cups-samba-6.0      The Common UNIX Printing System:  MS Windows client drivers

samba-3.0.28,1      A free SMB and CIFS client and server for UNIX
samba-libsmbclient-3.0.28 Shared libs from the samba package

I'm using Samba only to have access from a Windows XP in a virtual
machine (Qemu) on my laptop to the files in FreeBSD world and for
printing from XP to the CUPS in FreeBSD world. Worked all fine before in
FreeBSD 6.2R, but not in 7.0R. It says in /var/log/cups/error_log:

E [22/Mar/2008:10:12:40 +0100] Unsupported character set "iso-8859-1"!

I've digged into this and could make it work again by launching Samba in
an UTF8 environment, for example with:

# LANG=en_US.UTF-8 /usr/local/etc/rc.d/samba start

(or setting LANG=en_US.UTF-8 in the start script). Any comments on this?

Thanks in advance


Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?

More information about the freebsd-questions mailing list