Script for Preprinted continues label print

Hi All,
I am developing one script in that the stationary was preprinted one with label dimensions of
10 CM width 7 CM height.
For this dimensions I had created new page format and assign to device type EPESCP.
Problem:
I am printing my label on dot matrix printer. It is giving me a weird problem. Print preview looks perfect. In script page I have given enough space to print the preprinted text after that window to write the label content. First page is getting printed perfectly and on second page it printing the label 3 lines upwards and on third page it printing 6 lines upwards and so on... so this is disturbing  my alignment.
While assign the page format in device type there is a tab Formats in that
Printer initialization, Reset after exit, End of page, End of line what is the use of the this options ?
By
Ram.

Hi Tripathy ,
     Thanks for Quick and valuable reply.
In my case ,i am print label of constant 15 lines per page. So in second page also its going to print 15 lines.
The first page is print correctly but in next page on wards 23 lines moving upwards.
The problem is till there.Pls give me ur suggestion its urgent.
By,
Ram.

Similar Messages

  • BarTender for Zebra Barcode Label printing using Smartform

    HI Experts,
    Does anyone know how to use BarTender 7.10 software to create barcode labels for Zebra printer?
    I have to include a jpg Logo into the Label using BarTender.
    But when I test using the Zebra printer - the logo/picture won't print out.
    Any idea?
    Thank You.
    Best Regards,
    CW

    Hi There,
    I had problems with using Bartender when I tried to print a logo onto my labels, but I contacted a [labelling company |www.iidsolutions.net] who specialise in barcode label printing and the bartender software,  they sorted out my problem but then after a chat with them I decided it would be easier to get them to print the labels for me as I had loads of changes and they were quite cheap.  See if they can help you. :~)
    Good luck.
    Dave.

  • Crop & Straighten script for vinyl record labels

    Hey guys i have thousands of circular vinyl record labels that i have taken photos for.
    I have created an action for doing this but it keeps opening many chunks as separate files and never closes/saves them leading the program to run out of memory.
    I am hoping that a script can be created to allow the processing of a folder where it automatically saves/closes the files to a new destination.
    It would also be better if it can close without saving and chunks that are small which would save me having to delete them manually.
    Thanks

    Have a look at this thread, it may help.
    http://forums.adobe.com/message/3430751

  • Script for document name labels

    How hard would this be?
    A script that would type the file name into the document. I searched for similar threads but no luck. Here are the details...
    1. If the document was named TEST.pdf the script would type TEST in the document.
    2. The font color, size, and type would be Black, Arial Bold,  0.4 in.
    3. The font would be converted to outlines.
    4. A rectangle 0.05" larger than text would be placed around the text.
    5. The rectangle would have no fill and a 100% magenta spot color named "CC" stroke.
    6. The rectangle stroke would be moved to the CC layer (pre-existing layer).
    7. The text "TEST" would be moved to the Artwork layer  (pre-existing layer).
    Thanks for any input or help.
    Anton

    Anton, this should be pretty close for a guide… I don't know what your exact font name would be… so this uses my closest match. Also you don't mention text positioning on the artboard/doc… The stroke is default 1pt as is. The height of the outlined text would be dependent on your font and you may have to tinker with the size where shown…
    #target illustrator
    function docNameToText() {
         if (app.documents.length = 0) {
              return;
         } else {
              var docRef = app.activeDocument;
              var docName = docRef.name;
              var text = docName.replace(/\.(ai|eps|pdf)$/i,'');
              var arialFont = app.textFonts.getByName('ArialMT-Bold'); // Add font name here…
              var nameText = docRef.textFrames.add();
              nameText.contents = text;
              var nameChar = nameText.lines[0].characters;
              for (var i = 0; i < nameChar.length; i++) {
                   nameChar[i].characterAttributes.textFont = arialFont;
                   nameChar[i].characterAttributes.size = 40; // Adjust font size here…
              var textGroup = nameText.createOutline();
              textGroup.position = [36,-36]; // Half Inch down/across from top/left
              var groupBounds = textGroup.visibleBounds;
              var ccLayer = docRef.layers.getByName('CC');
              textGroup.move(ccLayer, ElementPlacement.INSIDE);
              var artLayer = docRef.layers.getByName('Artwork');
              // This can't be the right way to do this now can it?
              var boxTop = groupBounds[1] + 4;
              var boxLeft = groupBounds[0] - 4;
              var boxWidth = (groupBounds[2] - groupBounds[0]) + 8;
              var boxHeight = (-groupBounds[3] - -groupBounds[1]) + 8;
              var spotBox = docRef.pathItems.rectangle(boxTop,boxLeft,boxWidth,boxHeight);
              spotBox.filled = false;
              spotBox.stroked = true;
              //spotBox.strokeWidth = 1; // Default is 1pt
              var ccSpot = docRef.swatches.getByName('CC');
              spotBox.strokeColor = ccSpot.color;
              textGroup.move(artLayer, ElementPlacement.INSIDE);
    docNameToText();

  • Script for payment advice/check

    Hi gurus,
    My client wants to use a stationery where in i have payment advice in the top part of the page and the check in the lower part of the page.
    This is to be used in the automatic payment proposal
    T code F110
    Is a standard script for cheque/payment advice printing avaliable?
    Can anyone suggest the script to be used for this?
    Regards,
    Rishikesh

    Hi,
    We have continuous stationery which is of A4 size
    the top half is payment advice and the bottom half is for check
    ie the payment advice is printed in the top half and the check in the bottom half.
    I want the standard SAP scrip which i can use for such a scenerio.
    does this clarify the situation?
    Regards

  • How do we enable cutter option in the SAP Script for Zebra Label Printer

    Hi Gurus,
    We use Zebra Label(ZM400) printers to print the material documents(SAP Script). Could someone please tell me how do we enable the cutter option in the Zebra printer for the SAP Script?
    Your vaulable answers will be highly appreciated.
    Thanks in advance.
    Regards,
    Manoj.

    Hi Manoj,
         In Script you dont want to add any logic for Label Cutter, It should be in the Zebra printer settings if the printing is over it should cut the paper. If the print area is predefined for your material label then you can make use of standard label papers (Like 2"x4", 3"x4"....)
    Regards
    GK.

  • Problem in continuous Material Label Printing

    Hi Experts,
              I am using SAP Script for Material Label Printing and Dot-matirx printer for printing.
              There are 6 labels getting printed on a Page. There is no problem in printing but what happens,
              whenever there is a new material getting printed, it skips the current page and resumes the
              printing from new page.
              Example. there are 8 labels for a Material-1 and 3 labels for Material-2. 6 labels for
              Material-1 would print on 1st Page, the rest 2 would print on 2nd page. Now the 3 remaining
              labels for Material-2 are getting printed on 3rd page which should get printed on 2nd Page itself
              as there is space for 4 more labels on 2nd page.
              Please help me out on this.
    Regards,
    Ravi.

    Hi ,
    every material there will be started an new sapscript (probably)
    You will have to change your program that way that all materials and belonging data comes into 1 internal tab.
    If you print this tab in 1 big loop (instead of a nested loop for everymaterial) everything will go fine.
    Sucees,  Gr., Frank

  • Label printing issue with chinese characters (SAP script)

    Hi ,
    I have a requirement to print chinese characters on label print out.
    Here are the steps already tried:
    1) Created a new device type which is copy if ASCIIPRI and character set 8400
    2) Font ANDALE_S, CNHEI, CNSONG are assigned to device type, same fonts called in SAP script.
    3) During the print, it is picking ANDALE_S font(observed in spool RAW data), but preview is good.
    4) I put ZPL codes CW1,B:MSUNG.FNTFS in beginning of script and also ^A@N,50,50,B:MSUNG.FNT while prining actual chinese text in SAP script.
    5) also tried other device types assigned to printer LZEBU2, LB_ZEB2 etc.,
    6) already checked at printer DIMM level, SIMSUN, ANDALE_S fonts are already installed
    7) Character set on printer is same as in SAP
    So far no option worked, it default to Courier fonts while printing and it results garbage characters.
    If anyone has ideas, please advice.
    thank you,
    Anil

    Hi,,
    If the ZPL commands are correct for switching to the printer's internal CHinese font and character set, it may work to add the fonts via SE73 -> Printer Fonts -> ASCIIPRI . In here you need to add the commands in the print control SFxxx for your created font.
    Another possibility is to print via windows and device type CNSAPWIN. Here it should not be necessary to add any font.
    Regards,
    Aidan

  • Standard Smartform for label printing for packages - pls advice

    Hi All,
    I need help in changing a print program ie Standard Smartform for label printing for packages ?
    Standard Driver program: SDPACKDR
    Please provide me with the detailed steps for editing the Std Smartform according to any requirement.
    Points will be rewarded promptly.
    Thanks.

    hi,
    1. The smartform name is SD_PACK_ETIK.
    2.Just copy the standard program into Zprogram and make chanes and assign in NACE with the form.
    3.But,in smartform lable printing is not possible.
    4.you can print barcodes.
    Regards,
    Kumar(Reward if helpful).

  • It is possible to have a dynamic Oracle Label Security procedure/script to configure data label (compartments and data label)  for multiple rows at same time?

    A single script which can be run below mentioned commands...  instead of using multiple manual steps for configuring data labels. Is that possible and how? Having bulk of data where OLS need to be applied.
    exec LBACSYS.SA_COMPONENTS.CREATE_COMPARTMENT
    exec SA_LABEL_ADMIN.CREATE_LABEL
    exec SA_POLICY_ADMIN.APPLY_TABLE_POLICY

    Have you ever answered this question? If not, have you tried to use the "HIDE" property on your table_options?

  • How to attach print program and sap script for F150 transaction

    How to attach print program and Z sap script for F150 transaction

    Hi,
    you can find the customization for dunning in transaction SPRO under this path: Financial Accounting->Accounts Receivable and Accaounts Payable->Business Transactions->Dunning.
    Kostas

  • Label printing for serial numbers out of production order

    Dear PP experts,
    according to the standard help description, it should be possible to
    print a label with barcode for each serial number generated for production order when printing shop floor papers.
    As for the standard set up, the following forms are assigned for
    production order object, where none of them seems to be a label type.
    LF01 PRT overview
    LG01 Object list
    LG02 Op. control ticket
    LG03 Job Ticket
    LG04 Kanban ticket
    LK01 Pick list
    LK02 Goods issue slip
    LK03 Goods receipt list
    LP01
    LP02
    LV01 Time ticket
    LV02 Confirmation slip
    LV03 Document links
    LV04 Operation Splitting
    Some of the print programs contain the ser.number information though
    none of them is designed for label printing. Does anyone know
    further information how is the label printing intended to work for
    serial numbers in production order?
    Thanks.
    Peter --
    Message was edited by:
            Peter Hanak

    Hi,
    The process of scanning barcodes and label printing :
    First u have to define the output type which has tobe attached with or linked to a "form" or "Smart Form" which displays a label layout.Through ABAP coding u have to link the object (any of the mentioned by u) with the "form or smart form".
    So as u scan the barcode with serial number the label gets printed at the required stage of production order processing.
    This includes the pure Technical stuff of coding.
    Prakash

  • Script for printing changed pages only

    Does anyone know of a script that will allow the printing of only those pages that have had changes made to them since a previous save? I'm a typesetter doing work only on books and journals and sometimes it's a bit tedious to keep track of the individual pages one works on. thanks,

    Ok,
    Here is a raw code. All you need to do is edit the script to specify the printer preset you want to use. I don't have a printer my self to debug but I think it should work.
    Here is the idml to grab the object styles. Don't forget to apply on objects located onto the pasteboard. The script look for these objects and grab the page name next to them to finally print these pages.
    Hope it helps,
    Loic
    function main(){
              var doc,
              changedArray = [],
              changedStyle,
              unchangedStyle,
              i=0,
              max=0,
              found = [],
              pagerange = [];
              obj,
              vb,
              leftPage,
              leftPageBounds,
              rightPage,
              rightPageBounds,
              pagerange = "";
              if(!app.documents.length){ return; }
              var doc = app.activeDocument;
              changedStyle = doc.objectStyles.itemByName("changed");
              unchangedStyle = doc.objectStyles.itemByName("unchanged");
              if(!changedStyle.isValid ||  !changedStyle.isValid){
                        alert("Problem with object styles. Script requires both \"changed\" and \"unchanged\" styles.");
                        return;
              app.findObjectPreferences.appliedObjectStyles = changedStyle;
              found = doc.findObject();
              max = found.length;
              for(i=0; i<max; i++){
                        obj = found[i];
                        vb = obj.visibleBounds;
                        leftPage = obj.parent.pages[0];
                        leftPageBounds = leftPage.bounds;
                        rightPage = obj.parent.pages[-1];
                        rightPageBounds = rightPage.bounds;
                        if(vb[1]>rightPageBounds[1]){
                                  pagerange.push(rightPage.name);
                        else if(vb[1]<leftPageBounds[1]){
                                  pagerange.push(leftPage.name);
              app.printPreferences.activePrinterPreset = app.printerPresets.itemByName("my printer preset");
              var oldPrintPrefs = doc.printPreferences.pageRange;
              doc.printPreferences.pageRange = pagerange.join(",");
              alert("Gone printing");
              app.print();
              doc.printPreferences.pageRange = oldPrintPrefs;
    main();

  • Third party tool for label printing.

    Hi,
    Any body given me third party tool for label printing for different items
    Regarding
    anil

    HI,
    U can use <b>ZEBRA printer</b>  , It is a thrid party tool for lable printing/

  • Script for downloading files from pdf placed on web, script for printing for exchange-

    Looking for java script command to set on button in pdf. We have mp3 and pdfs on our web site, example of URL: http://www.uzlicek.cz/download/Pohadky/O_holcicce_ktera_si_prala_byt_dospela.mp3
    By clicking on button/link in reader I would like to appear a dialog box with offer to Safe file as…
    Any suggestion? In case of using “link tool” the file starts downloading to cache and this is not the objective. In case of using “sound tool”, the file does not appear for saving.
    For exchange the script for Print the current page:
       var n = this.pageNum;
        var pp = this.getPrintParams();
        //pp.pageSubset = pp.subsets.all;
        //pp.printContent = pp.constants.printContent.doc;
        pp.firstPage = n;
        pp.lastPage = n;
        this.print(pp);
    Cheers Martin

    It can't be done using only a PDF file - any link to a URL will simply open your web browser, and whatever handler that browser uses when presented with MP3 files will be triggered (download, play, etc.) - nothing in the PDF can override that handler and force a "save" operation.
    Instead you'll need to configure your website to force downloads (using HTTP headers) and link to those URLs instead; which is a subject outside this forum.

Maybe you are looking for