Problem in printing script.

Hi all.
I am modified layout  Medruck.Same is transported in production also. but when i take print in both development and production on same printer then the printout not come same. means font size changes. Can anyone tell me why this happens? I have created font family but it is same in both servers..please help me..
Thanks..

Hi,
This cud be the problem with printer settings of the different server in the transaction SP01. discuss with basis guy .
it can be solved .
Reward Points if it is Useful.
Thanks,
Manjunath MS

Similar Messages

  • PROBLEM WITH PRINTING SCRIPT

    HII FRNDS ,
    ACCORDING TO MY REQUIREMENT I HAVE DEVELOPED A SCRIPT AND A DRIVER PROGRAM . THE STANDARD PROGRAM WAS RIPRGI00. AND THE SCRIPT WAS PM_COMMON . DUE TO SOME SPECIFIC REQUIREMNT I HAD TO DEVELOP THE WHOLE PROGRAM AND THE SCRIPT FROM SCARCTH .
    NOW THE THING IS THAT WHEN I AM TRYING TO GIBE MY FORM NAME AND PROGRAM NAME IN TRANSACTION CODE OID1 AND SAVING IT THN ITS GVNG ME A PP MESAGE THAT PRINT_PAPER WHICH IS THE ROUTINE IS NOT CALLED FROM THE DRIVER PROGRAM . SO CAN ANYBODY HELP ME WITH THIS . I HAVENT CALED ANY ROUTINE FROM MY DRIVER PROGRAM . I HAVE JUST CALLED MY SCRIPT BY USING THE FN. MODULE OPEN_FORM AS
    CALL FUNCTION 'OPEN_FORM'
       EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
         DEVICE                            = 'PRINTER'
         DIALOG                            = 'X'
         FORM                              = 'Z_WORK_ORDR'
         FORM                              = T390-FORM
         LANGUAGE                          = SY-LANGU
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
      SPONUMIV                          =
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
       EXCEPTIONS
         CANCELED                          = 1
         DEVICE                            = 2
         FORM                              = 3
         OPTIONS                           = 4
         UNCLOSED                          = 5
         MAIL_OPTIONS                      = 6
         ARCHIVE_ERROR                     = 7
         INVALID_FAX_NUMBER                = 8
         MORE_PARAMS_NEEDED_IN_BATCH       = 9
         SPOOL_ERROR                       = 10
         CODEPAGE                          = 11
         OTHERS                            = 12
    THANKS
    ROHIT

    HI RAGURAM
    DO U MEAN THAT I SHOULD COPY THE STANDARD PROGRAM AND THEN DO THE REQUIRED MODIFICATION IN IT ...I AM SEEING IN THE STANDARD PROGRAM THAT FORM T390-FORM HAS BEEN CALLED IN THE FM OPEN_FORM .AS  Open the SAPSCRIPT FORM.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          ARCHIVE_INDEX  = G_TOA_DARA_TAB
          ARCHIVE_PARAMS = G_ARC_PARAMS_TAB
          DIALOG         = SPACE     " SAPSCRIPT diaglog
          DEVICE         = DEST_DEVICE
          FORM           = T390-FORM " the form to print
          LANGUAGE       = PRINT_LANGUAGE                 "
          OPTIONS        = ITCPO.
    SO SHOULD I REMOVE THIS AND PUT MY OWN DEVELOPED SCRIPT NAME ..
    THANX
    ROHIT

  • Problem with printing graphics in SAP Script

    Hi,
    I am facing problem with printing of graphics in SAP Script. I uploaded a bitmap file from pc to se78. Then I inserted it in SAP script.
    I am able to view it in the printpreview as well as in the spool number. But it is not getting printed.
    Plese tell me the solution.
    Thanks,
    Srinivas

    You need to check your printer settings.Might be drivers are missing.

  • Printing problem for SAP Script

    Dear Friends,
    I am facing strange problem for SAP Script. In the billing document output the sold to party and ship to party address are displaying. When user print the billing document on laser printer it print the Country for Sold to and Ship to. But when it print the same billing document on normal printer (other than laser) the Sold to country not printing.
    The print preview of billing document in SAP  correctly display country for Sold-to and Ship-to.
    I have recently make changes in the SAP Script form (Address window) to display country for Ship-to which was never displayed before. I have added FROMCOUNTRY option after COUNTRY in address window. COUNTRY will be Ship-to and FROMCOUNTRY will be VBDKR-SLAND.
    Can any one help me to solve this problem.
    Regards
    Nilesh Shete

    Used custom address print option instead of using ADDRESS

  • Check printing script debuggin problem

    Hi
    i am working on a check printing script. i need to adjust the layout of few things in this layout.
    in the debuggin mode i am getting the short dump stating vendor number = xxxxxxxxxxxx (invalid).
    can anyone tel me the windows for date,account payee,amount in words and amount in figures or atleast the fields related to them r tell me where i have to correct my script to proceed in debuggin mode.
    thanks in advance

    Hi,
    CHECKSPL  -> for amount in words,
    CHECK -> other fields ( date, amount )
    CHECKADD -> Payee
    other open form se71 -> display -> go to UTILITIES menu -> select FORM INFO. option
    There you find with general Find( CTRl + F ).
    Reward if helpful.
    Bye

  • Problem in printing to LPT1 through applet?

    Hello everyone,
    I am having problem in printing through Applet in LPT1 of remote client machine using "gridDoubleClicked" method of customized "GridPanel" which is third party component. The class structure is given below:
    public class GridPanel extends Panel implements GridPanelInterface, AdjustmentListener, KeyListener, FocusListener, Serializable
    }I am using above class to populate data in table and perform "double click" action. I am using JDK 1.5 and a self signed jar to access from remote machines through applet.The code, I am using is given below:
    public class testApplet extends Applet {
        printToLPT1 lpanel =new printToLPT1();
        public void init() {
          this.setLayout(new BorderLayout());
          this.add(lpanel, BorderLayout.CENTER);
          this.setSize(380, 250);
    public class printToLPT1 extends Frame{
    GridPanel grid;
    public printToLPT1() throws Exception {
    grid.addGridListener(new GridAdapter() {
                public void gridDoubleClicked(GridEvent ge) {               
                    testPrint();
    public static void testPrint() throws Exception {
            try {
                BufferedOutputStream pos = new BufferedOutputStream(new FileOutputStream("LPT1"));
                String str = "\n\n\n\n\n\n\n\n\n\n\n";
                pos.write(str.getBytes());
                pos.flush();
                pos.close();
            } catch (Exception fnfe) {
                throw new Exception("PRINTER SETUP IS NOT PROPER");
    }For applet, I have used following script in login.html:
    <APPLET
         height="200px"
         archive="testprinter.jar,jbcl.jar,grid.jar,plugin.jar" 
         width="390px"
         align="top"
         code="test.testApplet.class"
         name="Testing"
        ALT="<P>This applet requires Java to be enabled!  Check the browser options or see your SysAdmin." MAYSCRIPT>
        <P>This page requires Java!  Get it free from <A HREF='http://www.java.com/'>www.java.com</A>.</P>
    </APPLET>
    ------------------- If signed jar file of application is run using command line in client machine then "double clicked" of GridPanel method works fine and send signal to printer at LPT1 port but when same application is called using applet and accessed from remote machine with printer in LPT1 port, in that time also "double clicked" of GridPanel method works fine but printer could not be found and Exception is thrown java.lang.Exception:"PRINTER SETUP IS NOT PROPER" . Why is this happening? Can anyone suggest me the solution for this problem?
    Thanks in advance.
    -Ritesh
    Edited by: ritesh163 on Apr 15, 2010 2:56 PM

    The SSCCE for this problem is given below:
    //Applet class
    package test;
    import java.awt.BorderLayout;
    import javax.swing.JApplet;
    public class testApplet extends JApplet {
        testPrint lpanel =new testPrint();
        public void init() {
          this.setLayout(new BorderLayout());
          this.add(lpanel, BorderLayout.CENTER);    
          this.setSize(380, 250);    
    // Printing class...
    package test;
    import com.borland.jbcl.layout.XYConstraints;
    import java.awt.Color;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.io.BufferedOutputStream;
    import java.io.FileOutputStream;
    import wdn.grid.GridAdapter;
    import wdn.grid.GridData;
    import wdn.grid.GridEvent;
    import wdn.grid.GridPanel;
    public class testPrint extends javax.swing.JFrame {
        // Variables declaration - do not modify                    
        private javax.swing.JButton btnPrint;
        private javax.swing.JPanel jPanel1;
        // End of variables declaration     
        GridPanel grid;
        GridData gdata;
        String[] gridCols = {
            "Receipt No", "Name"};
        public testPrint() {
            grid = new GridPanel(0, 8);
            gdata = new GridData(0, 8);
            grid.setRowHeaderWidth(0);
            grid.setGridData(gdata);
            grid.setMultipleSelection(false);
            grid.setColWidths("100,60");
            grid.setColHeaders(gridCols);
            setGridProperties(grid);
            grid.setColSelection(false);
            this.setVisible(true);
            grid.addGridListener(new GridAdapter() {
                public void gridDoubleClicked(GridEvent ge) {
                   //This event works fine...
                    System.out.println("Press Re-Print button...");
                    try{
            stringToPrinter("testing by grid \n\n\n\n\n\n\n\n\n\n\n\n\n");
            }catch(Exception ex){
                ex.printStackTrace();
                public void gridCellsClicked(GridEvent ge) {
                    btnPrint.setEnabled(true);
            initComponents();
            jPanel1.add(grid, new XYConstraints(52, 60, 100, 150));
            grid.deleteRows(1, grid.getNumRows());
            grid.insertRow(1);
                        grid.setCellText(1, 1, "12134", false);
                        grid.setCellText(2, 1, "test" + "", false);
                        grid.repaintGrid();
        private void initComponents() {
            jPanel1 = new javax.swing.JPanel();
            btnPrint = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            btnPrint.setText("Print");
            btnPrint.setToolTipText("to Print");
            btnPrint.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    btnPrintActionPerformed(evt);
            org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .add(36, 36, 36)
                    .add(btnPrint)
                    .addContainerGap(287, Short.MAX_VALUE))
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
                    .addContainerGap(198, Short.MAX_VALUE)
                    .add(btnPrint)
                    .add(57, 57, 57))
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addContainerGap())
            pack();
        }// </editor-fold>                       
        private void btnPrintActionPerformed(java.awt.event.ActionEvent evt) {                                        
            try{
            stringToPrinter("testing \n\n\n\n\n\n\n\n\n\n\n\n\n");
            }catch(Exception ex){
                ex.printStackTrace();
        public static void setGridProperties(GridPanel grid) {
            grid.setRowHeaderWidth(0);
            grid.setAutoResizeColumns(true);
            grid.setRowNumbers(true);
            grid.setCellSelection(false);
            grid.setRowSelection(true);
            grid.setHighlightColor(Color.blue);
            grid.setHighlightTextColor(Color.white);
            grid.setAutoResizeRows(true);
            grid.addKeyListener(new KeyAdapter() {
                public void keyTyped(KeyEvent e) {
                public void keyPressed(KeyEvent e) {
                    if (e.getKeyChar() == KeyEvent.VK_SPACE) {
                public void keyReleased(KeyEvent e) {
        public static void stringToPrinter(String str) throws Exception {
            try {
                System.out.println("inside stringToPrinter...");
                BufferedOutputStream pos = new BufferedOutputStream(new FileOutputStream("LPT1"));
                System.out.println("inside stringToPrinter...1-pos::"+pos);
                pos.write(str.getBytes());
                pos.flush();
                pos.close();
            } catch (Exception fnfe) {
                throw new Exception("PRINTER SETUP IS NOT PROPER");
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new testPrint().setVisible(true);
    }

  • Getting font problem for printing form in Production server.

    Hi experts,
                   We are getting problem while printing form in production server. As it gives no problem in Quality server while printing the same, the print is fine. We applied packages from 26 to 28 level for version 4.7. When we moved this packages to Production server we got problem of font while printing the form for some of scripts. But the surprise is that in Quality server the print is fine, no problem at all.
                  Can any one suggest me on this issue.
    Regards,
    Sagun Desai.

    Hi sagun,
    Please check the spool request generated on production server using tcode SP01.
    Goto dispaly spool request and check the spool.If the spool too displays your script correctly then there is a problem in printer connected to production server.
    The printer connected to the test server  might be rightly conffigured to print the output.Please check the settings of the printer connected to the production.
    Hope this helps.
    Regards,
    Subodh

  • Problem in printing Portuguese characters

    Hi ,
    We are facing a problem while printing certain Portuguese character . Please guide how to print the PORT characters in SAP script?
    Thanks
    Saurabh

    Hi Saurabh,
    Did you [Search|https://www.sdn.sap.com/irj/scn/advancedsearch?query=chinesecharactersin+Script&cat=sdn_all] before posting...
    and also refer to this [link|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00adf4da-76f1-2910-43aa-81ad2a67332c]
    Regards!

  • Problem in print preview

    Hi all,
    I am working on sap scripts. i have problem in print preview,
    1. I have 2 pages in my layout ,but only one page is displyed in the preview, iam able to view 2 pages in other test program , i have compared all the atrubutes  with test program , it's same for both.
    2.  Iam getting  border lines for all the windows on the layout which i don't want  on the page, when printed
    It would be appreciated if  anybody could  give me suggestion or sollution.
    Regards,
    Sre.
    Title Edited by: Alvaro Tejada Galindo on Jan 11, 2008 4:13 PM

    Hi sayak,
    Thanks for your reply, I have followed as u suggested but it's not working. still iam getting only single page .
    I think in the second page we give next page as the same i.e page2 as if there is no other page after page2.
    please suggest me in other way.
    Regards,
    Sre.

  • Facing problem in Printing network shop papers.

    Hi
    Iam facing a problem in printing Network shop papers
    T-code CN22/CN23
    after entering in to network in CN22/CN23 select menu path as below
    path : Network - Print - Shop papers
    we have many network in a project , there we are printing shop papers for all network as shown in path.
    After taking print shop papers the system status PRT(print) is updated in one network and in all remaining network PPRT(part print) is updated , but we are unable to take print shoppapers of the network which is having PRT status.
    But the question here is how the PRT staus is updated in only one network since we are taken print of other network also.
    can we change this system status , or is there any other way to tek print of that particular network having status PRT.
    expect your early help on this as this critical issue.
    thanks in advance .

    Hi,
    In driver program.
    call open_form.
    loop at itab into fs.
    call write_form.
    endloop.
    call close_form.
    In script editor.
    /E TEXT
    &fs-field1&,,&fs-field2&
    This works .

  • Quantity field conversion problem in SAP script

    Hi experts,
    I have problem with sap script quantity field conversion.
    In purchase order the actual value of field( MDPM-ERFMG) is 3,500.
    But in Print preview it is showing only 3.5
    Any one Please help me in this problem
    thanks in advance
    murali

    Hello,
    check this:
    Number of Decimal Places
    A program symbol of one of the data types DEC, QUAN, and FLTP can contain decimal place data. Use the option below to override the Dictionary definition for the number of decimal places for the formatting of this symbol value.
    Syntax
    &symbol(.N)&
    The EKPO-MENGE field contains the value 1234.56. The Dictionary definition specifies 3 decimal places and an output length of 17.
    &EKPO-MENGE& -> 1,234.560
    &EKPO-MENGE(.1) -> 1,234.6
    &EKPO-MENGE&(.4) -> 1,234.5600
    &EKPO-MENGE&(.0) -> 1,235
    REgards,
    Vasanth

  • Problem on printer queue

    Hi Gurus,
    there is a problem on printer queue when the user AAA wants to print an order.
    This user can create and print the order. Also if the user set the printer as XXX the System print on the YYY printe. Besides if the user modify a created order he can't print. Probably there is a SAP value set to modify.
    Can anybody help me? Can you write me the right steps to solve the problem?
    thank you so much
    Vallex

    Apparently this error was due to the user I was logged in testing with not being an administrator (maybe a power user would have worked as well) in Windows. Upon changing this user to a local admin, I was able to add the printer queue. It does give an alert that "The server for the printer does not have the correct printer driver installed" and that I have to manually install and/or select it.
    So, problem solved...mostly. A couple of lingering oddities are that the print queue's status shows "Access denied, unable to connect", rather than "Ready". I seem to be able to print w/o issue, however. Other thing is that I guess I will not be able to use the logon script to ensure the printer queue is connected, due to having to select the proper driver manually. Any thoughts on either of these?
    Thx,
    FT

  • Problem with SAP Script FAX output

    Hi Friends,
    I have problem with SAP Script Fax output.
    After I issued output using the messge type, the print preview format shows me correct alignments and the right data. But when I go to List display using the menu bar functions from the print preview screen, the list is showing me the right data, but all the alignments at the main window went wrong.
    How do I rectify this problem? I need correct alignments in both form display and list display.

    Hi Sasidhar,
    Have you tried with different fax machine.
    Regards,
    Atish

  • Problem in Print Out of Excise register RG1

    Dear all,
    We have a business scenario as follows:
    1.Production Order Confirmation-101, 261 for receipt
    2. Scrap Receipt-262.
    For Scrap Sales:
    The entry in RG1 should be Scrap receipt (262) and then despatch of scrap i.e issue(601).
    During updation we do the following:
    We receive  scrap in RG1 register through RMA classification. Then we issue the scrap in RG1 register through IDH Classification. The register also get updated and extracted successfully.
    Problem: While printing of RG1 register there is no entry for  Receipt (262) and issue(601) of scrap.
    Regards,

    Can anyone pls suggest how to capture Scrap sale in RG1.

  • Problem with printing in character mode

    Hi
    I got a genuine problem in printing continous payslips using character mode with a TALLY6050 printer.
    I guess there is a problem with the page setup when i try to print via windows. using different sizes of paper (Letter, A4, A3), the printed data is shifting from one page to another but the shift is following a same trend.
    i tried to put one payslip per page using page breaks, but in vain. Three payslips are being printed on one page when viewed in the print perview.
    Can anyone suggest any help or tips so that i can solve this problem?
    Thanks for your help
    Bhavish

    Thanks for your response.  I went ahead and filed a Correction Action Request for your orignal issue, since I was able to reproduce the same behavior when I ran your VI.  The solution of printing the front panel of a subVI displaying the same graph is a workaround for this problem. Please look at the following KnowledgeBase for more details on how to do this.  Hope this helps!
    How Do I Print a Single Control from the Front Panel (for example, a Graph)?

Maybe you are looking for

  • Program Error while printing

    When I try to print a Report, it works very Well with our HP LaserJet 2100, butr as soon as I try to print the Report on The HPC LaserJet 4550N, I have a Program Error ... " PROGRAM ERROR : RWBLD60.exe has generated errors and will be closed by Windo

  • How to link to a youtube or vimeo video in Adobe Presenter

    I am new to using Presenter, and am having trouble inserting videos in Adobe Presenter (the videos are often over 1 hour in duration) and am wondering if it's possible to instead insert/embed the link to the video, which is hosted on either YouTube o

  • Web services IN XI

    Hi all, I´m new to WS, I have to public a WS from XI. It is going to be called from an external java program. This external program is going to send data to XI, XI is going to process it and send back to the java program the result for example the ou

  • Partition layout greyed out – not possible to create a third partition

    Hi all, Being in need of a new laptop, I bought myself a Macbook Pro retina, 13inch, 512gb SSD last weekend. I’ve been a windows user for almost 20 years now, with occasional exploits into Unix/Linux, but I’ve had it in mind to try out OS X for quite

  • Mail slow to show sent messages

    I'm suffering from the spinning pizza in my Mail sent box, ever since I sent a couple of password-protected PDF forms yesterday (1.4Mb each). Trying to delete these two messages from my Sent box makes the Mail Trash mailbox cog spin endlessly and the