
PrinterModel {

    "HP ColorPro CAD" {
	
	DisableQualitySelection = "Yes";

        OptionalPaperSizes = "19";
        MarginTop = "0.117";
        MarginBottom = "0.5";
        PaperSizes = "US Letter,11x17,A4,A3,B4,Legal,Executive,A5,B5,13x19";
        SizeUSLetter = "8.5x11.0";
        MarginUSLetter = "0.25";
        PaperCodeUSLetter = "2";
        Size11x17 = "11.0x17.0";
        Margin11x17 = "0.26";
        PaperCode11x17 = "6";
        SizeA4 = "8.27x11.69";
        MarginA4 = "0.2";
        PaperCodeA4 = "26";
        SizeLegal = "8.5x14.0";
        MarginLegal = "0.25";
        PaperCodeLegal = "3";
        SizeA3 = "11.693x16.535";
        MarginA3 = "0.205";
        PaperCodeA3 = "27";
        SizeB4 = "9.84x13.90";
        MarginB4 = "0.205";
        PaperCodeB4 = "46";
        SizeExecutive = "7.25x10.5";
        MarginExecutive = "0.252";
        PaperCodeExecutive = "1";
        SizeA5 = "5.83x8.27";
        MarginA5 = "0.2";
        PaperCodeA5 = "25";
        SizeB5 = "6.93x9.85";
        MarginB5 = "0.2";
        PaperCodeB5 = "45";
        Size13x19 = "13.0x19.0";
        Margin13x19 = "0.207";
        PaperCode13x19 = "16";

	MarginSize = "0.5";


        CGM {
            ParFile
            {
                 gamma_flag = yes;
                 gamma_value = "1.5";
            }
            Dpi = 600;
            stage_1 {
                Message = "ZPS_MessageStage1";
                CommandLine = "%ZPSPRG%cgm1.exe %REQUEST%.par";
                ErrorMessage = "ZPS_ErrorMessageStage1";
            }
            stage_2 {
                Message = "ZPS_MessageStage1";
                CommandLine = "%ZPSPRG%cgm2.exe %REQUEST%.xsp";
                ErrorMessage = "ZPS_ErrorMessageStage1";
            }
            stage_3 {
                Message = "ZPS_MessageStage1";
                CommandLine = "%ZPSPRG%hp_driver.exe  %REQUEST%.xsp -e";
                ErrorMessage = "ZPS_ErrorMessageStage1";
            }
            stage_4 {
                CommandLine = "%ZPSPRG%/bin/setpapersize.exe %ZPSWRK%/%REQUEST%.rtl %PAPERCODE%";
                ErrorMessage = ZPS_ErrorMessageStage1;
                Message = ZPS_MessageStage1;
            }
            stage_5 {
                Message = "ZPS_MessageStage2";
                ErrorMessage = "ZPS_ErrorMessageStage2";
                "linux_CommandLine" = "lpr -P%QUEUE% %REQUEST%.rtl";
                "unix_CommandLine" = "lp -c -d%QUEUE% %REQUEST%.rtl";
            }
            stage_6 {
                Message = "ZPS_MessageStage2";
                ErrorMessage = "ZPS_ErrorMessageStage2";
                "aix_CommandLine" = "sleep 1 && rm -f %REQUEST%.rtl %REQUEST%.par %REQUEST%.xsp";
                "unix_CommandLine" = "rm -f %REQUEST%.rtl %REQUEST%.par %REQUEST%.xsp";
            }
        }


        jpeg {
            ParFile
            {
                 gamma_flag = yes;
                 gamma_value = ".7";
            }
            Dpi = 600;

            stage_1 {
                CommandLine = "%ZPSPRG%/rtlout.sh %ZPSWRK%/%REQUEST%.par";
                ErrorMessage = ZPS_ErrorMessageStage1;
                Message = ZPS_MessageStage1;
            }

            stage_2 {
                CommandLine = "%ZPSPRG%/bin/setpapersize.exe %ZPSWRK%/%REQUEST%.rtl %PAPERCODE%";
                ErrorMessage = ZPS_ErrorMessageStage1;
                Message = ZPS_MessageStage1;
            }

            stage_3 {
                ErrorMessage = ZPS_ErrorMessageStage2;
                unix_CommandLine = "lp -c -d%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
                Message = ZPS_MessageStage2;
                linux_CommandLine = "lpr -P%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
            }

            stage_4 {
                ErrorMessage = ZPS_ErrorMessageStage2;
                unix_CommandLine = "rm -f %ZPSWRK%/%REQUEST%.rtl %ZPSWRK%/%REQUEST%.par";
                aix_CommandLine = "sleep 1 && rm -f %ZPSWRK%/%REQUEST%.rtl %ZPSWRK%/%REQUEST%.par";
                Message = ZPS_MessageStage2;
            }
        }

        tiff {
            ParFile
            {
                 gamma_flag = yes;
                 gamma_value = ".7";
            }
            Dpi = 600;

            stage_1 {
                CommandLine = "%ZPSPRG%/rtlout.sh %ZPSWRK%/%REQUEST%.par";
                ErrorMessage = ZPS_ErrorMessageStage1;
                Message = ZPS_MessageStage1;
            }

            stage_2 {
                CommandLine = "%ZPSPRG%/bin/setpapersize.exe %ZPSWRK%/%REQUEST%.rtl %PAPERCODE%";
                ErrorMessage = ZPS_ErrorMessageStage1;
                Message = ZPS_MessageStage1;
            }

            stage_3 {
                ErrorMessage = ZPS_ErrorMessageStage2;
                unix_CommandLine = "lp -c -d%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
                Message = ZPS_MessageStage2;
                linux_CommandLine = "lpr -P%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
            }

            stage_4 {
                ErrorMessage = ZPS_ErrorMessageStage2;
                unix_CommandLine = "rm -f %ZPSWRK%/%REQUEST%.rtl %ZPSWRK%/%REQUEST%.par";
                aix_CommandLine = "sleep 1 && rm -f %ZPSWRK%/%REQUEST%.rtl %ZPSWRK%/%REQUEST%.par";
                Message = ZPS_MessageStage2;
            }
        }

        "CALS raster" {
            Dpi = 600;

            stage_1 {
                CommandLine = "%ZPSPRG%/rtlout.sh %ZPSWRK%/%REQUEST%.par";
                ErrorMessage = ZPS_ErrorMessageStage1;
                Message = ZPS_MessageStage1;
            }

            stage_2 {
                CommandLine = "%ZPSPRG%/bin/setpapersize.exe %ZPSWRK%/%REQUEST%.rtl %PAPERCODE%";
                ErrorMessage = ZPS_ErrorMessageStage1;
                Message = ZPS_MessageStage1;
            }

            stage_3 {
                ErrorMessage = ZPS_ErrorMessageStage2;
                unix_CommandLine = "lp -c -d%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
                Message = ZPS_MessageStage2;
                linux_CommandLine = "lpr -P%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
            }

            stage_4 {
                ErrorMessage = ZPS_ErrorMessageStage2;
                unix_CommandLine = "rm -f %ZPSWRK%/%REQUEST%.rtl %ZPSWRK%/%REQUEST%.par";
                aix_CommandLine = "sleep 1 && rm -f %ZPSWRK%/%REQUEST%.rtl %ZPSWRK%/%REQUEST%.par";
                Message = ZPS_MessageStage2;
            }
        }
    }
}

