5 Replies Latest reply on Oct 13, 2005 11:05 AM by (Jarrinson_Mariño)

    Send printer-specific commands

    Level 1
      How can send printer specific commands from the jetform to a printer along with the rest of the output created by the merge of .mdf and .dat file for a particular job?

      e.g., I would like to be able to staple some jobs automatically.

      I am using -
      Adobe Output Designer 5.5
      Adobe Central Output Server 5.5

      Thanks.
        • 1. Re: Send printer-specific commands
          Level 1
          There are a couple ways of doing this but you need to be using a "Print Agent Presentment Target", not the Windows driver.

          You can:
          1) if you're using field nominated format then you can use the ^Passthru command a printer sequence directly to the printer. This may happen too late for you since telling the printer you want to staple the job probably has to be done early in the job.
          2) alter either the reset or page selection sequence in the .ICS for your printer. You can insert your stapling command there. The format is pretty self-explanatory I think. Remember to delete the associated .ICF file before trying to recompile (the ICF is a compiled/cached version of the ICS source and gets generated automatically if it's not already there).

          Regards,
          Rob
          • 2. Re: Send printer-specific commands
            Level 1
            How can I save templates into the Hard Drive of Xerox WCP128?
            • 3. Re: Send printer-specific commands
              Level 1
              Templates - I assume you mean the .MDF files created when you "compile" a form using Output Designer - are not "print" files. They are used by the print agent to render the form and merge the data into, resulting in a print file.

              But, having said that, you might be able do what you want by using the previously mentioned method of sending printer commands to the printer using the ^passthru command in the DAT file in front of the ^form command with no data fields defined so just the blank form gets sent. The mentioned caveat about the timing still goes.
              • 4. Re: Send printer-specific commands
                Level 1
                The Version the JetForm is 5.2
                • 5. Re: Send printer-specific commands
                  Level 1
                  I´m using Jetform 5.2 to create and store templates on the hard drive of a Xerox WCP128. Now, I was able to create the template, but I haven´t managed to save it to the hard drive of the printer, do you happen to know how to do it? I want to save it on the machine's memory in order to recall it for later use.

                  ^record GEN17POLI03
                  ^continue TITULO_POLIZA 25 01
                  ^continue TITULO_POLIZA2 25 26
                  ^continue TITULO_POLIZA3 25 51
                  ^continue TITULO_POLIZA4 25 76
                  ^comment ====================
                  ^record GEN04POLI01
                  ^continue *NUM_POLIZA 13 01
                  ^continue *NUM_COLECT 5 14
                  ^continue *DESC_COLECT1 15 19
                  ^continue *DESC_COLECT2 15 34
                  ^continue *NUM_CERTIF 8 49
                  ^continue *FEC_VIG_DESDE 10 57
                  ^continue *FEC_VIG_HASTA 10 67
                  ^comment ====================
                  ^record GEN04MOVI01
                  ^continue POL_TIP_ENDO 10 01
                  ^continue POL_NUM_ENDO 5 11
                  ^continue POL_FEC_MODIF 10 16
                  ^continue POL_FEC_INICIAL 10 26
                  ^continue POL_FOR_PAGO 8 36
                  ^continue POL_FREC_PAG 5 44
                  ^continue POL_TIEMPO 5 49
                  ^continue POL_MONEDA 5 54
                  ^comment ===============
                  ^record GEN17CONT01
                  ^continue TERC_CT_NOMBRE 70 01
                  ^continue TERC_CT_TIPO 3 71
                  ^continue TERC_CT_RIF 13 74
                  ^continue TERC_A_NOMBRE 70 87
                  ^continue TERC_A_TIPO 3 157
                  ^continue TERC_A_RIF 13 160
                  ^comment =================
                  ^record GEN04PROD01
                  ^continue TERC_C_NOMBR 45 01
                  ^continue TERC_C_CODIGO 5 46
                  ^continue TERC_P_NOMBR1 50 51
                  ^continue TERC_P_CODIGO1 5 101
                  ^continue TERC_P_NOMBR2 50 106
                  ^continue TERC_P_CODIGO2 5 156
                  ^continue TERC_P_NOMBR3 50 161
                  ^continue TERC_P_CODIGO3 5 211
                  ^comment ====================
                  ^record GEN17DIRE01
                  ^continue TERC_C_DIREC 115 01
                  ^comment ===================
                  ^record PER04ASEG03
                  ^continue TERC_A_NOMBR1 50 01
                  ^continue TERC_A_SEXO 1 51
                  ^continue TERC_A_CI 13 52
                  ^continue TERC_A_PARENT 13 65
                  ^continue TERC_A_FECNAC 10 78
                  ^continue TERC_A_FECHINC 10 88
                  ^continue TIPO_COBERT 2 98
                  ^comment ================
                  ^record PER04COBE06
                  ^continue COBR_CONTRA1 70 01
                  ^continue POL_MONEDA 5 71
                  ^continue COBR_MONTO1 16 76
                  ^continue COBR_MONTO2 13 92
                  ^continue PORC_INDEMN 13 105
                  ^comment ==================
                  ^record PER04COBE07
                  ^continue COBR_CONTRA1 70 01
                  ^continue POL_MONEDA 5 71
                  ^continue MONTO_CBR2 13 76
                  ^continue PORC_IDEMN 13 89
                  ^comment ================
                  ^record PAT04COBE27
                  ^continue PRIM_TOTAL 13 01
                  ^continue PRIM_TOT_MOVIM 13 14
                  ^comment ====================
                  ^record GEN04ANTE04
                  ^continue NUM_ANTERIOR 30 01
                  ^comment ==================
                  ^record ADM17RECB03
                  ^continue *REC_NUM_RECIBO 11 01
                  ^continue *REC_RECIB_FECHA 10 12
                  ^continue *REC_RECIB_F_DESDE 10 22
                  ^continue *REC_RECIB_F_HASTA 10 32
                  ^continue *REC_CAPITAL_SLS 17 42
                  ^continue *REC_NUM_POLIZA 13 59
                  ^continue *REC_POL_TIP_ENDO 10 72
                  ^continue *REC_POL_NUM_ENDO 5 82
                  ^continue *REC_POL_FEC_MODIF 10 87
                  ^continue *REC_POL_MONEDA 2 97
                  ^continue *REC_TERC_CT_NOMBRE 70 99
                  ^continue *REC_TERC_CT_TIPO 3 169
                  ^continue *REC_TERC_CT_RIF 13 172
                  ^continue *REC_TERC_A_NOMBRE 70 185
                  ^continue *REC_TERC_A_TIPO 3 255
                  ^continue *REC_TERC_A_RIF 13 258
                  ^comment ======================
                  ^record ADM17RECB04
                  ^continue *REC_TERC_C_NOMBR 45 01
                  ^continue *REC_TERC_C_CODIGO 5 46
                  ^continue *REC_TERC_P_NOMBR1 50 51
                  ^continue *REC_TERC_P_CODIGO1 5 101
                  ^continue *REC_PROD_PORCENT1 5 106
                  ^continue *REC_TERC_P_NOMBR2 50 111
                  ^continue *REC_TERC_P_CODIGO2 4 161
                  ^continue *REC_PROD_PORCENT2 5 165
                  ^continue *REC_TERC_P_NOMBR3 50 170
                  ^continue *REC_TERC_P_CODIGO3 4 220
                  ^continue *REC_PROD_PORCENT3 5 224
                  ^continue *CODIG_COBRO1 4 229
                  ^continue *DESCRIPCION1 65 233
                  ^continue *CONCEPTO1 20 298
                  ^continue *MONT_BS_NUM1 17 318
                  ^continue *CODIG_COBRO2 4 335
                  ^continue *DESCRIPCION2 65 339
                  ^continue *CONCEPTO2 20 404
                  ^continue *MONT_BS_NUM2 17 424
                  ^continue *CODIG_COBRO3 4 441
                  ^continue *DESCRIPCION3 65 445
                  ^continue *CONCEPTO3 20 510
                  ^continue *MONT_BS_NUM3 17 530
                  ^continue *CODIG_COBRO4 4 547
                  ^continue *DESCRIPCION4 65 551
                  ^continue *CONCEPTO4 20 616
                  ^continue *MONT_BS_NUM4 17 636
                  ^continue *CODIG_COBRO5 4 653
                  ^continue *DESCRIPCION5 65 657
                  ^continue *CONCEPTO5 20 722
                  ^continue *MONT_BS_NUM5 17 742
                  ^continue *DIRE_COBRO 100 759
                  ^continue PROD_CONTROL1 15 859
                  ^continue PROD_CONTROL2 15 874
                  ^continue PROD_CONTROL3 15 889
                  ^continue PROD_CONTROL4 15 904
                  ^continue PROD_CONTROL5 15 919
                  ^continue *TELEFC_COBRO 3 934
                  ^continue *TELEF_COBRO 9 937
                  ^comment ==================
                  ^record ADM17RECB05
                  ^continue *OBSERVACION24 91 01
                  ^continue *OBSERVACION25 91 92
                  ^continue *OBSERVACION10 91 183
                  ^continue *OBSERVACION11 91 274
                  ^continue *OBSERVACION12 91 365
                  ^continue *OBSERVACION13 91 456
                  ^continue *OBSERVACION14 91 547
                  ^continue *OBSERVACION15 91 638
                  ^continue *OBSERVACION16 91 729
                  ^continue *OBSERVACION17 91 820
                  ^continue *OBSERVACION18 91 911
                  ^comment =====================
                  ^record ADM17RECB06
                  ^continue OBSERVA13 91 01
                  ^continue OBSERVA14 91 92
                  ^continue OBSERVA15 91 183
                  ^continue OBSERVA16 91 274
                  ^continue OBSERVA17 91 365
                  ^continue OBSERVA18 91 456
                  ^continue OBSERVA19 91 547
                  ^continue OBSERVA20 91 638
                  ^continue OBSERVA21 91 729
                  ^continue OBSERVA22 91 820
                  ^continue OBSERVA23 91 911
                  ^comment ================
                  ^record ADM17RECB07
                  ^continue *OBSERVACION24 91 01
                  ^continue *OBSERVACION25 91 92
                  ^continue *OBSERVACION10 91 183
                  ^continue *OBSERVACION11 91 274
                  ^continue *OBSERVACION12 91 365
                  ^continue *OBSERVACION13 91 456
                  ^continue *OBSERVACION14 91 547
                  ^continue *OBSERVACION15 91 638
                  ^continue *OBSERVACION16 91 729
                  ^continue *OBSERVACION17 91 820
                  ^continue *OBSERVACION18 91 911
                  ^comment =====================
                  ^record GEN05ENCB08
                  ^continue NUM_POLIZA 13 01
                  ^continue TERC_A_NOMBR 30 14
                  ^continue DIA 2 44
                  ^continue MES 11 46
                  ^continue ANHO 4 57
                  ^comment =========
                  ^record GEN17ENCB05
                  ^continue CIUDAD2 27 01
                  ^continue DIA4 2 28
                  ^continue MES7 11 30
                  ^continue ANHO5 4 41
                  ^comment ==========
                  ^record GEN05ENCB12
                  ^continue PRODUCTO 60 01
                  ^continue NUM_POLIZA 13 61
                  ^continue TERC_A_NOMBRE 70 74
                  ^comment ===================
                  ^record GEN17ENCAB01
                  ^continue CIUDAD 27 01
                  ^continue DIA 2 28
                  ^continue MES 11 30
                  ^continue ANHO 4 41
                  ^comment =========
                  ^record GEN11PROD08
                  ^continue TERC_P_CODIGO1 5 01
                  ^continue TERC_P_NOMBR 60 6
                  ^comment =================
                  ^form D0304061.mdf -l -m199h -ati01 -aduleft -c2
                  ^passthru