[cups] editing PPD for Brother HL-2270DW

Daniel Lamb daniel at dwlamb.com
Sun May 18 08:24:54 PDT 2014


Thank you, Helge, for your response.

To anyone else out there, to add this paper size to this printer definition, is it a matter of modifying the script within brhl2270dwcups_src-2.0.4-2.tar.gz?

On 14-05-18 04:33 AM, Helge Blischke wrote:
> Modifying the PPD is not sufficient for this printer (and probably all
> Brother printers). Operating this printer requires a special proprietary
> filter named brlpdwrapperHL2270DW which - among other things -
> translates the media size keywords
> from the PPD into proprietary strings passed to the printer's firmware
> (probably a PCL6 engine) which contains a list of supported media sizes
> (I derived this from looking into the source code of the said filter).
> So you are almost certainly out of luck.
>
> Helge
>
> PS: the mentioned source code can be downloaded from the Brother web
> site. It is contained in
> brhl2270dwcups_src-2.0.4-2.tar.gz
>
> Am 18.05.2014 um 00:20 schrieb Daniel Lamb:
>
>> I am trying to add a custom page definition for a Brother HL-2270DW.
>> I have added definitions to PPD for HP printers before so I am not
>> entirely new to the process. I know I need to add the definition to
>> the PageSize, PageRegion, ImageableArea & PaperDimension sections of
>> the file but I am not succeeding for output is not showing as it
>> should.  For trouble-shooting I have loaded 8.5" x 11" and the text
>> prints in the lower left of a sheet with large margins on the right
>> and top.
>>
>> The size I wish to add is 5.5" x 8.5".  In points, 396 x 612. This
>> size is within the maximums of the printer's capability. Below are
>> the lines from the PPD as I think they should be
>>
>> *PaperDimension Statement/Statement: "396 612"
>> *ImageableArea Statement/Statement: "18 12 360 600"
>>
>> For all entries of the different sizes in PageSize and PageRegion
>> they appear similar to what I included below.  There is simply a
>> large gap of white space in quotation marks:
>>
>> *PageSize Statement/Statement: "                      "
>> *PageRegion Statement/Statement: "                      "
>>
>> I'd be grateful for advice on where to look for an answer or if other
>> information is needed. Brother offers no support other than providing
>> basic drivers
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups






More information about the cups mailing list