3 Replies Latest reply on Mar 16, 2016 2:38 PM by JJMack

    How can I print PS from cookbook on HP3050? .

    wjw737

      How can I print PS from cookbook on HP3050? PScript5 uses USB port DOT4_001 to print the (source) file from NOTEPAD. I  tried to use the command line to TYPE filename  > DOT4_001 but the printer does not respond. Isn't there some way to send Level 1 PS down the usb to the printer under winXP?  TYPE filename > LPT1 works fine with  a HP 4m+  under win95.

        • 1. Re: How can I print PS from cookbook on HP3050? .
          JJMack Most Valuable Participant

          Chrom OS is based on the Linux kernel.

           

          Google Cloud Print is a Google service that helps any application on any device to print on any printer. While the cloud provides virtually any connected device with information access, the task of "developing and maintaining print subsystems for every combination of hardware and operating system – from desktops to netbooks to mobile devices – simply isn't feasible."[51][52] The cloud service requires installation of a piece of software called proxy, as part of the Chrome OS. The proxy registers the printer with the service, manages the print jobs, provides the printer driver functionality, and gives status alerts for each job


          Application, like "Adobe Photoshop" run on a remote "server", machine not on your low power Chromebook.  Application and data are in the cloud.


          Your HP3050 would be a network printer.  Just like my Epson 4800 on my Workstation is a network printer for my Surface Pro 3 windows mobile device.  While the printer is connected to my Workstation I could have attached it to my Netgear Router where it would strictly be a network printer. If I want to print from my Surface pro 3 on my Epson it is simply to address \\Server\Printer




          • 2. Re: How can I print PS from cookbook on HP3050? .
            wjw737 Level 1

            JJMACK   Thanks for your time. To clarify, cookbook referred to ISBN 0-201-10179-3 PS Tutorial and Cookbook, not a chrombook. In a nutshell, I wish to compose and submit code such as "%!PS-ADOBE-1   newpath  270  360  moveto  0  72  rlineto   4  setlinewidth  stroke  showpage" to a HP3050 and have it rendered and the resulting image printed. I guess I need an app that will initialize the printer in PS mode and accept the source code. Do you have any suggestions?  My next stop will be HP.  Regards, WALT3737

            • 3. Re: How can I print PS from cookbook on HP3050? .
              JJMack Most Valuable Participant

              I sorry I miss-read your post.  Your HP inter seem to be a network printer most likely more capable them my cheap HP Envy 4500 network printer.  I have no problem printing on that network printer or printing on my Epson 4800 printer connected to another machine.  How to set up and print on a network in a script I have never attempted most likely I would need to use Action manager code  adapted from Adobe Plug-in Scriptlistener,

              Here you can me setting up to print on my two network printers.  I actually printed on the HP Envy and had HP Printer manages the colors.  Setting up for printing on the Epson I had  Photoshop manage the colors and turn off color management in the Printer device driver. I did not actually Print on the Epson. Here us Photoshop UI setup and the script listener code recorded.

              Capture.jpg

               

              // =======================================================

              var idmodalStateChanged = stringIDToTypeID( "modalStateChanged" );

                  var desc137 = new ActionDescriptor();

                  var idLvl = charIDToTypeID( "Lvl " );

                  desc137.putInteger( idLvl, 1 );

                  var idStte = charIDToTypeID( "Stte" );

                  var idStte = charIDToTypeID( "Stte" );

                  var identer = stringIDToTypeID( "enter" );

                  desc137.putEnumerated( idStte, idStte, identer );

              executeAction( idmodalStateChanged, desc137, DialogModes.NO );

               

               

              // =======================================================

              var idmodalStateChanged = stringIDToTypeID( "modalStateChanged" );

                  var desc138 = new ActionDescriptor();

                  var idLvl = charIDToTypeID( "Lvl " );

                  desc138.putInteger( idLvl, 0 );

                  var idStte = charIDToTypeID( "Stte" );

                  var idStte = charIDToTypeID( "Stte" );

                  var idexit = stringIDToTypeID( "exit" );

                  desc138.putEnumerated( idStte, idStte, idexit );

              executeAction( idmodalStateChanged, desc138, DialogModes.NO );

               

               

              // =======================================================

              var idPrnt = charIDToTypeID( "Prnt" );

                  var desc139 = new ActionDescriptor();

                  var idnull = charIDToTypeID( "null" );

                      var ref51 = new ActionReference();

                      var idPrpr = charIDToTypeID( "Prpr" );

                      var idprintOutput = stringIDToTypeID( "printOutput" );

                      ref51.putProperty( idPrpr, idprintOutput );

                      var idDcmn = charIDToTypeID( "Dcmn" );

                      var idOrdn = charIDToTypeID( "Ordn" );

                      var idTrgt = charIDToTypeID( "Trgt" );

                      ref51.putEnumerated( idDcmn, idOrdn, idTrgt );

                  desc139.putReference( idnull, ref51 );

                  var idprintOutput = stringIDToTypeID( "printOutput" );

                      var desc140 = new ActionDescriptor();

                      var idPstS = charIDToTypeID( "PstS" );

                      desc140.putBoolean( idPstS, true );

                      var idInte = charIDToTypeID( "Inte" );

                      var idInte = charIDToTypeID( "Inte" );

                      var idClrm = charIDToTypeID( "Clrm" );

                      desc140.putEnumerated( idInte, idInte, idClrm );

                      var idprintSixteenBit = stringIDToTypeID( "printSixteenBit" );

                      desc140.putBoolean( idprintSixteenBit, false );

                      var idprinterName = stringIDToTypeID( "printerName" );

                      desc140.putString( idprinterName, """HP93748F (HP ENVY 4500 series)""" );  <================================================= setting up HP Printer

                      var idprintProofSetup = stringIDToTypeID( "printProofSetup" );

                          var desc141 = new ActionDescriptor();

                          var idBltn = charIDToTypeID( "Bltn" );

                          var idbuiltinProof = stringIDToTypeID( "builtinProof" );

                          var idproofCMYK = stringIDToTypeID( "proofCMYK" );

                          desc141.putEnumerated( idBltn, idbuiltinProof, idproofCMYK );

                      var idproofSetup = stringIDToTypeID( "proofSetup" );

                      desc140.putObject( idprintProofSetup, idproofSetup, desc141 );

                  var idprintOutput = stringIDToTypeID( "printOutput" );

                  desc139.putObject( idprintOutput, idprintOutput, desc140 );

                  var idprintViewProofSetup = stringIDToTypeID( "printViewProofSetup" );

                      var desc142 = new ActionDescriptor();

                      var idBltn = charIDToTypeID( "Bltn" );

                      var idbuiltinProof = stringIDToTypeID( "builtinProof" );

                      var idproofCMYK = stringIDToTypeID( "proofCMYK" );

                      desc142.putEnumerated( idBltn, idbuiltinProof, idproofCMYK );

                  var idproofSetup = stringIDToTypeID( "proofSetup" );

                  desc139.putObject( idprintViewProofSetup, idproofSetup, desc142 );

                  var idprintOutputOptions = stringIDToTypeID( "printOutputOptions" );

                      var desc143 = new ActionDescriptor();

                      var idCptn = charIDToTypeID( "Cptn" );

                      desc143.putBoolean( idCptn, false );

                      var idClbr = charIDToTypeID( "Clbr" );

                      desc143.putBoolean( idClbr, false );

                      var idRgsM = charIDToTypeID( "RgsM" );

                      desc143.putBoolean( idRgsM, false );

                      var idCrnC = charIDToTypeID( "CrnC" );

                      desc143.putBoolean( idCrnC, false );

                      var idCntC = charIDToTypeID( "CntC" );

                      desc143.putBoolean( idCntC, false );

                      var idLbls = charIDToTypeID( "Lbls" );

                      desc143.putBoolean( idLbls, false );

                      var idNgtv = charIDToTypeID( "Ngtv" );

                      desc143.putBoolean( idNgtv, false );

                      var idEmlD = charIDToTypeID( "EmlD" );

                      desc143.putBoolean( idEmlD, false );

                      var idIntr = charIDToTypeID( "Intr" );

                      desc143.putBoolean( idIntr, false );

                      var idBckg = charIDToTypeID( "Bckg" );

                          var desc144 = new ActionDescriptor();

                          var idRd = charIDToTypeID( "Rd  " );

                          desc144.putDouble( idRd, 255.000000 );

                          var idGrn = charIDToTypeID( "Grn " );

                          desc144.putDouble( idGrn, 255.000000 );

                          var idBl = charIDToTypeID( "Bl  " );

                          desc144.putDouble( idBl, 255.000000 );

                      var idRGBC = charIDToTypeID( "RGBC" );

                      desc143.putObject( idBckg, idRGBC, desc144 );

                      var idBrdT = charIDToTypeID( "BrdT" );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc143.putUnitDouble( idBrdT, idRlt, 0.000000 );

                      var idBld = charIDToTypeID( "Bld " );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc143.putUnitDouble( idBld, idRlt, 0.000000 );

                      var idRslt = charIDToTypeID( "Rslt" );

                      var idPxl = charIDToTypeID( "#Pxl" );

                      desc143.putUnitDouble( idRslt, idPxl, 350.399994 );

                      var idvectorData = stringIDToTypeID( "vectorData" );

                      desc143.putBoolean( idvectorData, true );

                      var idPgPs = charIDToTypeID( "PgPs" );

                      var idPgPs = charIDToTypeID( "PgPs" );

                      var idPgPC = charIDToTypeID( "PgPC" );

                      desc143.putEnumerated( idPgPs, idPgPs, idPgPC );

                      var idLeft = charIDToTypeID( "Left" );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc143.putUnitDouble( idLeft, idRlt, 57.000000 );

                      var idTop = charIDToTypeID( "Top " );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc143.putUnitDouble( idTop, idRlt, 27.000000 );

                      var idScl = charIDToTypeID( "Scl " );

                      var idPrc = charIDToTypeID( "#Prc" );

                      desc143.putUnitDouble( idScl, idPrc, 100.000000 );

                      var idcropWhenPrinting = stringIDToTypeID( "cropWhenPrinting" );

                      desc143.putBoolean( idcropWhenPrinting, false );

                      var idcropRectBottom = stringIDToTypeID( "cropRectBottom" );

                      desc143.putInteger( idcropRectBottom, 745 );

                      var idcropRectLeft = stringIDToTypeID( "cropRectLeft" );

                      desc143.putInteger( idcropRectLeft, 0 );

                      var idcropRectRight = stringIDToTypeID( "cropRectRight" );

                      desc143.putInteger( idcropRectRight, 594 );

                      var idcropRectTop = stringIDToTypeID( "cropRectTop" );

                      desc143.putInteger( idcropRectTop, 0 );

                  var idprintOutputOptions = stringIDToTypeID( "printOutputOptions" );

                  desc139.putObject( idprintOutputOptions, idprintOutputOptions, desc143 );

                  var idosSpecificPrintInfo = stringIDToTypeID( "osSpecificPrintInfo" );

                      var desc145 = new ActionDescriptor();

                      var idSstI = charIDToTypeID( "SstI" );

                      desc145.putData( idSstI, String.fromCharCode( 2, 0, 0, 0, 32, 110, 105, 87, 0, 0, 0, 0, 72, 0, 80, 0, 57, 0, 51, 0, 55, 0, 52, 0, 56, 0, 70, 0, 32, 0, 40, 0,

              72, 0, 80, 0, 32, 0, 69, 0, 78, 0, 86, 0, 89, 0, 32, 0, 52, 0, 53, 0, 48, 0, 48, 0, 32, 0, 115, 0, 101, 0, 114, 0,

              105, 0, 101, 0, 115, 0, 41, 0, 0, 0, 0, 0, 1, 4, 3, 6, 220, 0, 240, 3, 67, 191, 0, 2, 1, 0, 1, 0, 234, 10, 111, 8,

              100, 0, 1, 0, 1, 1, 88, 2, 2, 0, 1, 0, 88, 2, 3, 0, 1, 0, 76, 0, 101, 0, 116, 0, 116, 0, 101, 0, 114, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 18, 1, 0, 0, 255, 255, 255, 255, 71, 73, 83, 52, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 68, 73, 78, 85, 34, 0, 120, 1, 212, 3, 28, 0, 254, 245, 211, 128, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0,

              0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 120, 1, 0, 0, 83, 77, 84, 74, 0, 0, 0, 0, 16, 0, 104, 1, 123, 0, 56, 0, 68, 0, 70, 0, 53, 0, 69, 0,

              65, 0, 49, 0, 68, 0, 45, 0, 67, 0, 50, 0, 57, 0, 50, 0, 45, 0, 52, 0, 98, 0, 56, 0, 49, 0, 45, 0, 65, 0, 50, 0,

              48, 0, 57, 0, 45, 0, 53, 0, 48, 0, 57, 0, 52, 0, 50, 0, 54, 0, 49, 0, 52, 0, 67, 0, 57, 0, 53, 0, 53, 0, 125, 0,

              0, 0, 73, 110, 112, 117, 116, 66, 105, 110, 0, 49, 0, 82, 69, 83, 68, 76, 76, 0, 85, 110, 105, 114, 101, 115, 68, 76, 76, 0, 80, 97,

              103, 101, 79, 117, 116, 112, 117, 116, 81, 117, 97, 108, 105, 116, 121, 0, 78, 111, 114, 109, 97, 108, 0, 74, 111, 98, 80, 97, 103, 101, 79, 114,

              100, 101, 114, 0, 82, 101, 118, 101, 114, 115, 101, 0, 68, 101, 118, 105, 99, 101, 76, 97, 110, 103, 117, 97, 103, 101, 0, 80, 67, 76, 109, 83,

              0, 67, 111, 108, 108, 97, 116, 101, 0, 79, 78, 0, 68, 111, 99, 117, 109, 101, 110, 116, 78, 85, 112, 0, 49, 0, 67, 111, 108, 111, 114, 77,

              111, 100, 101, 0, 79, 102, 102, 0, 68, 117, 112, 108, 101, 120, 0, 78, 79, 78, 69, 0, 80, 97, 112, 101, 114, 83, 105, 122, 101, 0, 76, 69,

              84, 84, 69, 82, 0, 79, 114, 105, 101, 110, 116, 97, 116, 105, 111, 110, 0, 80, 79, 82, 84, 82, 65, 73, 84, 0, 82, 101, 115, 111, 108, 117,

              116, 105, 111, 110, 0, 54, 48, 48, 120, 54, 48, 48, 0, 77, 101, 100, 105, 97, 84, 121, 112, 101, 0, 48, 46, 49, 48, 48, 52, 46, 52, 55,

              55, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0,

              86, 52, 68, 77, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ) );

                  var idosSpecificPrintInfo = stringIDToTypeID( "osSpecificPrintInfo" );

                  desc139.putObject( idosSpecificPrintInfo, idosSpecificPrintInfo, desc145 );

                  var idCptn = charIDToTypeID( "Cptn" );

                  desc139.putString( idCptn, """""" );

              executeAction( idPrnt, desc139, DialogModes.NO );

               

               

              // =======================================================

              var idprintOneCopy = stringIDToTypeID( "printOneCopy" );                                      <=========================================print one copy

              executeAction( idprintOneCopy, undefined, DialogModes.NO );            

               

               

              // =======================================================

              var idmodalStateChanged = stringIDToTypeID( "modalStateChanged" );

                  var desc146 = new ActionDescriptor();

                  var idLvl = charIDToTypeID( "Lvl " );

                  desc146.putInteger( idLvl, 1 );

                  var idStte = charIDToTypeID( "Stte" );

                  var idStte = charIDToTypeID( "Stte" );

                  var identer = stringIDToTypeID( "enter" );

                  desc146.putEnumerated( idStte, idStte, identer );

              executeAction( idmodalStateChanged, desc146, DialogModes.NO );

               

               

              // =======================================================

              var idmodalStateChanged = stringIDToTypeID( "modalStateChanged" );

                  var desc147 = new ActionDescriptor();

                  var idLvl = charIDToTypeID( "Lvl " );

                  desc147.putInteger( idLvl, 0 );

                  var idStte = charIDToTypeID( "Stte" );

                  var idStte = charIDToTypeID( "Stte" );

                  var idexit = stringIDToTypeID( "exit" );

                  desc147.putEnumerated( idStte, idStte, idexit );

              executeAction( idmodalStateChanged, desc147, DialogModes.NO );

               

               

              // =======================================================

              var idPrnt = charIDToTypeID( "Prnt" );

                  var desc148 = new ActionDescriptor();

                  var idnull = charIDToTypeID( "null" );

                      var ref52 = new ActionReference();

                      var idPrpr = charIDToTypeID( "Prpr" );

                      var idprintOutput = stringIDToTypeID( "printOutput" );

                      ref52.putProperty( idPrpr, idprintOutput );

                      var idDcmn = charIDToTypeID( "Dcmn" );

                      var idOrdn = charIDToTypeID( "Ordn" );

                      var idTrgt = charIDToTypeID( "Trgt" );

                      ref52.putEnumerated( idDcmn, idOrdn, idTrgt );

                  desc148.putReference( idnull, ref52 );

                  var idprintOutput = stringIDToTypeID( "printOutput" );

                      var desc149 = new ActionDescriptor();

                      var idClrS = charIDToTypeID( "ClrS" );

                      var idClrS = charIDToTypeID( "ClrS" );

                      var idRGBC = charIDToTypeID( "RGBC" );

                      desc149.putEnumerated( idClrS, idClrS, idRGBC );

                      var idNm = charIDToTypeID( "Nm  " );

                      desc149.putString( idNm, """Pro4800 PLPP260""" );

                      var idInte = charIDToTypeID( "Inte" );

                      var idInte = charIDToTypeID( "Inte" );

                      var idClrm = charIDToTypeID( "Clrm" );

                      desc149.putEnumerated( idInte, idInte, idClrm );

                      var idMpBl = charIDToTypeID( "MpBl" );

                      desc149.putBoolean( idMpBl, false );

                      var idprintSixteenBit = stringIDToTypeID( "printSixteenBit" );

                      desc149.putBoolean( idprintSixteenBit, false );

                      var idprinterName = stringIDToTypeID( "printerName" );

                      desc149.putString( idprinterName, """\\XPS9100\EPSON Stylus Pro 4800""" );  <============================= seting ip the Epson 48000

                      var idprintProofSetup = stringIDToTypeID( "printProofSetup" );

                          var desc150 = new ActionDescriptor();

                          var idBltn = charIDToTypeID( "Bltn" );

                          var idbuiltinProof = stringIDToTypeID( "builtinProof" );

                          var idproofCMYK = stringIDToTypeID( "proofCMYK" );

                          desc150.putEnumerated( idBltn, idbuiltinProof, idproofCMYK );

                      var idproofSetup = stringIDToTypeID( "proofSetup" );

                      desc149.putObject( idprintProofSetup, idproofSetup, desc150 );

                  var idprintOutput = stringIDToTypeID( "printOutput" );

                  desc148.putObject( idprintOutput, idprintOutput, desc149 );

                  var idprintViewProofSetup = stringIDToTypeID( "printViewProofSetup" );

                      var desc151 = new ActionDescriptor();

                      var idBltn = charIDToTypeID( "Bltn" );

                      var idbuiltinProof = stringIDToTypeID( "builtinProof" );

                      var idproofCMYK = stringIDToTypeID( "proofCMYK" );

                      desc151.putEnumerated( idBltn, idbuiltinProof, idproofCMYK );

                  var idproofSetup = stringIDToTypeID( "proofSetup" );

                  desc148.putObject( idprintViewProofSetup, idproofSetup, desc151 );

                  var idprintOutputOptions = stringIDToTypeID( "printOutputOptions" );

                      var desc152 = new ActionDescriptor();

                      var idCptn = charIDToTypeID( "Cptn" );

                      desc152.putBoolean( idCptn, false );

                      var idClbr = charIDToTypeID( "Clbr" );

                      desc152.putBoolean( idClbr, false );

                      var idRgsM = charIDToTypeID( "RgsM" );

                      desc152.putBoolean( idRgsM, false );

                      var idCrnC = charIDToTypeID( "CrnC" );

                      desc152.putBoolean( idCrnC, false );

                      var idCntC = charIDToTypeID( "CntC" );

                      desc152.putBoolean( idCntC, false );

                      var idLbls = charIDToTypeID( "Lbls" );

                      desc152.putBoolean( idLbls, false );

                      var idNgtv = charIDToTypeID( "Ngtv" );

                      desc152.putBoolean( idNgtv, false );

                      var idEmlD = charIDToTypeID( "EmlD" );

                      desc152.putBoolean( idEmlD, false );

                      var idIntr = charIDToTypeID( "Intr" );

                      desc152.putBoolean( idIntr, false );

                      var idBckg = charIDToTypeID( "Bckg" );

                          var desc153 = new ActionDescriptor();

                          var idRd = charIDToTypeID( "Rd  " );

                          desc153.putDouble( idRd, 255.000000 );

                          var idGrn = charIDToTypeID( "Grn " );

                          desc153.putDouble( idGrn, 255.000000 );

                          var idBl = charIDToTypeID( "Bl  " );

                          desc153.putDouble( idBl, 255.000000 );

                      var idRGBC = charIDToTypeID( "RGBC" );

                      desc152.putObject( idBckg, idRGBC, desc153 );

                      var idBrdT = charIDToTypeID( "BrdT" );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc152.putUnitDouble( idBrdT, idRlt, 0.000000 );

                      var idBld = charIDToTypeID( "Bld " );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc152.putUnitDouble( idBld, idRlt, 0.000000 );

                      var idRslt = charIDToTypeID( "Rslt" );

                      var idPxl = charIDToTypeID( "#Pxl" );

                      desc152.putUnitDouble( idRslt, idPxl, 350.399994 );

                      var idvectorData = stringIDToTypeID( "vectorData" );

                      desc152.putBoolean( idvectorData, true );

                      var idPgPs = charIDToTypeID( "PgPs" );

                      var idPgPs = charIDToTypeID( "PgPs" );

                      var idPgPC = charIDToTypeID( "PgPC" );

                      desc152.putEnumerated( idPgPs, idPgPs, idPgPC );

                      var idLeft = charIDToTypeID( "Left" );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc152.putUnitDouble( idLeft, idRlt, 58.000000 );

                      var idTop = charIDToTypeID( "Top " );

                      var idRlt = charIDToTypeID( "#Rlt" );

                      desc152.putUnitDouble( idTop, idRlt, 12.500000 );

                      var idScl = charIDToTypeID( "Scl " );

                      var idPrc = charIDToTypeID( "#Prc" );

                      desc152.putUnitDouble( idScl, idPrc, 100.000000 );

                      var idcropWhenPrinting = stringIDToTypeID( "cropWhenPrinting" );

                      desc152.putBoolean( idcropWhenPrinting, false );

                      var idcropRectBottom = stringIDToTypeID( "cropRectBottom" );

                      desc152.putInteger( idcropRectBottom, 745 );

                      var idcropRectLeft = stringIDToTypeID( "cropRectLeft" );

                      desc152.putInteger( idcropRectLeft, 0 );

                      var idcropRectRight = stringIDToTypeID( "cropRectRight" );

                      desc152.putInteger( idcropRectRight, 594 );

                      var idcropRectTop = stringIDToTypeID( "cropRectTop" );

                      desc152.putInteger( idcropRectTop, 0 );

                  var idprintOutputOptions = stringIDToTypeID( "printOutputOptions" );

                  desc148.putObject( idprintOutputOptions, idprintOutputOptions, desc152 );

                  var idosSpecificPrintInfo = stringIDToTypeID( "osSpecificPrintInfo" );

                      var desc154 = new ActionDescriptor();

                      var idSstI = charIDToTypeID( "SstI" );

                      desc154.putData( idSstI, String.fromCharCode( 2, 0, 0, 0, 32, 110, 105, 87, 0, 0, 0, 0, 92, 0, 92, 0, 88, 0, 80, 0, 83, 0, 57, 0, 49, 0, 48, 0, 48, 0, 92, 0,

              69, 0, 80, 0, 83, 0, 79, 0, 78, 0, 32, 0, 83, 0, 116, 0, 121, 0, 108, 0, 117, 0, 115, 0, 32, 0, 80, 0, 114, 0, 111, 0,

              32, 0, 52, 0, 56, 0, 48, 0, 0, 0, 0, 0, 1, 4, 0, 16, 220, 0, 108, 5, 15, 155, 128, 7, 1, 0, 1, 0, 234, 10, 111, 8,

              100, 0, 1, 0, 7, 0, 104, 1, 2, 0, 1, 0, 104, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 2, 0, 0, 0, 104, 1, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 9, 4, 69, 0, 80, 0, 83, 0, 79, 0, 78, 0, 32, 0, 83, 0, 116, 0, 121, 0, 108, 0,

              117, 0, 115, 0, 32, 0, 80, 0, 114, 0, 111, 0, 32, 0, 52, 0, 56, 0, 48, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 4, 5,

              10, 6, 7, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 104, 1, 1, 0, 0, 0, 3, 0, 5, 0,

              1, 0, 0, 0, 1, 0, 0, 0, 4, 0, 3, 0, 3, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0,

              6, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 69, 0, 69, 0, 51, 0, 49, 0, 51, 0, 95, 0,

              95, 0, 49, 0, 46, 0, 105, 0, 99, 0, 109, 0, 0, 0, 114, 0, 114, 0, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0,

              0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 3, 0, 0, 76, 4, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 104, 1, 0, 0,

              104, 1, 0, 0, 160, 11, 0, 0, 136, 14, 0, 0, 104, 1, 0, 0, 104, 1, 0, 0, 244, 11, 0, 0, 120, 15, 0, 0, 42, 0, 0, 0,

              42, 0, 0, 0, 42, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 244, 11, 0, 0,

              120, 15, 0, 0, 42, 0, 0, 0, 42, 0, 0, 0, 42, 0, 0, 0, 198, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 117, 0, 0,

              1, 0, 0, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,

              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ) );

                  var idosSpecificPrintInfo = stringIDToTypeID( "osSpecificPrintInfo" );

                  desc148.putObject( idosSpecificPrintInfo, idosSpecificPrintInfo, desc154 );

                  var idCptn = charIDToTypeID( "Cptn" );

                  desc148.putString( idCptn, """""" );

              executeAction( idPrnt, desc148, DialogModes.NO );       <++++++++++++++++++++++++++++++++++++++end pf print setup  I did not follow up withe the Print button to print one copy.