*% ==== Options and Constraints ====

*UIConstraints: *PageSize B5 *ManualFeed False
*UIConstraints: *ManualFeed False *PageSize B5
*UIConstraints: *PageRegion B5 *ManualFeed False
*UIConstraints: *ManualFeed False *PageRegion B5

*% General Information and Defaults ===============
*LanguageLevel: "2"
*Protocols: TBCP
*FreeVM: "315000"
*ColorDevice: False
*DefaultColorSpace: Gray
*VariablePaperSize: False
*Throughput: "8"
*Password: "()"
*ExitServer: "
 count 0 eq
 { false } { true exch startjob } ifelse
 not {
     (WARNING: Cannot modify initial VM.) =
     (Missing or invalid password.) =
     (Please contact the author of this software.) = flush quit
     } if
"
*End
*Reset: "
 count 0 eq
 { false } { true exch startjob } ifelse
 not {
    (WARNING: Cannot reset printer.) =
    (Missing or invalid password.) =
    (Please contact the author of this software.) = flush quit
    } if
 systemdict /quit get exec
 (WARNING : Printer Reset Failed.) = flush
"
*End

*DefaultResolution: 300dpi
*?Resolution: "
  save
    currentpagedevice /HWResolution get
    0 get
    (          ) cvs print (dpi) = flush
  restore
"
*End

*OpenUI *Smoothing/Resolution Enhancement: PickOne
*OrderDependency: 50 AnySetup *Smoothing
*DefaultSmoothing: PrinterDefault
*Smoothing PrinterDefault/Printer Default:""
*Smoothing None/Off: "2 dict
    dup/PostRenderingEnhance false put
    dup /PostRenderingEnhanceDetails
          2 dict
           dup /REValue 0 put
           dup /Type 8 put
        put setpagedevice"
*End
*Smoothing Light: "2 dict dup /PostRenderingEnhance true put
        dup /PostRenderingEnhanceDetails
          2 dict
           dup /REValue 1 put
           dup /Type 8 put
        put setpagedevice"
*End
*Smoothing Medium: "2 dict dup /PostRenderingEnhance true put
        dup /PostRenderingEnhanceDetails
          2 dict
           dup /REValue 2 put
           dup /Type 8 put
        put setpagedevice"
*End
*Smoothing Dark: "2 dict dup /PostRenderingEnhance true put
        dup /PostRenderingEnhanceDetails
          2 dict
           dup /REValue 3 put
           dup /Type 8 put
        put setpagedevice"
*End
*?Smoothing: "
save
  [(None)(Light)(Medium)(Dark)(Unknown)] currentpagedevice
  /PostRenderingEnhanceDetails get /REValue get
  dup 3 gt{pop 4}if get = flush restore"
*End
*CloseUI: *Smoothing

*% Halftone Information ===============
*ScreenFreq: "60.0"
*ScreenAngle: "45.0"
*DefaultScreenProc: Dot
*ScreenProc Dot: "
{abs exch abs 2 copy add 1 gt {1 sub dup mul exch
1 sub dup mul add 1 sub } {dup mul exch dup mul
add 1 exch sub } ifelse }
"
*End
*ScreenProc Line: "{ pop }"
*ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"

*DefaultTransfer: Null
*Transfer Null: "{ }"
*Transfer Null.Inverse: "{ 1 exch sub }"

*% Paper Handling ===================
*% Code in this section both selects a tray and sets up a frame buffer.
*OpenUI *PageSize: PickOne
*OrderDependency: 30 AnySetup *PageSize
*DefaultPageSize: Letter
*PageSize Letter/Letter 8 1/2 x 11 in: "
    dup  /PageSize [612 792] put dup /ImagingBBox null put setpagedevice"
*End