
PrinterModel {

    "54 Inch HP CP Series Color" {

        OptionalPaperSizes = "54,35,24";
	MarginSize = "1.18";


        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 {
                Message = "ZPS_MessageStage2";
                ErrorMessage = "ZPS_ErrorMessageStage2";
                "linux_CommandLine" = "lpr -P%QUEUE% %REQUEST%.rtl";
                "unix_CommandLine" = "lp -c -d%QUEUE% %REQUEST%.rtl";
            }
            stage_5 {
                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 = "1.0";
            }
            Dpi = 600;

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

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

            stage_3 {
                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 = "1.0";
            }
            Dpi = 600;

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

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

            stage_3 {
                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 {
                ErrorMessage = ZPS_ErrorMessageStage2;
                unix_CommandLine = "lp -c -d%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
                Message = ZPS_MessageStage2;
                linux_CommandLine = "lpr -P%QUEUE% %ZPSWRK%/%REQUEST%.rtl";
            }

            stage_3 {
                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;
            }
        }
    }
}
