System is slow, expecially with printing

I have a Lexmark CX317dn printer connected by USB that used to print almost anything in the blink of an eye. Since upgrading to Ubuntu 22.04 the printer has slowed to a snail’s pace. A single page PDF file with no graphics takes a couple of minutes to print. A two page email file (Thunderbird) took nearly 5 minutes. A simple one line text file took 60 seconds to print.

I have also noticed that Firefox taxes about two minutes to stabilize after starting up. (Chrome starts up much faster, but is still slower than before)

I am running Ubuntu 22.04.6 on an intel I7-9700K with 32GB RAM. I have a 500GB SSD for my system files and a 2TB HD for my home directory. I have performed all of the updates and my system, inlcuding the Lexmark drivers) is current.

Any help solving this problem would be greatly appreciated.

Have you updated UEFI firmware & SSD firmware to latest available?
Compare to vendors support site
sudo dmidecode -s bios-version
udisksctl status

Post this for your system, I use Kubuntu and no snaps on i5-6500 from 2017:

fred@z170-noble:~$ systemd-analyze
Startup finished in 4.281s (kernel) + 4.133s (userspace) = 8.414s
graphical.target reached after 4.120s in userspace.

Then this Only need to post top 5 items or so and start reviewing what may be slow:

systemd-analyze blame

Which are you using? Not sure when ipp-usb became standard.
ippusbxd is decidedly sub-optimal. Even its author would support your removing it from your system.
It has been replaced by ipp-usb in later editions of Ubuntu.
ippfind

I only know to reinstall ipp-usb, just in case not installed. My 24.04 says newest installed.
sudo apt purge ippusbxd
sudo apt install ipp-usb sane-airscan

Response to systemd-analyze:
Startup finished in 15.794s (firmware) + 12.869s (loader) + 5.894s (kernel) + 1min 41.299s (userspace) = 2min 15.857s
graphical.target reached after 1min 41.280s in userspace

Response to systemd-analyze blame:
1min 30.059s nmbd.service
21.694s plymouth-quit-wait.service
7.572s NetworkManager-wait-online.service
2.216s snapd.seeded.service
2.064s snapd.service
1.728s dev-sda5.device
1.565s systemd-journal-flush.service
1.539s systemd-udevd.service
1.519s fwupd-refresh.service
1.432s fwupd.service
1.260s apt-daily.service
1.215s vboxdrv.service

ipp-usb installed, ippusbxd not installed.

The samba service is taking a long time, but shouldn’t affect a USB printer. I use the samba service, so I don’t want to remove it.

Do not know what else to suggest on printer.
Do you have any log files with more info?

On Samba a minute and half is a typical systemd timeout. So do you have some device Samba is looking for, but not on/available?

Possibly. My network drive dies if ever there’s a power hiccough (I have to replace the UPS) and right now, my server is down.

This is interesting: I have a virtual system running (yes, it’s true) Windows XP. Printing a Word document from Windows virtual system is almost instantaneous and printing a pdf file from Windows takes about 10 seconds.