pyppd 1.1.1 #6
tillkamppeter
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug fix release, to make compressing PPD files vastly faster, avoid weird "*Product" entries in PPD files, and to not use wrong model names for Brother BR-Script printers.
Bytes type is very inefficient for append/concatenation and involves copying the entire data. This one-line fix speeds up foomatic-db compression from ~20 minutes to 10 seconds (Pull request Replace bytes with bytearray for massive speed up #5).
Use the "*Product" entry for the model name.
When creating the PPD index and there is a PPD with only one, single "*Product" line, use the model name of this line only if the PPD has no "*1284DeviceID" and no "*ModelName", as a single "*Product" entry usually either repeats "*1284DeviceID" and/or "*ModelName" or contains something weird.
This discussion was created from the release pyppd 1.1.1.
Beta Was this translation helpful? Give feedback.
All reactions