CUPS 1.4 and Samsung USB printer

Post Reply
dopeti
Posts: 9
Joined: Sun Jun 27, 2010 7:21 pm

CUPS 1.4 and Samsung USB printer

Post by dopeti » Mon Aug 08, 2011 5:32 pm

Hi there!

I've noticed Splix and CUPS 1.4 in the repository, so I tried them, because I did not manage to make my Samsung ml1640 work with Iomega HMHD.

So
-Installed CUPS and Splix
-successfully configured printer at admin page
-blacklisted usblp (as far as I know, its an important step with cups 1.4)
-added /dev/usb/lp0 to group lp and gave o+rw permission
-configured windows client to recognise CUPS printer (directly and not with samba)

When I start a print job from windows, the CUPS says that "Samsung ML-1640, SpliX V. 2.0.0 Processing - "Waiting for printer to become available...""

And nothing happens.

What should I do to make it work?

Thank you!

PS: I cannot print a test page too, because it says:
"Unsupported format 'application/vnd.cups-banner'!"

dopeti
Posts: 9
Joined: Sun Jun 27, 2010 7:21 pm

Re: CUPS 1.4 and Samsung USB printer

Post by dopeti » Mon Aug 08, 2011 6:40 pm

shit...
I "overconfigured" the NAS...

I forgot to put paper in the printer, and when I did that a windows printer test page appeared with Printer1 name :D
So it worked once yesterday.

Can someone please copy-paste here the default smb.conf from /etc/samba ?
Thank you in advance!

Mijzelf
Posts: 6198
Joined: Mon Jun 16, 2008 10:45 am

Re: CUPS 1.4 and Samsung USB printer

Post by Mijzelf » Mon Aug 08, 2011 7:12 pm

It's inside the partition backup:

Code: Select all

[global]
	workgroup = WORKGROUP
	server string = Home Media Drive
	security = user
	map to guest = Bad User
	use sendfile = yes
	hide dot files = yes
	veto files = /.AppleDouble/.AppleDB/.AppleDesktop/:2eDS_Store/:2eTemporaryItems/Network Trash Folder/Temporary Items/
	encrypt passwords = yes
	smb passwd file = /etc/samba/smbpasswd
	socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
	dns proxy = no
	local master = no
	os level = 20 #ensure that we lose a browser election
	domain master = no
	preferred master = no
	max xmit = 65535
	username level = 16
	disable spoolss = yes
	stat cache = no
	null passwords = yes
	log level = 0
	winbind enum users = yes
	winbind enum groups = yes
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	syslog = 0
	guest account = nobody
	load printers = yes
	printcap name = /etc/printcap
	printing = lprng
	comment = Storage on Home Media Drive
[public]
	writable = yes
	wide links = no
	force user = nobody
	map archive = yes
	create mask = 0777
	directory mask = 0777
	comment = 
	path = /nethdd/public/
	preallocate = yes
	vfs objects = netatalk
	write list = 
	read list = 
	guest ok = yes
[music]
	writable = yes
	wide links = no
	force user = nobody
	map archive = yes
	create mask = 0777
	directory mask = 0777
	comment = 
	path = /nethdd/media/music/
	preallocate = yes
	vfs objects = netatalk
	write list = 
	read list = 
	guest ok = yes
[photos]
	writable = yes
	wide links = no
	force user = nobody
	map archive = yes
	create mask = 0777
	directory mask = 0777
	comment = 
	path = /nethdd/media/pictures/
	preallocate = yes
	vfs objects = netatalk
	write list = 
	read list = 
	guest ok = yes
[ActiveFolders]
	writable = yes
	wide links = no
	force user = nobody
	map archive = yes
	create mask = 0777
	directory mask = 0777
	comment = 
	path = /nethdd/ActiveFolders/
	preallocate = yes
	vfs objects = netatalk
	write list = 
	read list = 
	guest ok = yes
[backups]
	writable = yes
	wide links = no
	force user = nobody
	map archive = yes
	create mask = 0777
	directory mask = 0777
	comment = 
	path = /nethdd/backup/
	preallocate = yes
	vfs objects = netatalk
	write list = 
	read list = 
	guest ok = yes
[printers]
	path = /var/spool/lpd/samba/
	printable = yes
	print command = /usr/bin/lpr -P%p -r %s
	lpq command = /usr/bin/lpq -P%p
	lprm command = /usr/bin/lprm -P%p %j
	lppause command = /usr/sbin/lpc hold %p %j
	lpresume command = /usr/sbin/lpc release %p %j
	queuepause command = /usr/sbin/lpc stop %p
	queueresume command = /usr/sbin/lpc start %p
	guest only = yes
[movies]
	writable = yes
	wide links = no
	force user = nobody
	map archive = yes
	create mask = 0777
	directory mask = 0777
	comment = 
	path = /nethdd/media/movies/
	preallocate = yes
	vfs objects = netatalk
	write list = 
	read list = 
	guest ok = yes

robertirons
Posts: 3
Joined: Fri Sep 23, 2011 9:46 pm

Re: CUPS 1.4 and Samsung USB printer

Post by robertirons » Thu Oct 20, 2011 10:13 pm

Hey,
Can I ask, how did you get CUPS to install successfully on HMND? I have been struggling to get apt-get to work properly. I got 'apt-get update' to work, but when I run 'apt-get install cups', it tries to download 256mb of packages, and then just hangs. I cant believe cups takes up 256mb!

ANy advice gratefully received.

anewman
Posts: 1
Joined: Wed Feb 15, 2012 1:36 pm

Re: CUPS 1.4 and Samsung USB printer

Post by anewman » Wed Feb 15, 2012 2:10 pm

I am also looking into getting this working. I've managed to get a Cups test page out of my Samsung ML-2010 and struggling to get it to broadcast the printer on the network or connect to the printer from another computer.

Post Reply