Printer over Linux-c6-base binary layer


#1

Hi Support Team,

I managed to get my Samsung ML-2165W working on Trident:
Project Trident Information

OS Version: 18.12-PRERELEASE2
Build Date: 20181219130325

TrueOS Sources Used:

System Specs:
Boot Method: BIOS
AMD FX™-6300 Six-Core Processor
Physical CPUs: 6
Physical Memory: 15.90 GB

GPU Information:
vgapci0@pci0:1:0:0: class=0x030000 card=0x513219da chip=0x0ca310de rev=0xa2 hdr=0x00
vendor = ‘NVIDIA Corporation’
device = ‘GT215 [GeForce GT 240]’
class = display
subclass = VGA

Network Device Information
em0@pci0:7:0:0: class=0x020000 card=0x7044103c chip=0x105e8086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications)’
class = network
subclass = ethernet
em1@pci0:7:0:1: class=0x020000 card=0x7044103c chip=0x105e8086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications)’
class = network
subclass = ethernet
.

I did following thinks to get the Printer working:

Samsung-Ml2165w setup

** needed file:
Downloads/app_linux/Samsung-ML2160/uld_v1/uld/noarch/share/ppd/Samsung_ML-2160_Series.ppd

** copy file:
mkdir ls /usr/local/share/cups/model/samsung/
cp Downloads/app_linux/Samsung-ML2160/uld_v1/uld/noarch/share/ppd/Samsung_ML-2160_Series.ppd /usr/local/share/cups/model/samsung/

** check needed cups-filter:
grep “cupsFilter” Downloads/app_linux/Samsung-ML2160/uld_v1/uld/noarch/share/ppd/Samsung_ML-2160_Series.ppd
*cupsFilter: “application/vnd.cups-raster 0 rastertospl”

** find Downloads/app_linux/Samsung-ML2160/uld_v1/ -name rastertospl
Downloads/app_linux/Samsung-ML2160/uld_v1/uld/x86_64/rastertospl
Downloads/app_linux/Samsung-ML2160/uld_v1/uld/i386/rastertospl

cp Downloads/app_linux/Samsung-ML2160/uld_v1/uld/i386/rastertospl /usr/local/libexec/cups/filter/

** execuate rasterospl bin:
/usr/local/libexec/cups/filter/rastertospl

** install missing dependency
sudo pkg install linux_base-c6-6.10 linux-c6-cups-libs-1.4.2_9 linux-c6-dbus-glib-0.86_4

sudo pkg install cups-2.2.8_1 cups-bjnp-2.0.1 cups-filters-1.21.3 cups-pdf-2.6.1_4

if all requirments meet, fellowing message appears:
INFO: Usage: rastertospl job-id user title copies options [file]
ERROR: Wrong number of arguments

** start required services
sudo service dbus start

** copy vendor lib.so
cp Downloads/app_linux/Driver-Samsung/i386/libsane-smfp.so.1.0.1 /compat/linux/usr/lib
cp Downloads/app_linux/Driver-Samsung/i386/libscmssc.so /compat/linux/usr/lib

** add printer to cups
http://localhost:631/printers
added:
ipp:\<printer.path>
Selected Printer Type Samsung
Selected “/Samsung_ML-2160_Series.ppd” file

** creatinig a print job
open *.txt file
start printing a page


ISSUE: Currently a print job takes random time before the printer begins printing.
I see in my /var/log/cups/error.log following message “printer not responding”.

sample:
Print job started at 9:00 Print begins printing 10:00
in /var/log/cups/error.log

E [30/Dec/2018:09:03:17 +0000] [Job 14] The printer is not responding.
E [30/Dec/2018:09:04:17 +0000] [Job 14] The printer is not responding.
E [30/Dec/2018:09:05:17 +0000] [Job 14] The printer is not responding.
E [30/Dec/2018:09:06:17 +0000] [Job 14] The printer is not responding.

after a hour printer begins printing.

does the Linux binary layer have is own ntp-setup? or is any other missing bits?

After Printing is completed following message remains:

|SEC001599A4F88A-14|Unknown|Withheld|4883k|Unknown|completed at
Sun Dec 30 10:06:24 2018

“The printer is not responding.”

#2

Maybe the network configration is not enough.
Is it correct the ip address of the printer?
Can you get replys of ping from the printer?


#3

I checked the network. Everything looks Fine. I check by ping to and I noticed a delay of 4.0 and 11.0s. That could be definitely a reason.


#4

ICMP delays are too late.
If the printer is connected wireless, you have to try on wired.


#5

thank you. I agree i think that must be problem…