printingservices/printerdrivers/general/GENERAL.PD
author jakl.martin@cell-telecom.com
Mon, 06 Dec 2010 18:07:30 +0100
branchNewGraphicsArchitecture
changeset 218 99b3451c560e
parent 0 5d03bc08d59c
permissions -rw-r--r--
Fix for Bug 3890

! 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