home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3.4.17 [SPARC, PA-RISC] / nextstep33_risc.iso / NextLibrary / PrinterTypes / English.lproj / IBM_4216-030.ppd < prev    next >
PostScript Printer Description  |  1995-02-06  |  12KB  |  341 lines

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 Adobe Systems Incorporated. 
  4. *% All Rights Reserved. 
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *FormatVersion: "4.0"
  10. *FileVersion: "2.1"
  11. *PCFileName: "IBM30505.PPD"
  12. *LanguageVersion: English
  13. *Product: "(IBM Personal Page Printer II)"
  14. *PSVersion: "(50.5) 0"
  15. *ModelName: "IBM 4216-030"
  16. *NickName: "IBM 4216-030 v50.5"
  17.  
  18. *% General Information and Defaults ===============
  19. *ColorDevice: False
  20. *DefaultColorSpace: Gray
  21. *FreeVM: "397408"
  22. *LanguageLevel: "1"
  23. *VariablePaperSize: False
  24. *FileSystem: False
  25. *Throughput: "6"
  26. *Password: "0"
  27. *ExitServer: "
  28.   count 0 eq  % is the password on the stack?
  29.   { true }
  30.   { dup    % potential password
  31.     statusdict /checkpassword get exec not
  32.   } ifelse
  33.   {  %  if no password or not valid
  34.     (WARNING : Cannot perform the exitserver command.) =
  35.     (Password supplied is not valid.) =
  36.     (Please contact the author of this software.) = flush
  37.     quit
  38.   } if
  39.   serverdict /exitserver get exec
  40. "
  41. *End
  42.  
  43. *Reset: "
  44.   count 0 eq  % is the password on the stack?
  45.   {  true }
  46.   { dup    % potential password
  47.     statusdict /checkpassword get exec not
  48.   } ifelse
  49.   {  %  if no password or not valid
  50.     (WARNING : Cannot reset printer.) =
  51.     (Password supplied is not valid.) =
  52.     (Please contact the author of this software.) = flush
  53.     quit
  54.   } if
  55.   serverdict /exitserver get exec
  56.   systemdict /quit get exec
  57.   (WARNING : Printer Reset Failed.) = flush
  58. "
  59. *End
  60.  
  61. *DefaultResolution: 300dpi
  62. *?Resolution: "
  63. save
  64.   initgraphics
  65.   0 0 moveto currentpoint matrix defaultmatrix transform
  66.   0 72 lineto currentpoint matrix defaultmatrix transform
  67.   3 -1 roll sub dup mul
  68.   3 1 roll exch sub dup mul
  69.   add sqrt round cvi
  70.   (          ) cvs print (dpi) = flush
  71. restore
  72. "
  73. *End
  74.  
  75. *% Halftone Information ===============
  76. *ScreenFreq: "60.0"
  77. *ScreenAngle: "45.0"
  78. *DefaultScreenProc: Dot
  79. *ScreenProc Dot: "
  80. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  81. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  82. "
  83. *End
  84. *ScreenProc Line: "{ pop }"
  85. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  86.  
  87. *DefaultTransfer: Null
  88. *Transfer Null: "{ }"
  89. *Transfer Null.Inverse: "{ 1 exch sub }"
  90.  
  91. *% Paper Handling ===================
  92. *% Use these entries to set paper size most of the time, unless there is
  93. *% specific reason to use PageRegion.
  94. *OpenUI *PageSize: PickOne
  95. *OrderDependency: 30 AnySetup *PageSize
  96. *DefaultPageSize: Letter
  97. *PageSize Letter: "statusdict /lettertray get exec"
  98. *PageSize Legal: "statusdict /legaltray get exec"
  99. *PageSize Statement: "statusdict /statementtray get exec"
  100. *PageSize A4: "statusdict /a4tray get exec"
  101. *PageSize A5: "statusdict /a5tray get exec"
  102. *PageSize B5: "statusdict /b5tray get exec"
  103. *?PageSize: "
  104. save
  105. 6 dict
  106.  dup /letter (Letter) put
  107.  dup /legal (Legal) put
  108.  dup /a4 (A4) put
  109.  dup /a5 (A5) put
  110.  dup /b5 (B5) put
  111.  dup /statement (Statement) put
  112.  statusdict /papersize get exec
  113.  3 1 roll  {get} stopped {(Unknown)}if
  114.  exch  not { print (.Transverse) }if
  115.  = flush
  116. restore
  117. "
  118. *End
  119. *CloseUI: *PageSize
  120.  
  121. *% These entries will set up the frame buffer. Usually used with manual feed.
  122. *OpenUI *PageRegion: PickOne
  123. *OrderDependency: 40 AnySetup *PageRegion
  124. *DefaultPageRegion: Letter
  125. *PageRegion Letter: "letter"
  126. *PageRegion Legal: "legal"
  127. *PageRegion A4: "a4"
  128. *PageRegion A5: "a5"
  129. *PageRegion B5: "b5"
  130. *PageRegion Statement: "statement"
  131. *CloseUI: *PageRegion
  132.  
  133. *% The following entries provide information about specific paper keywords.
  134. *DefaultImageableArea: Letter
  135. *ImageableArea Letter: "17 16 595 776 "
  136. *ImageableArea Legal: "17 16 595 992 "
  137. *ImageableArea A4: "14 15 581 827 "
  138. *ImageableArea A5: "12 13 407 583 "
  139. *ImageableArea B5: "13 13 503 716 "
  140. *ImageableArea Statement: "12 15 384 597 "
  141. *?ImageableArea: "
  142. save
  143.   /cvp {(                ) cvs print ( ) print } bind def
  144.   /upperright {10000 mul floor 10000 div} bind def
  145.   /lowerleft {10000 mul ceiling 10000 div} bind def
  146.   newpath clippath pathbbox
  147.   4 -2 roll exch 2 {lowerleft cvp} repeat
  148.   exch 2 {upperright cvp} repeat flush
  149.  restore
  150. "
  151. *End
  152.  
  153. *% These provide the physical dimensions of the paper (by keyword)
  154. *DefaultPaperDimension: Letter
  155. *PaperDimension Letter: "612 792"
  156. *PaperDimension Legal: "612 1008"
  157. *PaperDimension A4: "595 842"
  158. *PaperDimension A5: "420 595"
  159. *PaperDimension B5: "516 729"
  160. *PaperDimension Statement: "396 612"
  161.  
  162. *RequiresPageRegion All: True
  163. *OpenUI *InputSlot: PickOne
  164. *OrderDependency: 20 AnySetup *InputSlot
  165. *DefaultInputSlot: Cassette
  166. *InputSlot Cassette: ""
  167. *CloseUI: *InputSlot
  168.  
  169. *DefaultOutputOrder: Normal
  170.  
  171. *% Font Information =====================
  172. *DefaultFont: Courier
  173. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  174. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  175. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  176. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  177. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  178. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  179. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  180. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  181. *Font Courier: Standard "(001.004)" Standard ROM
  182. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  183. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  184. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  185. *Font Emulatorfont: Special "(001.000)" Special ROM
  186. *Font Emulatorfont-Bold: Special "(001.000)" Special ROM
  187. *Font Garamond-Bold: Standard "(001.001)" Standard ROM
  188. *Font Garamond-BoldItalic: Standard "(001.002)" Standard ROM
  189. *Font Garamond-Light: Standard "(001.002)" Standard ROM
  190. *Font Garamond-LightItalic: Standard "(001.002)" Standard ROM
  191. *Font Helvetica: Standard "(001.002)" Standard ROM
  192. *Font Helvetica-Black: Standard "(001.001)" Standard ROM
  193. *Font Helvetica-BlackOblique: Standard "(001.001)" Standard ROM
  194. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  195. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  196. *Font Helvetica-Light: Standard "(001.002)" Standard ROM
  197. *Font Helvetica-LightOblique: Standard "(001.002)" Standard ROM
  198. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  199. *Font Korinna-Bold: Standard "(001.001)" Standard ROM
  200. *Font Korinna-KursivBold: Standard "(001.003)" Standard ROM
  201. *Font Korinna-KursivRegular: Standard "(001.003)" Standard ROM
  202. *Font Korinna-Regular: Standard "(001.001)" Standard ROM
  203. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  204. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  205. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  206. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  207. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  208. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  209. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  210. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  211. *Font Symbol: Special "(001.003)" Special ROM
  212. *Font Times-Bold: Standard "(001.002)" Standard ROM
  213. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  214. *Font Times-Italic: Standard "(001.002)" Standard ROM
  215. *Font Times-Roman: Standard "(001.002)" Standard ROM
  216. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  217. *Font ZapfDingbats: Special "(001.002)" Special ROM
  218. *?FontQuery: "
  219. save
  220.  /str 100 string dup 0 (fonts/) putinterval def
  221.  {
  222.    count 1 gt
  223.    {
  224.      exch dup str 6 94 getinterval cvs
  225.      (/) print print (:) print
  226.      FontDirectory exch known
  227.      {(Yes)}{(No)} ifelse =
  228.    }
  229.    {exit} ifelse
  230.  }bind loop
  231.  (*) = flush
  232. restore
  233. "
  234. *End
  235.  
  236. *?FontList: "
  237. save
  238.   FontDirectory { pop == } bind forall flush
  239.   (*) = flush
  240. restore
  241. "
  242. *End
  243.  
  244. *% Printer Messages (verbatim from printer):
  245. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  246. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  247. *Message: "\FontName\ not found, using Courier"
  248.  
  249. *% Status (format: %%[ status: <one of these> ]%% )
  250. *Status: "idle"
  251. *Status: "busy"
  252. *Status: "waiting"
  253. *Status: "printing"
  254. *Status: "warming up"
  255. *Status: "PrinterError: CPU error"
  256. *Status: "PrinterError: main motor error"
  257. *Status: "PrinterError: paper size error"
  258. *Status: "PrinterError: paper exit jam"
  259. *Status: "PrinterError: replacement magazine required"
  260. *Status: "PrinterError: toner is low"
  261. *Status: "PrinterError: paper feed error"
  262. *Status: "PrinterError: optical unit error"
  263. *Status: "PrinterError: cleaning magazine needs replacing"
  264. *Status: "PrinterError: paper transport jam"
  265. *Status: "PrinterError: fusing unit error"
  266. *Status: "PrinterError: timeout"
  267. *Status: "PrinterError: out of paper"
  268. *Status: "PrinterError: printer warming up"
  269. *Status: "PrinterError: printing test page"
  270.  
  271. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  272. *Source: "serial9"
  273. *Source: "serial25"
  274. *Source: "AppleTalk"
  275. *Source: "Centronics"
  276.  
  277. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  278. *PrinterError: "CPU error"
  279. *PrinterError: "main motor error"
  280. *PrinterError: "paper size error"
  281. *PrinterError: "paper exit jam"
  282. *PrinterError: "replacement magazine required"
  283. *PrinterError: "toner is low"
  284. *PrinterError: "paper feed error"
  285. *PrinterError: "optical unit error"
  286. *PrinterError: "cleaning magazine needs replacing"
  287. *PrinterError: "paper transport jam"
  288. *PrinterError: "fusing unit error"
  289. *PrinterError: "timeout"
  290. *PrinterError: "out of paper"
  291. *PrinterError: "printer warming up"
  292. *PrinterError: "printing test page"
  293.  
  294. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  295.  
  296. *% Color Separation Information =====================
  297.  
  298. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  299.  
  300. *InkName: ProcessBlack/Process Black
  301. *InkName: CustomColor/Custom Color
  302. *InkName: ProcessCyan/Process Cyan
  303. *InkName: ProcessMagenta/Process Magenta
  304. *InkName: ProcessYellow/Process Yellow
  305.  
  306. *% For 60 lpi / 300 dpi =====================================================
  307.  
  308. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  309. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  310. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  311. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  312. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  313.  
  314. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  315. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  316. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  317. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  318. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  319.  
  320. *% For 53 lpi / 300 dpi =====================================================
  321.  
  322. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  323. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  324. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  325. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  326. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  327.  
  328. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  329. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  330. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  331. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  332. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  333.  
  334. *% For "IBM Personal Page Printer II" version 50.5
  335. *% Produced by "GETapd.ps" version 2.0 edit 51
  336. *% Converted to meet 4.0 specification
  337. *% Last Edit Date: Sep 15 1992
  338. *% The byte count of this file should be exactly 011856 or 012196
  339. *% depending on the filesystem it resides in.
  340. *% end of PPD file for IBM Personal Page Printer II
  341.