Apply patch 4. Fix the stub generator to insert proper license text in autogenerated output.
I left out the result of running this script due to a comment earlier to say there was a problem with the def files in my original patch.
! GENERAL.PD
! General printer driver file, supports minimal TTY functionality
Resources Resources
PreAmble "<10>"
PostAmble "<12>"
NewPage "<12><10>"
IncrementXPos "*<32>"
IncrementYPos "*<10>" ! N.B. This moves position 1 pixel
CarriageReturn "<13>"
EndResources
Translates Translates
EndTranslates
FontInfo Courier
MaxNormalCharWidth 1
Ascent 1
CodeSection 0:255
0:1
EndCodeSection
EndFontInfo
TypefaceFonts Courier
Name "Mono" Serif
Translates Translates
FontHeight
Height 240
Normal Courier
Bold Courier
Italic Courier
BoldItalic Courier
Command ""
EndFontHeight
EndTypefaceFonts
Model General
Name "General" RequiresPrinterPort
Uid 268435818
Flags 1
! 1 Landscape not available
Resources Resources
KPixelWidth 144000 ! 144 twips = 1/10 in, one character
KPixelHeight 240000 ! 240 twips = 1/6 in, one line
PortraitOffset 2 4 ! Pixels
LandscapeOffset 2 4
MinMarginLeft 2 ! Pixels
MinMarginRight 2
MinMarginTop 4
MinMarginBottom 4
DisplayMode Gray2
TypefaceFontss
Courier
EndTypefaceFontss
EndModel
PdrStoreFile
PDLName "GENERAL"
PDLUid 268435819
Models
General
EndModels
EndPdrStoreFile