printingservices/printerdrivers/general/GENERAL.PD
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 ! GENERAL.PD
       
     2 ! General printer driver file, supports minimal TTY functionality
       
     3 
       
     4 Resources Resources
       
     5     PreAmble               "<10>"
       
     6     PostAmble              "<12>"
       
     7     NewPage                "<12><10>"
       
     8     IncrementXPos          "*<32>"   
       
     9     IncrementYPos          "*<10>"  ! N.B. This moves position 1 pixel 
       
    10     CarriageReturn         "<13>"     
       
    11 EndResources
       
    12 
       
    13 Translates Translates
       
    14 EndTranslates
       
    15 
       
    16 FontInfo Courier 
       
    17     MaxNormalCharWidth 1
       
    18     Ascent 1
       
    19     CodeSection 0:255
       
    20 	0:1
       
    21     EndCodeSection
       
    22 EndFontInfo
       
    23 
       
    24 TypefaceFonts Courier
       
    25     Name "Mono" Serif
       
    26     Translates Translates
       
    27     FontHeight
       
    28         Height     240
       
    29         Normal     Courier
       
    30         Bold       Courier
       
    31         Italic     Courier
       
    32         BoldItalic Courier
       
    33         Command    ""
       
    34     EndFontHeight
       
    35 EndTypefaceFonts
       
    36 
       
    37 Model General
       
    38     Name "General" RequiresPrinterPort
       
    39 	Uid 268435818
       
    40     Flags 1
       
    41 ! 1 Landscape not available
       
    42     Resources Resources
       
    43     KPixelWidth    144000 ! 144 twips = 1/10 in, one character
       
    44     KPixelHeight   240000 ! 240  twips = 1/6 in, one line
       
    45 	PortraitOffset  2 4    ! Pixels
       
    46 	LandscapeOffset 2 4  
       
    47     MinMarginLeft   2      ! Pixels
       
    48     MinMarginRight  2
       
    49     MinMarginTop    4
       
    50     MinMarginBottom 4
       
    51     DisplayMode   Gray2
       
    52     TypefaceFontss
       
    53    	    Courier
       
    54     EndTypefaceFontss
       
    55 EndModel
       
    56 
       
    57 PdrStoreFile
       
    58     PDLName             "GENERAL"
       
    59     PDLUid 268435819
       
    60     Models
       
    61         General
       
    62     EndModels
       
    63 EndPdrStoreFile
       
    64