I have Samsung(acquired by HP) SL-C410W printer which works fine besides vendors try to force my to new one by not providing drivers to new operating systems anymore.
I'm trying to ran it on M1 Mac but the OS (Sequoia) / vendor drivers doesn't like themself.
Although I have old MacBook Pro 2011 which had those drivers installed in past. The old one thanks to **OpenCore Legacy Patcher** is running OSX Sonoma and the old printer drivers **work fine** with my printer. I realised although that if I need reinstall get rid of this computer I will loose the only path to still use my printer.
So instead of using installer I attempt to use PPD filles from the old computer. I've copied over those:
├── Library
│ └── Printers
│ ├── PPDs
│ │ └── Contents
│ │ └── Resources
│ │ └── Samsung C410 Series.gz
│ └── Samsung
│ ├── C410
│ │ └── Images
│ │ ├── itdrvM1.png
│ │ ├── itdrvM2.png
│ │ └── itdrvM3.png
│ ├── Filters
│ │ ├── commandtosec
│ │ ├── prefilter
│ │ ├── pstosecps
│ │ ├── rastertosec
│ │ ├── rastertosec2
│ │ └── statusDesc.plist
│ └── Icons
│ ├── C410.icns
│ ├── C460.icns
│ ├── CLP-310.icns
│ ├── CLP-320.icns
│ ├── CLP-350.icns
│ ├── CLP-360.icns
│ ├── CLP-410.icns
│ ├── CLP-610.icns
│ ├── CLP-620.icns
│ ├── CLP-660.icns
│ ├── CLP-670.icns
│ ├── CLP-680.icns
│ ├── CLP-770.icns
│ ├── CLP-775.icns
│ ├── CLX-216x.icns
│ ├── CLX-3170.icns
│ ├── CLX-3180.icns
│ ├── CLX-3300.icns
│ ├── CLX-4190.icns
│ ├── CLX-6200.icns
│ ├── CLX-6220.icns
│ ├── CLX-6240.icns
│ ├── CLX-6250.icns
│ ├── CLX-6260.icns
│ ├── CLX-8380.icns
│ ├── CLX-8385.icns
│ ├── CLX-8385X.icns
│ ├── CLX-8540.icns
│ ├── CLX-8540X.icns
│ ├── CLX-8640_8650.icns
│ ├── CLX-9250_9350.icns
│ ├── CLX-92x1_93x1.icns
│ ├── M2020.icns
│ ├── M2070.icns
│ ├── M262x_282x.icns
│ ├── M267x_287x.icns
│ ├── M332x_382x_402x.icns
│ ├── M337x_387x_407x.icns
│ ├── MFP65x.icns
│ ├── ML-1630.icns
│ ├── ML-1630W.icns
│ ├── ML-1640.icns
│ ├── ML-1660.icns
│ ├── ML-1860.icns
│ ├── ML-1865W.icns
│ ├── ML-191x 252x.icns
│ ├── ML-2160.icns
│ ├── ML-2240.icns
│ ├── ML-2245.icns
│ ├── ML-2525W.icns
│ ├── ML-2540.icns
│ ├── ML-2580.icns
│ ├── ML-2850.icns
│ ├── ML-2855.icns
│ ├── ML-2950.icns
│ ├── ML-331x.icns
│ ├── ML-3470.icns
│ ├── ML-371x.icns
│ ├── ML-4050.icns
│ ├── ML-451x_501x.icns
│ ├── ML-551x_651x.icns
│ ├── SCX-3200.icns
│ ├── SCX-3400.icns
│ ├── SCX-4500.icns
│ ├── SCX-4500W.icns
│ ├── SCX-4600.icns
│ ├── SCX-4623.icns
│ ├── SCX-4623FW.icns
│ ├── SCX-4650_4x21S.icns
│ ├── SCX-470x.icns
│ ├── SCX-472x.icns
│ ├── SCX-483x_5x3x.icns
│ ├── SCX-4x24.icns
│ ├── SCX-4x28.icns
│ ├── SCX-5635.icns
│ ├── SCX-5835_5935.icns
│ ├── SCX-5835_5935X.icns
│ ├── SCX-6545X.icns
│ ├── SCX-6x55.icns
│ ├── SCX-6x55X.icns
│ ├── SCX-8030_8040.icns
│ ├── SCX-8123_8128.icns
│ └── SF-760.icns
and per ChatGPT those:
└── usr
└── libexec
└── cups
├── apple
│ ├── http -> ipp
│ ├── https -> ipp
│ └── ipps -> ipp
├── backend
│ ├── bluetooth
│ ├── epsonfax -> /Library/Printers/EPSON/Fax/FaxIOSupport/epsonfax.app/Contents/MacOS/epsonfax
│ ├── epsonfirewire
│ ├── http -> ipp
│ ├── https -> ipp
│ ├── ipps -> ipp
│ ├── ippusb -> dnssd
│ ├── mdns -> dnssd
│ ├── riousbprint
│ ├── snmp
│ ├── socket
│ └── usb
├── cgi-bin
│ ├── admin.cgi
│ ├── classes.cgi
│ ├── help.cgi
│ ├── jobs.cgi
│ └── printers.cgi
├── command
│ ├── ippevepcl
│ └── ippeveps
├── daemon
│ ├── cups-deviced
│ ├── cups-driverd
│ └── cups-exec
├── driver
├── filter
│ ├── cgbannertopdf
│ ├── cgimagetopdf
│ ├── cgpdftopdf
│ ├── cgpdftops
│ ├── cgpdftoraster
│ ├── cgtexttopdf
│ ├── commandtops
│ ├── gziptoany
│ ├── pstoappleps
│ ├── pstops
│ ├── rastertoepson
│ ├── rastertohp
│ ├── rastertolabel
│ ├── rastertopwg
│ ├── rastertotiff
│ └── rastertourf
├── monitor
│ ├── bcp
│ └── tbcp
└── notifier
├── mailto
└── rss
Then copied into as is the first part
/Library/Printers/
to M1 Mac.
Then launched new printer dialog, if detected everything Plug&play, printer seems to be installed. But then when I attempt to print something it says 'Filter' error. Even when printing test page.
Then sudo cat /var/log/cups/error_log
:
PID 54343 (/usr/libexec/cups/filter/cgbannertopdf) exited with no errors.
[...]
PID 54344 (/Library/Printers/Samsung/Filters/prefilter) exited with no errors
[...]
PID 54344 (/Library/Printers/Samsung/Filters/prefilter) exited with no errors.
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster version:2024.0 isURF=NO
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: \"/private/var/spool/cups/tmp/0d44967b4ddea\" has 1 pages.
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: opened PPD file \"/private/etc/cups/ppd/Samsung_C410_Series__SEC30CDA72EFE04_.ppd\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: PreferredRotation = 90
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsPageSize=[595 842], cupsImagingBBox=[12.5 12.5 582.5 829.5]
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: width=595, length=842, top=12.5, bottom=12.5, left=12.5, right=12.5
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsWidth=4750, cupsHeight=6808
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: languageLevel = 3, mediaBox.size.width = 595, mediaBox.size.height = 842
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: colorspace = 1, bitsPerColor = 8
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: skipBytesPerRow = 8
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: band width = 4750, bytesPerRow = 19008, band height = 6808, height = 6808
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: context width = 4750, height = 6808, bitsPerComponent = 8, bitsPerPixel = 32, bytesPerRow = 19008, bitmapInfo = 5, resolution = (600.000000, 600.000000)
D [11/Feb/2025:11:27:50 +0100] [Job 19] HWResolution = [ 600 600 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] ImagingBoundingBox = [ 12 12 582 829 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] Margins = [ 12 12 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] PageSize = [ 595 842 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsWidth = 4750
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsHeight = 6808
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsBitsPerColor = 8
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsBitsPerPixel = 24
D [11/Feb/2025:11:27:50 +0100] [Job 19] cupsBytesPerLine = 14250
D [11/Feb/2025:11:27:50 +0100] [Job 19] band = {0, 0; 595, 816.96}
D [11/Feb/2025:11:27:50 +0100] [Job 19] Erasing band to white...
D [11/Feb/2025:11:27:50 +0100] [Job 19] EraseContext [0 0 4750 13616]
D [11/Feb/2025:11:27:50 +0100] [Job 19] PID 54346 (/Library/Printers/Samsung/Filters/rastertosec2) stopped with status 1.
D [11/Feb/2025:11:27:50 +0100] [Job 19] Hint: Try setting the LogLevel to "debug" to find out more.
D [11/Feb/2025:11:27:50 +0100] [Job 19] displayList=0x0
D [11/Feb/2025:11:27:50 +0100] [Job 19] drawSheet(c=0x600001bf00c0, document=0x6000011ec000, pageNum=1, mediaBox=[0 0 595 842], band=[0 0 595 816.96], nup=0x0, pageMap=0x0, fitToPage=1, preTransformP=0x0, rotation=0)
D [11/Feb/2025:11:27:50 +0100] [Job 19] Drawing scaled page.
D [11/Feb/2025:11:27:50 +0100] [Job 19] destination_rect [ 0 0 595 842 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] large_margins=0, cropBox [0 0 595 842]
D [11/Feb/2025:11:27:50 +0100] [Job 19] Scaling PDF to fit, ForceScalingUp=0, rotation=0
D [11/Feb/2025:11:27:50 +0100] [Job 19] Page transform [ 1 0 0 1 0 0 ]
D [11/Feb/2025:11:27:50 +0100] [Job 19] Resolving \"Samsung C410 Series (SEC30CDA72EFE04)._printer._tcp.local.\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] STATE: +connecting-to-device
D [11/Feb/2025:11:27:50 +0100] [Job 19] Resolving \"Samsung C410 Series (SEC30CDA72EFE04)\", regtype=\"_printer._tcp\", domain=\"local.\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] Szukam drukarki.
D [11/Feb/2025:11:27:50 +0100] [Job 19] Resolved as \"lpd://Samsung-SL-C410.local.:515/auto\"...
D [11/Feb/2025:11:27:50 +0100] [Job 19] STATE: -connecting-to-device,offline-report
D [11/Feb/2025:11:27:50 +0100] [Job 19] getNetworkPrinterStatusWithAddress : Network connection fails
D [11/Feb/2025:11:27:50 +0100] [Job 19] getDeviceStatusInfoWithURI : Connection Fail
D [11/Feb/2025:11:27:50 +0100] [Job 19] STATE: +com.Samsung.General-report
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: rasterWriteData: (null)
D [11/Feb/2025:11:27:50 +0100] [Job 19] cgpdftoraster: bytes written for side 1 = 97014000, err = 5
D [11/Feb/2025:11:27:50 +0100] [Job 19] PID 54347 (/usr/libexec/cups/backend/dnssd) exited with no errors.
D [11/Feb/2025:11:27:50 +0100] [Job 19] PID 54345 (/usr/libexec/cups/filter/cgpdftoraster) exited with no errors.
D [11/Feb/2025:11:27:50 +0100] [Job 19] End of messages
D [11/Feb/2025:11:27:50 +0100] [Job 19] printer-state=3(idle)
D [11/Feb/2025:11:27:50 +0100] [Job 19] printer-state-message="Szukam drukarki."
The string 'Szukam drukarki' is localized'Looking for printer' . Although it seems to resolve printer IP correctly via Bonjour, IPP and LPD. Not sure if this is indeed something network related or to the filter. It could be some permissions related to filter files but I'm not sure about correct ones - during copy I've destroyed printing capability on the old Intel Mac also by mistakenly doing some chown
/chmod
in wrong place. It's Printing Utility even says that there is permission error and proposes to fix it but nothing is fixed after the attempt, it strikes back while after.
Regarding /usr/libexec
part I didn't copied it into Apple Silicon OS as it doesn't seem to contain anything Samsung specific and I'm afraid Intel vs ARM binaries could get be into trouble works fine.
The file:
/Library/Printers/Samsung/Filters/rastertosec2
is multiarch x86/x64 however it runs fine with Rosetta2 on M1:
/Library/Printers/Samsung/Filters/rastertosec2
ERROR: rastertopcl job-id user title copies options [file]
Per ChatGPT suggestion I've attempted to feed it with some test file but having trouble generating the test raster file and command:
gs -q -dNOPAUSE -dBATCH -sDEVICE=cups -sOutputFile=test.raster test.pdf
Unknown device: cups
or:
cupsfilter -m application/vnd.cups-raster test.pdf > test.raster
[...]
DEBUG: envp="CHARSET=utf-8"
DEBUG: envp="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
INFO: cgpdftoraster (PID 9538) started.
DEBUG: Message catalog filename is "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/pl.lproj/cgpdftoraster.strings".
DEBUG: cgpdftoraster version:2024.0 isURF=NO
DEBUG: cgpdftoraster: "test.pdf" has 23 pages.
DEBUG: cgpdftoraster: opened PPD file "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/Generic.ppd"...
DEBUG: cgpdftoraster: PreferredRotation = -90
ERROR: 'cupsRasterInterpretPPD' had an error = Unknown operator "dict".
Stack not empty: [ 1 --dict--
.
ERROR: cgpdftoraster (PID 9538) stopped with status 2
Asked by nusch
(76 rep)
Feb 11, 2025, 11:07 AM
Last activity: Mar 13, 2025, 08:01 PM
Last activity: Mar 13, 2025, 08:01 PM