printingservices/printerdrivers/general/GENERAL.PD
changeset 0 5d03bc08d59c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/printingservices/printerdrivers/general/GENERAL.PD	Tue Feb 02 01:47:50 2010 +0200
@@ -0,0 +1,64 @@
+! 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
+