Skip to content

Conversation

@ValdikSS
Copy link
Contributor

Update the backend and PPD to match the make-and-model of the device and show appropriate PPD file right on the top of PPD selection.

image

usb.c has the following description:

`direct usb:/make/model?serial=foo "Make Model" "USB Printer"`

That's why first should go raw Make and Model, and then the user-visible
description with (captusb).
Otherwise it could not be used for PPD model matching.
It seems that CUPS web interface uses only NickName as "make and model"
to match the preferred PPD file, that's why it's crucial to have it
exactly as the USB make and model (partial match from the start is suppored).
@ValdikSS
Copy link
Contributor Author

I also removed the space between model and "(" CAPTBACKEND_NAME "), because otherwise it adds ugly space after the model name, which gets replaced by the underscore.

@darkvision77
Copy link
Owner

Very good, thanks!

@darkvision77 darkvision77 merged commit ec02287 into darkvision77:master Dec 28, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants