Print via Brother BR-Script3 PostScript instead of the vendor driver
The HL-4150CDN emulates PostScript 3, so CUPS converts client documents to PostScript and forwards them to socket://<ip>:9100. The official BR-Script3 PPD turns device options (tray, duplex, colour, media type, toner save, ...) into setpagedevice instructions. This drops the i386 multiarch runtime and the broken Brother vendor filter chain, and removes the unused Brother Linux packages from the repo.
This commit is contained in:
1 parent
6f3162849b
commit
30c685e085
22 files changed
+1070
-273
No files matched your search
@@ -0,0 +1,41 @@
|
||||
# BR-Script3 PPD — Brother HL-4150CDN
|
||||
|
||||
`BR4150_2.PPD` is Brother's official **BR-Script3** (PostScript 3) PPD for the
|
||||
HL-4150CDN.
|
||||
|
||||
## Provenance
|
||||
|
||||
Extracted from the vendor Windows driver in `../Windows/`:
|
||||
|
||||
```
|
||||
Y10B_C1-ps-win8-64-103-en.EXE (ZIP self-extracting archive)
|
||||
└── eng/BR4150_2.PPD
|
||||
```
|
||||
|
||||
```sh
|
||||
unzip -j "Y10B_C1-ps-win8-64-103-en.EXE" "eng/BR4150_2.PPD"
|
||||
```
|
||||
|
||||
The archive also contains PPDs for the related BR4140 and BR4570 models; only
|
||||
the HL-4150CDN PPD is used here. Line endings were normalised from CRLF to LF.
|
||||
|
||||
## Why this file
|
||||
|
||||
The HL-4150CDN emulates PCL6 and BR-Script3 (PostScript 3). This PPD encodes
|
||||
every device setting as PostScript `setpagedevice`, for example:
|
||||
|
||||
| PPD option | Emitted PostScript |
|
||||
| --- | --- |
|
||||
| `InputSlot Tray2` | `<</ManualFeed false /BRTraysw false /BRFeeder 1>> setpagedevice` |
|
||||
| `InputSlot MPTray` | `<</ManualFeed false /BRTraysw false /BRFeeder 4>> setpagedevice` |
|
||||
| `Duplex DuplexNoTumble` | `<</Duplex true /Tumble false>>setpagedevice` |
|
||||
| `BRPrintQuality Black` | `<</BRProcessColor 1>>… <</BRRenderMode true>>setpagedevice` |
|
||||
| `BRColorMode Normal` | `<</UseCIEColor true>>… <</BRColorMode 0>>setpagedevice` |
|
||||
| `BRMediaType Recycled` | `<</MediaType (RECYCLED)>>setpagedevice` |
|
||||
|
||||
CUPS's `pstops` filter injects the selected option code, and the PPD's
|
||||
`*JCLBegin` / `*JCLToPSInterpreter` / `*JCLEnd` entries wrap the job in PJL.
|
||||
|
||||
This lets the HL-4150CDN be driven with a plain PostScript queue, so the
|
||||
container does **not** need Brother's 32-bit Linux CUPS wrapper/filter
|
||||
(`brlpdwrapperhl4150cdn`) or its Ghostscript rasterisation step.
|
||||
Reference in new issue
Block a user