LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-04-2017, 08:34 AM   #1
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 44

Rep: Reputation: 17
Installing Samsung printer in Solus Linux


I'm trying to install a Samsung SCX-3400 printer connected via USB to a Lenovo Thinkpad. I've used a ppd file from the installation CD, then a rastertospl file it was asking for, but now I keep getting the error message that this rastertospl file is insecure, i.e. the permissions are not right. Can anyone tell me how to fix this? I've tried changing permissions in the /usr/cups/filter/ directory with sudo chmod 755 in a terminal and changing the group to root, but no good. Here is the output of the debugging file:

Page 1 (<troubleshoot.SchedulerNotRunning.SchedulerNotRunning object at 0x7f98e8eeadd8>):
{'cups_connection_failure': False}
Page 2 (<troubleshoot.ChoosePrinter.ChoosePrinter object at 0x7f98c509ea90>):
{'cups_dest': <cups.Dest SCX-3400 (default)>,
'cups_instance': None,
'cups_queue': 'SCX-3400',
'cups_queue_listed': True}
Page 3 (<troubleshoot.CheckPrinterSanity.CheckPrinterSanity object at 0x7f98c50b5748>):
{'cups_device_uri_scheme': 'usb',
'cups_printer_dict': {'device-uri': 'usb://Samsung/SCX-3400%20Series',
'printer-info': 'Samsung SCX-3400 Series',
'printer-is-shared': True,
'printer-location': '',
'printer-make-and-model': 'Samsung SCX-3400 Series',
'printer-state': 3,
'printer-state-message': 'File '
'"/usr/lib/cups/filter/rastertospl" '
'has insecure permissions '
'(0100755/uid=1000/gid=1000).',
'printer-state-reasons': ['cups-insecure-filter-warning'],
'printer-type': 135236,
'printer-uri-supported': 'ipp://localhost/printers/SCX-3400'},
'cups_printer_remote': False,
'is_cups_class': False,
'local_cups_queue_attributes': {'charset-configured': 'utf-8',
'charset-supported': ['us-ascii', 'utf-8'],
'color-supported': False,
'compression-supported': ['none', 'gzip'],
'copies-default': 1,
'copies-supported': (1, 9999),
'cups-version': '2.1.0',
'device-uri': 'usb://Samsung/SCX-3400%20Series',
'document-format-default': 'application/octet-stream',
'document-format-supported': ['application/octet-stream',
'application/pdf',
'application/postscript',
'application/vnd.adobe-reader-postscript',
'application/vnd.cups-pdf',
'application/vnd.cups-pdf-banner',
'application/vnd.cups-postscript',
'application/vnd.cups-raster',
'application/vnd.cups-raw',
'application/x-cshell',
'application/x-csource',
'application/x-perl',
'application/x-shell',
'image/gif',
'image/jpeg',
'image/png',
'image/pwg-raster',
'image/tiff',
'image/urf',
'image/x-bitmap',
'image/x-photocd',
'image/x-portable-anymap',
'image/x-portable-bitmap',
'image/x-portable-graymap',
'image/x-portable-pixmap',
'image/x-sgi-rgb',
'image/x-sun-raster',
'image/x-xbitmap',
'image/x-xpixmap',
'image/x-xwindowdump',
'text/css',
'text/html',
'text/plain'],
'finishings-default': 3,
'finishings-supported': [3],
'generated-natural-language-supported': ['en-us'],
'ipp-features-supported': ['subscription-object'],
'ipp-versions-supported': ['1.0',
'1.1',
'2.0',
'2.1'],
'ippget-event-life': 15,
'job-cancel-after-default': 10800,
'job-cancel-after-supported': (0, 2147483647),
'job-creation-attributes-supported': ['copies',
'finishings',
'ipp-attribute-fidelity',
'job-hold-until',
'job-name',
'job-priority',
'job-sheets',
'media',
'media-col',
'multiple-document-handling',
'number-up',
'output-bin',
'orientation-requested',
'page-ranges',
'print-color-mode',
'print-quality',
'printer-resolution',
'sides'],
'job-hold-until-default': 'no-hold',
'job-hold-until-supported': ['no-hold',
'indefinite',
'day-time',
'evening',
'night',
'second-shift',
'third-shift',
'weekend'],
'job-ids-supported': True,
'job-k-limit': 0,
'job-k-octets-supported': (0, 40438120),
'job-page-limit': 0,
'job-priority-default': 50,
'job-priority-supported': [100],
'job-quota-period': 0,
'job-settable-attributes-supported': ['copies',
'finishings',
'job-hold-until',
'job-name',
'job-priority',
'media',
'media-col',
'multiple-document-handling',
'number-up',
'output-bin',
'orientation-requested',
'page-ranges',
'print-color-mode',
'print-quality',
'printer-resolution',
'sides'],
'job-sheets-default': ('none', 'none'),
'job-sheets-supported': ['none',
'classified',
'confidential',
'form',
'secret',
'standard',
'topsecret',
'unclassified'],
'jpeg-k-octets-supported': (0, 40438120),
'jpeg-x-dimension-supported': (0, 65535),
'jpeg-y-dimension-supported': (1, 65535),
'marker-change-time': 0,
'media-bottom-margin-supported': [441],
'media-col-default': '(unknown IPP value tag '
'0x34)',
'media-col-supported': ['media-bottom-margin',
'media-left-margin',
'media-right-margin',
'media-size',
'media-source',
'media-top-margin',
'media-type'],
'media-default': 'na_letter_8.5x11in',
'media-left-margin-supported': [441],
'media-right-margin-supported': [441],
'media-size-supported': ['(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)',
'(unknown IPP value '
'tag 0x34)'],
'media-source-supported': ['auto', 'manual'],
'media-supported': ['na_letter_8.5x11in',
'na_legal_8.5x14in',
'iso_a4_210x297mm',
'na_executive_7.25x10.5in',
'om_folio_210x330mm',
'om_jb-5_182.03x257.18mm',
'om_b-5-iso_176.04x250.12mm',
'iso_a5_148x210mm',
'om_com-10_104.78x241.3mm',
'om_monarch_98.43x190.5mm',
'om_dl_110.07x220.13mm',
'om_c-5_161.93x228.95mm',
'oe_oficio-s_8.5x13.5in',
'oe_pcard-4x-6_4x6in'],
'media-top-margin-supported': [441],
'media-type-supported': ['none',
'stationery',
'thick',
'thin',
'bond',
'color',
'cardstock',
'labels',
'stationery-preprinted',
'cotton',
'archive',
'stationery-recycled',
'envelope'],
'multiple-document-handling-supported': ['separate-documents-uncollated-copies',
'separate-documents-collated-copies'],
'multiple-document-jobs-supported': True,
'multiple-operation-time-out': 300,
'multiple-operation-time-out-action': 'process-job',
'natural-language-configured': 'en-us',
'notify-attributes-supported': ['printer-state-change-time',
'notify-lease-expiration-time',
'notify-subscriber-user-name'],
'notify-events-default': ['job-completed'],
'notify-events-supported': ['job-completed',
'job-config-changed',
'job-created',
'job-progress',
'job-state-changed',
'job-stopped',
'printer-added',
'printer-changed',
'printer-config-changed',
'printer-deleted',
'printer-finishings-changed',
'printer-media-changed',
'printer-modified',
'printer-restarted',
'printer-shutdown',
'printer-state-changed',
'printer-stopped',
'server-audit',
'server-restarted',
'server-started',
'server-stopped'],
'notify-lease-duration-default': 86400,
'notify-lease-duration-supported': (0,
2147483647),
'notify-max-events-supported': [100],
'notify-pull-method-supported': ['ippget'],
'notify-schemes-supported': ['dbus',
'mailto',
'rss'],
'number-up-default': 1,
'number-up-supported': [1, 2, 4, 6, 9, 16],
'operations-supported': [2,
4,
5,
6,
8,
9,
10,
11,
12,
13,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
34,
35,
37,
38,
56,
57,
59,
16385,
16386,
16387,
16388,
16389,
16390,
16391,
16392,
16393,
16394,
16395,
16396,
16397,
16398,
16399,
16423,
14],
'orientation-requested-default': None,
'orientation-requested-supported': [3,
4,
5,
6],
'output-bin-default': 'face-down',
'output-bin-supported': ['face-down'],
'page-ranges-supported': True,
'pages-per-minute': 8,
'pdf-k-octets-supported': (0, 40438120),
'pdf-versions-supported': ['adobe-1.2',
'adobe-1.3',
'adobe-1.4',
'adobe-1.5',
'adobe-1.6',
'adobe-1.7',
'iso-19005-1_2005',
'iso-32000-1_2008',
'pwg-5102.3'],
'pdl-override-supported': ['attempted'],
'port-monitor': 'none',
'port-monitor-supported': ['none'],
'print-color-mode-default': 'monochrome',
'print-color-mode-supported': ['monochrome'],
'print-quality-default': 4,
'print-quality-supported': [4],
'printer-commands': 'none',
'printer-config-change-date-time': '(IPP_TAG_DATE)',
'printer-config-change-time': 1487873349,
'printer-current-time': '(IPP_TAG_DATE)',
'printer-dns-sd-name': None,
'printer-error-policy': 'stop-printer',
'printer-error-policy-supported': ['abort-job',
'retry-current-job',
'retry-job',
'stop-printer'],
'printer-geo-location': '(unknown IPP value '
'tag 0x12)',
'printer-get-attributes-supported': ['document-format'],
'printer-icons': 'http://localhost/icons/SCX-3400.png',
'printer-info': 'Samsung SCX-3400 Series',
'printer-is-accepting-jobs': True,
'printer-is-shared': True,
'printer-location': '',
'printer-make-and-model': 'Samsung SCX-3400 '
'Series',
'printer-more-info': 'http://localhost/printers/SCX-3400',
'printer-name': 'SCX-3400',
'printer-op-policy': 'default',
'printer-op-policy-supported': ['authenticated',
'default'],
'printer-organization': '',
'printer-organizational-unit': '',
'printer-resolution-default': (600, 600, 3),
'printer-resolution-supported': [(600,
600,
3)],
'printer-settable-attributes-supported': ['printer-geo-location',
'printer-info',
'printer-location',
'printer-organization',
'printer-organizational-unit'],
'printer-state': 3,
'printer-state-change-date-time': '(IPP_TAG_DATE)',
'printer-state-change-time': 1487873357,
'printer-state-message': 'File '
'"/usr/lib/cups/filter/rastertospl" '
'has insecure '
'permissions '
'(0100755/uid=1000/gid=1000).',
'printer-state-reasons': ['cups-insecure-filter-warning'],
'printer-type': 135236,
'printer-up-time': 1487873368,
'printer-uri-supported': ['ipp://localhost/printers/SCX-3400'],
'printer-uuid': 'urn:uuid:1fa9fd5c-e111-36e0-4358-5baab038cdff',
'queued-job-count': 1,
'server-is-sharing-printers': True,
'sides-default': 'one-sided',
'sides-supported': ['one-sided'],
'uri-authentication-supported': ['requesting-user-name'],
'uri-security-supported': ['none'],
'which-jobs-supported': ['completed',
'not-completed',
'aborted',
'all',
'canceled',
'pending',
'pending-held',
'processing',
'processing-stopped']}}
Page 4 (<troubleshoot.CheckPPDSanity.CheckPPDSanity object at 0x7f98c50abc18>):
{'cups_printer_ppd_defaults': {'General': {'ColorModel': 'Gray',
'EdgeControl': 'Fine',
'InputSlot': 'Auto',
'PageRegion': 'Letter',
'PageSize': 'Letter',
'Quality': '600dpi',
'TonerSaveMode': 'Standard'},
'JCL': {'JCLDarkness': 'NORMAL',
'JCLSkipBlankPages': 'False',
'MediaType': 'None'}},
'cups_printer_ppd_valid': True,
'missing_pkgs_and_exes': ([], [])}
Page 5 (<troubleshoot.LocalOrRemote.LocalOrRemote object at 0x7f98c50abf28>):
{'printer_is_remote': False}
Page 6 (<troubleshoot.DeviceListed.DeviceListed object at 0x7f98c50ab470>):
{'cups_device_dict': {'device-class': 'direct',
'device-id': 'MFG:Samsung;CMD:SPL,URF,FAX,FWV,PIC,DCU,EXT;MDL:SCX-3400 '
'Series;CLS:PRINTER;MODE:FAX3,SCN,SPL3,R000105;STATUS:BUSY;',
'device-info': 'Samsung SCX-3400 Series',
'device-make-and-model': 'Samsung SCX-3400 Series'}}
Page 7 (<troubleshoot.PrinterStateReasons.PrinterStateReasons object at 0x7f98c4f90be0>):
{'printer-state-message': 'File "/usr/lib/cups/filter/rastertospl" has '
'insecure permissions (0100755/uid=1000/gid=1000).',
'printer-state-reasons': ['cups-insecure-filter-warning']}
Page 8 (<troubleshoot.Locale.Locale object at 0x7f98c50037f0>):
{'printer_page_size': 'Letter',
'system_locale_lang': 'en_US',
'user_locale_ctype': 'en_US',
'user_locale_messages': 'en_US'}
_________________________________________________
---end----
Thank you to anyone who can help me!
--revbish
 
Old 03-04-2017, 11:30 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I set up my Samsung with the Samsung Unified Driver:
http://www.samsungsetup.com/ts/manua...l/BABBIBJC.htm

I think your distro is compatible with Ubuntu? If so, this site has a .deb package
http://www.bchemnet.com/suldr/
 
Old 03-15-2017, 05:25 PM   #3
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 44

Original Poster
Rep: Reputation: 17
I've already installed this very same driver, since the package works with this printer, but as I tried to communicate, it doesn't seem to be a driver problem, it's just a problem of permissions. However, I haven't been successful in changing the permissions in any of the usual ways with which I am familiar.
And if I remember correctly, this distro is independent, built from scratch, and not based on anything else.
 
Old 03-15-2017, 05:32 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Check
Code:
ls -l /usr/lib/cups/filter/rastertospl
and make sure the file is root-owned...
Code:
-rwxr-xr-x 1 root root   37112 Mar 14 03:02 /usr/lib/cups/filter/rastertospl
 
Old 03-15-2017, 05:39 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Change to user and group ownership to root like this...
Code:
chown root:root /usr/lib/cups/filter/rastertospl
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samsung M2070FW printer driver in Linux Mint 17 MikRose Linux Mint 4 01-25-2015 01:32 PM
[SOLVED] Samsung SCX-4729FW multifunction printer under linux joe_2000 Linux - Hardware 4 04-01-2014 04:13 PM
ADSL problem after installing SAMSUNG printer iqbala Linux - Hardware 1 07-09-2010 01:16 PM
installing a samsung ML-1510 laser printer on linux montevince Linux - Hardware 1 09-19-2005 05:59 PM
Help Installing Samsung ML-1740 Printer newbie21078 Linux - Newbie 4 03-02-2005 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration