You are not logged in.

#1 2012-09-06 10:13:56

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

[solved] Samsung SCX-3200 prints garbage

Hi,

Some months ago I got a Samsung SCX-3200 mono multifunction printer. I installed samsung unified driver from AUR I think it was v3 and printer worked.
After the driver got updated to v4 I think my problems started. Sometimes when printing a document I only got pages with garbage characters in the first line on the whole page. Recently I am unable to print anything, always getting the same result, smileys, hearts etc on the first line. printing test page is the same.
I installed windows to another HDD in my desktop computer and no printing issue occurred. Also I installed samsung unified driver to another computer (running Arch), used the same USB cable, but garbage text was all I got.
Then I tried the official samsung package / installer and everything was the same.

Unfortunately there's no samsung unified driver 3 package  in AUR anymore.

Please help me get my printer back. smile

Last edited by siriusb (2012-09-09 09:55:51)

Offline

#2 2012-09-06 14:24:46

Gilrain
Member
From: France
Registered: 2011-12-24
Posts: 7

Re: [solved] Samsung SCX-3200 prints garbage

I have a file named "UnifiedLinuxDriver_0.92.tar.gz" (around 30MB) which might very well be of the v3 family. I used it with the AUR PKGBUILD on May 6th to create a package for my CUPS server.

Offline

#3 2012-09-06 14:56:23

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

Re: [solved] Samsung SCX-3200 prints garbage

Thanks for your reply.
Samsung support webpage has a file with version 0.93 dated to Oct 6 2011, so... I don't know big_smile

Offline

#4 2012-09-06 20:18:30

ptb
Member
Registered: 2009-05-21
Posts: 7

Re: [solved] Samsung SCX-3200 prints garbage

Hi,

test if the following PKGBUILD works for you. You need the files 99_smfpautoconf.rules and samsungUDC.desktop from the aur package samsung-unified-driver.

pkgname=samsung-unified-driver
pkgver=3.00.90
pkgrel=1

pkgdesc="Unified Linux Driver for Samsung printers and scanners."
arch=(i686 x86_64)
url="http://www.samsung.com"
license=('custom:samsung')
depends=('libstdc++5' 'libtiff' 'cups' 'ghostscript' 'sane')
conflicts=samsungmfp-configurator-qt4
options=(!strip)

source=("http://www.bchemnet.com/suldr/UnifiedLinuxDriver-${pkgver}.tar.gz"
	'99_smfpautoconf.rules' 'samsungUDC.desktop')

sha1sums=('95de115a32399392cf3e50837c445f277cb3fdb6'
          '29ee51d7bcb2541967f34c36c72ac62ecc621a1e'
          'e2e337d2e22cab41071e5af585f04dcf9e779c7b')

if [ "$CARCH" = "x86_64" ]; then
	CARCHCUSTOM="x86_64"
	LIBDIRCUSTOM="lib64"
else
	CARCHCUSTOM="i386"
	LIBDIRCUSTOM="lib"
fi

build() {
# mpf
	install -d "${pkgdir}/usr/lib"
	install -d "${pkgdir}/usr/bin"
	install -d "${pkgdir}/etc/udev/rules.d/"

	install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/libmfp.so.1.0.1" \
	"${pkgdir}/usr/lib/libmfp.so.1.0.1"
	install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/opt/smfp-common/${LIBDIRCUSTOM}/libnetsnmp.so.10.0.2" \
	"${pkgdir}/usr/lib/libnetsnmp.so.10.0.2"

	install -m 644 "${srcdir}/99_smfpautoconf.rules" "${pkgdir}/etc/udev/rules.d/99_smfpautoconf.rules"

# cups
	install -d "${pkgdir}/usr/lib/cups/filter"
	install -d "${pkgdir}/usr/lib/cups/backend/"
	install -d "${pkgdir}/etc/cups/"
	install -d "${pkgdir}/usr/share/cups/model/samsung/cms"

	install -m 444 -t "${pkgdir}/usr/share/cups/model/samsung/cms/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/ppd/cms/*

	install -m 644 -t "${pkgdir}/usr/share/cups/model/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/ppd/*.ppd
	

	install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/cups/backend/mfp" \
	"${pkgdir}/usr/lib/cups/backend/mfp"
	install -m 755 -t "${pkgdir}/usr/lib/cups/filter/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/cups/filter/*

	install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/cups/filter/smfpautoconf" \
	"${pkgdir}/usr/lib/cups/filter/smfpautoconf"


	install -m 644 -t "${pkgdir}/etc/cups/" ${srcdir}/cdroot/Linux/noarch/at_root/etc/cups/*

# sane
	install -d "${pkgdir}/usr/lib/sane/"
	install -d "${pkgdir}/etc/sane.d/dll.d"

	install -m 644 "${srcdir}/cdroot/Linux/noarch/at_root/etc/sane.d/smfp.conf" "${pkgdir}/etc/sane.d/smfp.conf"

	install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/${LIBDIRCUSTOM}/sane/libsane-smfp.so.1.0.1" \
	"${pkgdir}/usr/lib/sane/libsane-smfp.so.1.0.1"

	install -d "${pkgdir}/opt/Samsung/mfp/bin/"
	install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_opt/bin/netdiscovery" "${pkgdir}/opt/Samsung/mfp/bin/netdiscovery"

	install -d "${pkgdir}/usr/sbin/"
	install -m 755 "${srcdir}/cdroot/Linux/${CARCHCUSTOM}/at_root/usr/sbin/smfpd" "${pkgdir}/usr/sbin/smfpd"

	install -d "${pkgdir}/opt/Samsung/mfp/share/"
	install -m 644 "${srcdir}/cdroot/Linux/OEM.ini" "${pkgdir}/opt/Samsung/mfp/share/OEM.ini"

#create symbolic links
# mpf
	cd "${pkgdir}/usr/lib"
	ln -s ./libmfp.so.1.0.1 ./libmfp.so.1
	ln -s ./libmfp.so.1.0.1 ./libmfp.so

# 
	cd "${pkgdir}/usr/lib/sane"
	ln -s ./libsane-smfp.so.1.0.1 ./libsane-smfp.so.1
	ln -s ./libsane-smfp.so.1 ./libsane-smfp.so

	echo "smfp" >> "${pkgdir}/etc/sane.d/dll.d/smfp"
	chmod 644 "${pkgdir}/etc/sane.d/dll.d/smfp"
	
# samsungmfp-configurator-qt4
	install -d "${pkgdir}/opt/Samsung/mfp/bin/"
	install -d "${pkgdir}/opt/Samsung/mfp/lib/"
	install -d "${pkgdir}/opt/Samsung/mfp/share/"
	install -d "${pkgdir}/opt/Samsung/mfp/share/help/"
	install -d "${pkgdir}/opt/Samsung/mfp/share/images/"
	install -d "${pkgdir}/opt/Samsung/mfp/share/tr/"
	install -d "${pkgdir}/opt/Samsung/mfp/share/ui/"
	install -d "${pkgdir}/opt/Samsung/mfp/share/utils/"
	install -d "${pkgdir}/usr/share/applications/"

	install -m 755 -t "${pkgdir}/opt/Samsung/mfp/bin/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/qt4/at_opt/bin/*
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/lib/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/qt4/at_opt/lib/*
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/eula.htm
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Common_LINUX
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Common_LINUX_Script
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Printer_LINUX
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Printer_LINUX-Script
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Scanner_LINUX
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/VERSION-Scanner_LINUX-Script
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/help/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/help/*
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/images/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/images/*
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/utils/" ${srcdir}/cdroot/Linux/noarch/at_opt/share/utils/*
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/tr/" ${srcdir}/cdroot/Linux/noarch/qt4/at_opt/share/tr/*
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/share/ui/" ${srcdir}/cdroot/Linux/noarch/qt4/at_opt/share/ui/*

	install -m 644 "${startdir}/samsungUDC.desktop" "${pkgdir}/usr/share/applications/samsungUDC.desktop"

	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/lib/" ${srcdir}/cdroot/Linux/${CARCHCUSTOM}/qt4/at_root/opt/smfp-common/${LIBDIRCUSTOM}/*
	
	echo "LD_LIBRARY_PATH=/opt/Samsung/mfp/lib/:$LD_LIBRARY_PATH /opt/Samsung/mfp/bin/Configurator" >> "${pkgdir}/usr/bin/SamsungConfigurator"
	chmod 555 "${pkgdir}/usr/bin/SamsungConfigurator"
	
	echo "LD_LIBRARY_PATH=/opt/Samsung/mfp/lib/:$LD_LIBRARY_PATH /opt/Samsung/mfp/bin/ImageManager" >> "${pkgdir}/usr/bin/SamsungImageManager"
	chmod 555 "${pkgdir}/usr/bin/SamsungImageManager"
	
	echo "LD_LIBRARY_PATH=/opt/Samsung/mfp/lib/:$LD_LIBRARY_PATH /opt/Samsung/mfp/bin/smfpscan" >> "${pkgdir}/usr/bin/smfpscan"
	chmod 555 "${pkgdir}/usr/bin/smfpscan"
	
	mkdir -p "${srcdir}/libtiff/"
	tar xzf "${srcdir}/cdroot/Linux/noarch/libtiff-3-${CARCHCUSTOM}.tar.gz" -C "${srcdir}/libtiff"
	install -m 644 -t "${pkgdir}/opt/Samsung/mfp/lib/" ${srcdir}/libtiff/usr/${LIBDIRCUSTOM}/*
}

Offline

#5 2012-09-07 08:43:02

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

Re: [solved] Samsung SCX-3200 prints garbage

Thanks, I will and report back later.


Update:
Compiled without a glitch. But nothing changed. Test page is garbage, and I tried to print some lines from Geany, the job just didn't reach the printer however cups said it was sent.

I'll install another distro in virtualbox and check whether my printer works or not with Linux. Or should I just downgrade cups?

Last edited by siriusb (2012-09-07 09:25:08)

Offline

#6 2012-09-07 09:29:51

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

Re: [solved] Samsung SCX-3200 prints garbage

Wow, after about 15 minutes the job from Geany got printed out. I don't understand.

Offline

#7 2012-09-07 19:26:49

ctxfi-user
Member
Registered: 2010-10-31
Posts: 56

Re: [solved] Samsung SCX-3200 prints garbage

Hello siriusb!

The driver package from Samsung is bloated garbage. So I only used the PPD scx3200.ppd and copied the required filter rastertosamsungspl. The scanner is supported out of the box by SANE.

But recently I dropped the vendor drivers and switched to SpliX. Unfortunately you have to compile the latest Subversion revision to get a SpliX version with support for the SCX-3200. For me it works for a SCX-3205W flawless over ethernet.

Have fun!

Offline

#8 2012-09-07 20:34:12

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

Re: [solved] Samsung SCX-3200 prints garbage

Hi ctxfi-user,

Thanks for your advice. I found an AUR package and installed splix svn (307), but previously I removed then installed cups again and now cups doesn't detect this usb printer with or without usblp. sad
I'll continue tomorrow. smile

Offline

#9 2012-09-08 08:02:58

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

Re: [solved] Samsung SCX-3200 prints garbage

Well, on laptop (new install of cups) printer works with splix.

On my desktop computer printer is not detected, but when I issue the following command, it's there:

#  /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: libusb_get_device_list=10
DEBUG2: Printer found with device ID: MFG:Samsung;CMD:PCL5E,SPL,FWV,EXT;MDL:SCX-3200 Series;CLS:PRINTER;MODE:SCN;STATUS:BUSY; Device URI: usb://Samsung/SCX-3200%20Series?serial=Z509BFEB902638M&interface=1
direct usb://Samsung/SCX-3200%20Series?serial=Z509BFEB902638M&interface=1 "Samsung SCX-3200 Series" "Samsung SCX-3200 Series" "MFG:Samsung;CMD:PCL5E,SPL,FWV,EXT;MDL:SCX-3200 Series;CLS:PRINTER;MODE:SCN;STATUS:BUSY;" ""
root ~ #  lpinfo -vl
network http
network lpd
network socket
network smb
network https
network ipp
network ipps

Offline

#10 2012-09-08 11:56:31

ctxfi-user
Member
Registered: 2010-10-31
Posts: 56

Re: [solved] Samsung SCX-3200 prints garbage

As the new install of CUPS on your laptop works, just remove CUPS from your desktop again and wipe it completely. Maybe some leftover configuration files or so cause the problem. At least delete /etc/cups maybe try find more with find / -iname *cups*

Offline

#11 2012-09-08 12:43:40

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

Re: [solved] Samsung SCX-3200 prints garbage

That's what I did, however I was only searching /etc and /usr. Well, I'll try remove and install it again with a full search between.


Update:
I'm out of tricks. I don't like the idea but I'll restore a 2 week-old system backup when cups recognized the printer.

Update2:
It sux. My backup 2 months old. No way I'd restore this. With all those system upgrades. :cry:

Last edited by siriusb (2012-09-08 13:43:39)

Offline

#12 2012-09-09 09:59:31

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 421

Re: [solved] Samsung SCX-3200 prints garbage

I did 2 things. I left libstdc++5 the dependency of samsung-unified-driver package on my system and copied the 99_smfpautoconf.rules file from the samsung driver to my udev rules folder:

# This file is a part of package samsung-unified-driver
# Rules to allow low level USB device access for smfpautoconf

SUBSYSTEM!="usb|usb_device", GOTO="label_end"
ACTION!="add", GOTO="label_end"

ATTRS{idVendor}=="0419", MODE="0666"
ATTRS{idVendor}=="04e8", MODE="0666"
ATTRS{idVendor}=="0924", MODE="0666"
ATTRS{idVendor}=="413c", MODE="0666"

LABEL="label_end" 

So now I can print with splix! Everybody, thank you for your help.

I think libstdc++5 can be removed but I won't touch anything in the next few days. big_smile

Offline

Board footer

Powered by FluxBB