Solved Samsung ML-3051ND ulpt0: output error

Hi,
I have laser printer as in topic title and when I add it in CUPS, CUPS don't recognize it.
Output from dmesg command says:

Code:
ulpt0 on uhub2
ulpt0: <SAMSUNG ELECTRONICS CO., LTD Samsung ML-3050 Series, class 0/0, rev 2.00/1.00, addr 1> on usbus0
ulpt0: using bi-directional mode
ulpt0: output error

My /etc/devfs.rules config:
Code:
[system=10]
add path 'da*' mode 666 group operator
add path 'ugen*' mode 0660 group operator
add path 'cuaU*' mode 0660 group operator
add path 'uhid*' mode 0660 group operator
add path 'usbctl*' mode 0660 group operator
add path 'video*' mode 0660 group operator
add path 'ng_ubt*' mode 0660 group operator
add path 'cd*' mode 0660 group operator
add path 'pass*' mode 0660 group operator
add path 'xpt*' mode 0660 group operator
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/*' mode 0660 group operator
add path 'md*' mode 0660 group operator
My user, of course, is in "cups" group and I installed splix-2.0.0_9 package for Samsung printers.
Code:
ska@maszynka:~ % groups
ska wheel operator video cups
ska@maszynka:~ %

Printer under Windows OS works perfectly.

What is wrong?
Thanks for help.
 
Last edited by a moderator:
According to:
http://static.highspeedbackbone.net/pdf/Samsung-ML-3051ND-Manual.pdf

Printer language PCL 6 d , PostScript 3, IBM ProPrinter, EPSON,
SPL

Interface • IEEE 1284 Bidirectional Parallel Standard
- Modes supported: Compatible, Nibble, Byte,
ECP
• USB Interface Standard
- USB 2.0 compliant
- 480 Mbps 1 port
• Network Interface
ML-3051N, ML-3051ND: 10/100 Base TX

FreeBSD creates 2 different usb connections:
https://docs.freebsd.org/en/books/handbook/printing/#printing-connections
If you are using a usb connection you may have to specify the usb connection in cups.

As oOiOo suggested, using a NIC cable is a good option. It does not require any devfs.rules. I also have had consistent success using HPJetDirect: socket://ipaddress:9100

As far as print filters, PostScript 3 does not need any pre-processing and should be fastest.
A generic postscript driver should work or you can generate your own following these OpenBSD instructions:
https://openports.pl/path/print/foomatic-db-engine
For cups, all you need is to output the ppd to /usr/local/share/cups/model/
 
Last edited:
Hi,
I used TCP/IP connection. All works perfect. Thanks for help.
Topic marked as "Solved".

Thanks again,
Cheers :)
 
Back
Top