Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

370 lines
12 KiB

*%%
*%% NEC PICTY 920
*%%
*%% Copyright 1998-1999 Hewlett-Packard Co.
*%% Copyright 1998 - 2000, Microsoft Corp.
*%% All Rights Reserved.
*%%
*Include: "hpvdj89x.gpd"
*%%
*%% Global Entries
*%%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.0"
*%% *ModelName: "HP DeskJet 895Cxi"
*%% *GPDFileName: "HPVDJ89I.GPD"
*ModelName: "NEC PICTY 920"
*GPDFileName: "NCVDJ920.GPD"
*PrintRate: 11
*PrintRateUnit: PPM
*%%
*%% Japanese specific entries
*%%
*Feature: PaperSize
{
*Option: JENV_CHOU3
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*Command: CmdSelect
{
*Order: DOC_SETUP.30
*Cmd: "<1B>&l110A"
}
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2682, 5232)
*PrintableOrigin: PAIR(76, 42)
*CursorOrigin: PAIR(76, 42)
}
*case: LANDSCAPE_CC270
{
*PrintableArea: PAIR(2682, 5232)
*PrintableOrigin: PAIR(76, 42)
*CursorOrigin: PAIR(2758, 42)
}
}
}
*Option: JENV_CHOU4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*Command: CmdSelect
{
*Order: DOC_SETUP.30
*Cmd: "<1B>&l111A"
}
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1972, 4524)
*PrintableOrigin: PAIR(76, 42)
*CursorOrigin: PAIR(76, 42)
}
*case: LANDSCAPE_CC270
{
*PrintableArea: PAIR(1972, 4524)
*PrintableOrigin: PAIR(76, 42)
*CursorOrigin: PAIR(2048, 42)
}
}
}
*Option: JENV_YOU2
{
*rcNameID: 1291
*PageDimensions: PAIR(2692, 3826)
*Command: CmdSelect
{
*Order: DOC_SETUP.30
*Cmd: "<1B>&l112A"
}
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2540, 3508)
*PrintableOrigin: PAIR(76, 42)
*CursorOrigin: PAIR(76, 42)
}
*case: LANDSCAPE_CC270
{
*PrintableArea: PAIR(2540, 3508)
*PrintableOrigin: PAIR(76, 42)
*CursorOrigin: PAIR(2616, 42)
}
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*MinSize: PAIR(1800, 1800)
*MaxSize: PAIR(5100, 8400)
*MaxPrintableWidth: 1
*MinLeftMargin: 76
*CenterPrintable?: FALSE
*Command: CmdSelect
{
*Order: DOC_SETUP.30
*Cmd: =PCL_CUSTOMSIZE
}
*switch: Orientation
{
*case: PORTRAIT
{
*CustCursorOriginX: %d{152}
*CustCursorOriginY: %d{24}
*CustPrintableOriginX: %d{152}
*CustPrintableOriginY: %d{24}
*CustPrintableSizeX: %d{PhysPaperWidth - 304}
*CustPrintableSizeY: %d{PhysPaperLength - 324}
}
*case: LANDSCAPE_CC270
{
*CustCursorOriginX: %d{PhysPaperWidth - 152}
*CustCursorOriginY: %d{24}
*CustPrintableOriginX: %d{152}
*CustPrintableOriginY: %d{24}
*CustPrintableSizeX: %d{PhysPaperWidth - 304}
*CustPrintableSizeY: %d{PhysPaperLength - 324}
}
}
}
}
*Feature: MediaType
{
*Option: PICTY_SPECIAL_PAPER
{
*rcNameID: 1695
*Command: CmdSelect
{
*Order: DOC_SETUP.45
*Cmd: =PCL_MEDIA_SPECIAL
}
EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
}
*Option: PICTY_SPECIAL_POSTCARD
{
*rcNameID: 1696
*Command: CmdSelect
{
*Order: DOC_SETUP.45
*Cmd: =PCL_MEDIA_SPECIAL
}
EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
}
*Option: PICTY_SPECIAL_TRANSPARENCY_FILM
{
*rcNameID: 1697
*Command: CmdSelect
{
*Order: DOC_SETUP.45
*Cmd: =PCL_MEDIA_TRANSPARENCY
}
EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
}
*Option: PICTY_HIGH_QUALITY_POSTCARD
{
*rcNameID: 1690
*Command: CmdSelect
{
*Order: DOC_SETUP.45
*Cmd: =PCL_MEDIA_GLOSSY
}
EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
}
*Option: PICTY_INKJET_POSTCARD
{
*rcNameID: 1691
*Command: CmdSelect
{
*Order: DOC_SETUP.45
*Cmd: =PCL_MEDIA_SPECIAL
}
EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
}
*Option: PICTY_PHOTO_GLOSSY_PAPER
{
*rcNameID: 1692
*Command: CmdSelect
{
*Order: DOC_SETUP.45
*Cmd: =PCL_MEDIA_GLOSSY
}
EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
}
}
*switch: MediaType
{
*case: PICTY_SPECIAL_PAPER
{
*switch: ColorMode
{
*case: Mono
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*case: Gray8
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*default:
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
}
}
*case: PICTY_SPECIAL_POSTCARD
{
*switch: ColorMode
{
*case: Mono
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*case: Gray8
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*default:
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
}
}
*case: PICTY_SPECIAL_TRANSPARENCY_FILM
{
*switch: ColorMode
{
*case: Mono
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BETTERQUALITY
}
*case: Gray8
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BETTERQUALITY
}
*default:
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Color24, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Color24, PM.TransparencyBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BETTERQUALITY
}
}
}
*case: PICTY_HIGH_QUALITY_POSTCARD
{
*switch: ColorMode
{
*case: Mono
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*case: Gray8
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*default:
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
}
}
*case: PICTY_INKJET_POSTCARD
{
*switch: ColorMode
{
*case: Mono
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*case: Gray8
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*default:
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
}
}
*case: PICTY_PHOTO_GLOSSY_PAPER
{
*switch: ColorMode
{
*case: Mono
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*case: Gray8
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
*default:
{
*DraftQualitySettings: LIST()
*BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
*BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
*DefaultQuality: BESTQUALITY
}
}
}
}