SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

Recent posts

#51
Printing / Re: Unable to print to ML-2545
Last post by Tuxpan.LV - August 15, 2023, 00:34:06
Team,
       So I ended up removing the newer driver, lol, then installed the recommended driver Ver: uld_V1.00.39_01.17.tar.gz. Ran the install.sh with printer disconnected. I also created the symbolic link from i386 folder, rastertospl --> rastertosplc, and placed it into: /usr/lib/cups/filter/ . Once installed, rebooted, and AntiX auto detected it. I read somewhere that sometimes that causes an issue, so I removed the installed printer. Power cycled the printer, and then re-connected to AntiX, and ran printer install, which ran perfectly. At the end of the install, clicked on the "Print Test Page", and it worked!!! I will follow up with posting another log, so that we can compare the difference, or where it was getting hung up on. Thank you all for you help and attention!

Tuxpan.LV
#52
Printing / Re: Unable to print to ML-2545
Last post by Tuxpan.LV - August 14, 2023, 23:29:03
bchemnet,
             Thanks for the response. Here is the Error Log output since reboot I suspect:

[

I [14/Aug/2023:21:22:19 -0700] Expiring subscriptions...
I [14/Aug/2023:21:22:19 -0700] Saving job.cache...
I [14/Aug/2023:21:22:19 -0700] Saving subscriptions.conf...
D [14/Aug/2023:21:22:19 -0700] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [14/Aug/2023:21:22:19 -0700] Removing KeepAlive/PID file "/run/cups/cupsd.pid".
I [14/Aug/2023:21:22:19 -0700] Saving job.cache...
D [14/Aug/2023:21:22:19 -0700] cupsdStopSelect()
I [14/Aug/2023:21:22:19 -0700] Listening to 0.0.0.0:631 (IPv4)
I [14/Aug/2023:21:22:19 -0700] Listening to [v1.::]:631 (IPv6)
I [14/Aug/2023:21:22:19 -0700] Listening to /run/cups/cups.sock (Domain)
I [14/Aug/2023:21:22:19 -0700] Remote access is enabled.
D [14/Aug/2023:21:22:19 -0700] Added auto ServerAlias AntiX945m
I [14/Aug/2023:21:22:19 -0700] Loaded configuration file "/etc/cups/cupsd.conf"
D [14/Aug/2023:21:22:19 -0700] Using keychain "/etc/cups/ssl" for server name "AntiX945m".
I [14/Aug/2023:21:22:19 -0700] Using default TempDir of /var/spool/cups/tmp...
I [14/Aug/2023:21:22:19 -0700] Configured for up to 100 clients.
I [14/Aug/2023:21:22:19 -0700] Allowing up to 100 client connections per host.
I [14/Aug/2023:21:22:19 -0700] Using policy "default" as the default.
I [14/Aug/2023:21:22:19 -0700] Full reload is required.
I [14/Aug/2023:21:22:19 -0700] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 82 types, 119 filters...
D [14/Aug/2023:21:22:19 -0700] Loading printer ML-2540-Series...
D [14/Aug/2023:21:22:19 -0700] load_ppd: Loading /var/cache/cups/ML-2540-Series.data...
D [14/Aug/2023:21:22:19 -0700] cupsdRegisterPrinter(p=0xc87c30(ML-2540-Series))
I [14/Aug/2023:21:22:19 -0700] Loading job cache file "/var/cache/cups/job.cache"...
D [14/Aug/2023:21:22:19 -0700] [Job 296] Loading from cache...
D [14/Aug/2023:21:22:19 -0700] [Job 297] Loading from cache...
D [14/Aug/2023:21:22:19 -0700] [Job 297] Loading attributes...
D [14/Aug/2023:21:22:19 -0700] [Job 297] Unloading...
D [14/Aug/2023:21:22:19 -0700] [Job 298] Loading from cache...
D [14/Aug/2023:21:22:19 -0700] [Job 298] Loading attributes...
D [14/Aug/2023:21:22:19 -0700] [Job 298] Unloading...
D [14/Aug/2023:21:22:19 -0700] cupsdAddSubscription(mask=0, dest=(nil)(), job=(nil)(0), uri="(null)")
D [14/Aug/2023:21:22:19 -0700] cupsdAddSubscription(mask=0, dest=(nil)(), job=(nil)(0), uri="(null)")
D [14/Aug/2023:21:22:19 -0700] cupsdAddSubscription(mask=0, dest=(nil)(), job=(nil)(0), uri="(null)")
D [14/Aug/2023:21:22:19 -0700] cupsdAddSubscription(mask=0, dest=(nil)(), job=(nil)(0), uri="(null)")
I [14/Aug/2023:21:22:19 -0700] Full reload complete.
D [14/Aug/2023:21:22:19 -0700] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [14/Aug/2023:21:22:19 -0700] Cleaning out old files in "/var/spool/cups/tmp".
D [14/Aug/2023:21:22:19 -0700] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [14/Aug/2023:21:22:19 -0700] Cleaning out old files in "/var/cache/cups".
D [14/Aug/2023:21:22:19 -0700] service_checkin: pid=6099
D [14/Aug/2023:21:22:19 -0700] Creating KeepAlive/PID file "/run/cups/cupsd.pid".
D [14/Aug/2023:21:22:19 -0700] Calling FindDeviceById(cups-ML-2540-Series)
D [14/Aug/2023:21:22:19 -0700] FindDeviceById failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [14/Aug/2023:21:22:19 -0700] Using profile ID "ML-2540-Series-Gray..".
D [14/Aug/2023:21:22:19 -0700] Calling CreateProfile(ML-2540-Series-Gray..,temp)
W [14/Aug/2023:21:22:19 -0700] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
I [14/Aug/2023:21:22:19 -0700] Registering ICC color profiles for "ML-2540-Series".
D [14/Aug/2023:21:22:19 -0700] Calling CreateDevice(cups-ML-2540-Series,temp)
W [14/Aug/2023:21:22:19 -0700] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
I [14/Aug/2023:21:22:19 -0700] Listening to 0.0.0.0:631 on fd 6...
I [14/Aug/2023:21:22:19 -0700] Listening to [v1.::]:631 on fd 7...
I [14/Aug/2023:21:22:19 -0700] Listening to /run/cups/cups.sock on fd 8...
I [14/Aug/2023:21:22:19 -0700] Resuming new connection processing...
D [14/Aug/2023:21:22:19 -0700] Avahi server connection now available, registering printers for Bonjour broadcasting.
I [14/Aug/2023:21:22:19 -0700] Defaulting to "DNSSDHostName AntiX945m.local".
D [14/Aug/2023:21:22:19 -0700] Registering "Samsung ML-2540 Series @ AntiX945m" with DNS-SD type "_printer._tcp".
D [14/Aug/2023:21:22:19 -0700] Registering "Samsung ML-2540 Series @ AntiX945m" with DNS-SD type "_ipps._tcp".
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-type=0x1046
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-state=3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" Copies=T
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" TLS=1.2
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" UUID=936e8eb1-5021-3a3f-5703-cc6aecf1d188
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" URF=DM3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" product=(LaserPrinter)
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" priority=0
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" note=AntiX945m
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" adminurl=https://antix945m.local.:631/printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" ty=Samsung ML-2540 Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" rp=printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" qtotal=1
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" txtvers=1
D [14/Aug/2023:21:22:19 -0700] Registering "Samsung ML-2540 Series @ AntiX945m" with DNS-SD type "_ipp._tcp".
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-type=0x1046
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-state=3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" Copies=T
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" TLS=1.2
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" UUID=936e8eb1-5021-3a3f-5703-cc6aecf1d188
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" URF=DM3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" product=(LaserPrinter)
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" priority=0
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" note=AntiX945m
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" adminurl=https://antix945m.local.:631/printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" ty=Samsung ML-2540 Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" rp=printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" qtotal=1
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" txtvers=1
D [14/Aug/2023:21:22:19 -0700] Registering "Samsung ML-2540 Series @ AntiX945m" with DNS-SD type "_printer._tcp".
D [14/Aug/2023:21:22:19 -0700] Registering "Samsung ML-2540 Series @ AntiX945m" with DNS-SD type "_ipps._tcp".
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-type=0x1046
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-state=3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" Copies=T
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" TLS=1.2
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" UUID=936e8eb1-5021-3a3f-5703-cc6aecf1d188
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" URF=DM3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" product=(LaserPrinter)
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" priority=0
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" note=AntiX945m
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" adminurl=https://antix945m.local.:631/printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" ty=Samsung ML-2540 Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" rp=printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" qtotal=1
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" txtvers=1
D [14/Aug/2023:21:22:19 -0700] Registering "Samsung ML-2540 Series @ AntiX945m" with DNS-SD type "_ipp._tcp".
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-type=0x1046
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" printer-state=3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" Copies=T
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" TLS=1.2
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" UUID=936e8eb1-5021-3a3f-5703-cc6aecf1d188
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" URF=DM3
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" product=(LaserPrinter)
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" priority=0
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" note=AntiX945m
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" adminurl=https://antix945m.local.:631/printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" ty=Samsung ML-2540 Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" rp=printers/ML-2540-Series
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" qtotal=1
D [14/Aug/2023:21:22:19 -0700] DNS_SD "Samsung ML-2540 Series @ AntiX945m" txtvers=1
D [14/Aug/2023:21:22:19 -0700] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [14/Aug/2023:21:22:19 -0700] cupsdAddCert: Adding certificate for PID 0
D [14/Aug/2023:21:22:19 -0700] Discarding unused server-started event...
D [14/Aug/2023:21:22:19 -0700] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
I [14/Aug/2023:21:22:20 -0700] Expiring subscriptions...
D [14/Aug/2023:21:22:20 -0700] Report: clients=0
D [14/Aug/2023:21:22:20 -0700] Report: jobs=3
D [14/Aug/2023:21:22:20 -0700] Report: jobs-active=0
D [14/Aug/2023:21:22:20 -0700] Report: printers=1
D [14/Aug/2023:21:22:20 -0700] Report: stringpool-string-count=653
D [14/Aug/2023:21:22:20 -0700] Report: stringpool-alloc-bytes=8704
D [14/Aug/2023:21:22:20 -0700] Report: stringpool-total-bytes=12368


]

Let me know what you make of it-

Tuxpan.LV
#53
Printing / Re: Unable to print to ML-2545
Last post by bchemnet - August 14, 2023, 21:53:36
I suggest trying this (all will require sudo/root):
1. edit in /etc/cups/cupsd.conf to change the "LogLevel" line to "debug" instead of "warn"
2. restart the cups service
3. see what you get in /var/log/cups/error_log after a job that disappears without printing

Then post the error log output, if you cannot make progress yourself from what it says.
#54
Printing / Unable to print to ML-2545
Last post by Tuxpan.LV - August 14, 2023, 04:51:05
Here are my details:

1. Your printer model: Samsung ML-2545
2. Printer is connected to AntiX 22 x386
3. Connected via USB
4. Tried just about every version, but currently using 4.01.17
5. Printer appears to install with now issue, but when attempting to print, I see it get held up on queue. After attempting to release it several time, it just disappears. I have a suspicion it might be permission related. Let me know what other details you want me to post, so that I can add it to the post. Thanks in advance.

Tuxpan.LV
#55
Printing / Re: Howto enable SULD drivers ...
Last post by chivi - August 04, 2023, 17:28:28
Thank you @ellepdesk for amazing solution of problem and @dan for sharing step-by-step guide.
I can say, for those people, for whom splix driver is not going to work (like for me), this guide might become a magic pill. I have Xerox Phaser 3260 printer, and for 2-sided printing support I had to use rastertospl cupsFilter, that splix does not provide at least in arm64 debian package. Likely there is a possibility to tweak Xerox/Samsung PPD file and use pstoqpdl/rastertoqpdl filters shipped with splix, but I don't understand this stuff, so I had to use PPD imposed SPL driver.

What I can add to the previous comment of @dan is only a suggestion to include all arch labels for each distribution into a single line under sources.list - thus you can avoid APT warnings about duplicated sources. Like this (example):

deb [arch=arm64,amd64] https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb [arch=arm64,amd64] https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb [arch=arm64,amd64] https://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb [arch=arm64,amd64] https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb [arch=amd64] https://www.bchemnet.com/suldr/ debian extra

But that's it. Everything else just works!
#56
Scanning / Re: Scanning after printing fa...
Last post by bchemnet - July 06, 2023, 21:46:39
Just a thought: have you tried a different USB cable?  Very occasionally a cable will start to fail and cause connect/disconnect cycles such as this.

Unfortunately I do not have any hardware I can use to provide further insight, but perhaps someone else does and will.
#57
Scanning / Scanning after printing fails ...
Last post by xR3Lc3bv - July 06, 2023, 12:02:59
Scanner is not working anymore after using the printer function on SXC-4200 over USB. Printer requires to be reconnected or rebooted.

Scanning applications using SANE time-out, scanimage:
scanimage: open of device smfp:usb;04e8;341b;serialno. failed: Error during device I/O
Sometimes it works, however the scanner reacts slowly and sometimes needs several retries. The scanning fix, which seems to be reloading the usblp kernel module as is provided by suld-scanner-usblp-fix, is not reliable. Sometimes after minutes, it starts working again.

SCX-4200 firmare 1.13 V1.01.00 QDPL 1.40 11-14-2005
Using Fedora 38 X86_64, uld 1.00.39 from bchemnet.com. scanimage (sane-backends) 1.2.1; backend version 1.2.1 . Tried USB3 and USB2 port, no difference.

Kernel log shows the Samsung is going through several series of removing the device and reconnecting during scanning attempts, sometimes succeeding, most of the times not.

2023-07-06T15:42:48,074502+03:00 usblp0: removed
2023-07-06T15:42:48,090429+03:00 usblp 1-3:1.1: usblp0: USB Bidirectional printer dev 55 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
2023-07-06T15:42:50,295923+03:00 usblp0: removed
2023-07-06T15:42:50,310987+03:00 usblp 1-3:1.1: usblp0: USB Bidirectional printer dev 55 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
2023-07-06T15:42:50,321085+03:00 usblp0: removed

Will try to test older driver versions, different distros, different hardware.

It is unclear if this is a problem with the device itself.

If anyone has any experiences please let us make a solution to share with all of us here.
#58
Printing / Re: Modern CUPS can cause prin...
Last post by bchemnet - April 30, 2023, 21:36:57
Thanks for sharing.  I have added a link on the main pages to this post as an alternative driver option.
#59
Printing / Modern CUPS can cause printer ...
Last post by iam_TJ - April 27, 2023, 02:51:12
This is a warning of a serious issue and a solution I've discovered through many hours digging into the problem. The summary is that CUPS PDF filter drivers use recent versions of the PDF standard (in this case V1.4) but the printer doesn't and therefore certain PDF operation codes can cause the printing to fail - in this case by causing a complete power reset!

I've been using the suld drivers with a Samsung CLX6220FX colour laser multi-function printer since around 2012. Bought originally for infrequent high-quality printing and rarely used over the last three years and sometimes effectively out of service (unconnected) for 12 months or more!.

It used to be operated over the Ethernet network but due to the printer not supporting IPP over IPv6 and my network being IPv6-only I connected it via USB directly to my workstation (although the printer DOES do IPv6 and its administration interface is reachable over it the IPP service isn't bound to the IPv6 port).

This week I had need to print a formal letter. So, using Debian 11 Bullseye LibreOffice Writer I created a two page document and attempted to print it. The document arrives in the printer, the LCD display shows the processing moving progress bar, then at the point the printer starts to warm up its physical components the printer does a power-reset - LCD goes blank, all noise ceases, then there's a relay-click and it powers up, initialises, and returns to normal.

At first I suspected it was caused by my using a specific font, but then after trying with several others, found the same problem. Then I tried printing individual pages, both with and without "images and graphical objects" (turns out out-of-line text frames for addressee, date, etc., are treated (by Writer) as graphical objects). On one occasion when printing single pages from the document in case the entire thing was too complex I was able to get page 1 (of 2!) to print but never able to repeat that success.

I began to think the file being created by CUPS and sent to /var/spool/cups/ might be corrupt so I inspected some using Okular. They appeared correct, so then I opened them in a text editor (vim) and found that they are almost entirely composed of Filter/FlateDecode compressed sections. I put together a small Python program that deflates those sections and confirmed that the resulting PDF instructions looked sane - there was nothing obviously wrong.

I did note that the CUPS document header shows PDF-1.4 as the version. Later, whilst looking for a "debug/error" log in the printer menus (there isn't one) I had it print out its configuration and noticed that it shows it has PDF v1.00.82 support (from 2009).

I deduce that something in the PDF v1.4 output that doesn't exist in PDF v1.0 is causing this power-reset.

Anyhow, to the solution. That configuration report also shows the printer supports:
PCL5E Version PCL5Ce 5.96 11-25-2009
PCLXL Version PCL6 6.49 11-25-2009
PS Version 2.15.00.23.00.26 11-27-2009
PDF Version PDF V1.00.00.82 08-19-2009
and as I'd also used the printer's report menu to print lists of both the PCL (Printer Command Language) and PS (Postscript) fonts it has internally, I wondered if I could edit the printer's PPD (Postscript Printer Description) file to use the internal fonts - this was when I suspected the computer's font was being sent to the printer and causing the issue.

The listing of PCL5/PCLXL had me investigating how to use it instead of the default CUPS PDF output.

There is a package of drivers and printer descriptions by the Open Printing group/community that is called foomatic and includes support for PCLXL colour printing using Generic PCL 6/PCL XL Printer and the recommended driver is pxlcolor.

So I installed these packages with:
sudo apt install --install-suggests foomatic-db
I then used the web-based local host CUPS Administrator user interface to create a copy of the existing Printer.

To do that I first started to Modify the existing printer entry only to get to the Connection URI and copy it. In my case that is Current Connection: usb://samsung/CLX-6220%20Series?serial=Z32BB1CZ200553M&interface=1. Armed with this information I then cancelled the Modify operation and started creating a new printer.

I gave the connection URI and then when asked for the printer manufacturer instead of selecting Samsung selected "Generic" and for the Model selected "Generic PCL 6/PCL XL Printer Foomatic/pxlcolor (recommended)".

I tested initially with the standard CUPS test page and it looks identical to the earlier test page so the graphics, colour, and text output was identical.

Then the big test - send the original document with the preferred font... and it works!

Now I've got this far, and seen the printers internal fonts list, I have set myself a challenge to figure out how to make use of the internal printer fonts. I know in theory it is possible via Font declarations in the PPD but have to figure out how those can be mapped to the computer's fonts so for example, when an application says "use font FancyFont" the printer uses its internal "Candid" .
#60
Printing / Re: Problem with CUPS & Samsun...
Last post by bchemnet - February 18, 2023, 16:19:24
Whichever driver version you are using, I first recommend trying a different one.  This printer is supported by a wide range of options, and that may solve the problem.

If not, this sounds like an issue with CUPS.  The latest versions of CUPS are much slower under some circumstances and with some printers (brand-independent), but I have not worked out when or why.
Repository Information Legal Contact Alternative Drivers