Overwriting is happening while Printing

Hi All,
   I have copied a standard script and modifed the same. But i am getting a problem while printing this script.
i have given two pages FIRST and NEXT pages and if FIRST page is filled with line items then it has to go to NEXT page. In print preview it is showing correctly but while printing at printer.....NEXT page data is overwritten the FIRST page data.
Can any one tell me the solution.
Thanks In Advance.

Hi,
Which device type do you use to create the spool and print. Depending on the device type and printer, you probably have to add commands in the printer initialization action for your custom format within the device type to tell the printer the length of the page for your page format.
Regards,
Aidan

Similar Messages

  • Error while printing invoice

    hi sapiens,
            the following error happens while printing my form from vf02.i have edited standard script rvinvoice01.i have not deleted any window.i have not even deleted text elemnts from the main window. what could be the problem .
    cancel error.
    Element ITEM_LINE window MAIN is not defined for zinvoice.
    thanks
    mani

    Hi
    The first thing: <b>the print doesn't depend on logon language <u>but customer language</u></b>.
    So u can logon with the language you prefer, that's no problem on logon langauge.
    Run trx SE71:
    - Insert the name of the sapscript
    - Insert the language of the version u need to correct
    - Go to the MAIN
    - Insert the text element is missing
    U have to do the above step for every version of your sapscript.
    Max
    Message was edited by:
            max bianchi

  • Cannot open files while printing

    Does anyone know of a reason why when printing a large pdf (say around 100+ pages) i cannot open another file in the same program? The only way i have found around this is to: open one file to be printed in Reader then once the printing process has begun open another document via Open With and select Acrobat.
    This is slightly more productive than only being able to open one document at a time but only slightly. NOTE* If i open, say 5 documents before i try to print then choose one to print the printing dialog box will appear in each document i have opened; at this point i still cant do anything witht the opened documents but at least i can read them.
    This is really a major hiccup in my daily activites, what other options do i have and is there any way to open a PDF while printing another large one.
    **PLEASE NOTE** There is never an error message that comes up when i try to open a PDF while printing, simply put nothing happens until printing finishes then all of the files will open at once. I had a reccomendation to make sure it wasnt a system resources issue, which I can safely say it is not.
    Your help and observations would be greatly appricated.

    I am still having this really strange problem, anyone have any suggestions? **NOTE** I did try using a different comp to rule out hardware problems, the same thing happens, while printing when you try to open a document nothing happens at all until printing finishes then all of a sudden all the files you tried to open while printing open up all at once. Is there some setting or restriction i dont know about that is forcing me into this? I am printing 100+ pages of paper size Arch D (36X42) so having to wait to do any work on pfd's while this massive print job is going on really sucks. Also the printers are network printers to the information being sent to the printer is off the computer really quickly, so i dont think it has something to do with being lagged out or anything.
    Really any help at all would be great!

  • HP Deskjet 5568 WiFi Printer - Last page gets stuck while printing

    I bought a HP Deskjet 5568 two days ago. I have printed nearly 50 pages already.
    I am having a problem while printing "manually" on both sides. It prints the odd pages first from back to front. While printing the last page (the first page of the document), the printer gets stuck. The page is halfway in and the printer just stays there. If I pull out the page, the 'orange' resume light blinks; if I press it, the printing restarts.
    The problem is that after it gets stuck, the printer doesn't print anything. I have to delete the print job and now I have to print the other 'even' pages myself.
    Please help me. Is the paper getting stuck part of the printing process (stupid question)? I don't actually think it's getting "stuck," I think the printer doesn't allow the page to come out for some reason as the page is actually fully printed (the data is all there).
    I have also noticed that this only happens while printing in "manual" two-sided mode.
    Also, I can't edit the printing shortcuts in the printer control panel. If I change the paper size to A4, the next time I open the control panel, it is once again set to Letter. Why is this? 

    Hi I_am_Ann,
    I understand you are having an issue printing from the computer on your HP Deskjet Ink Advantage 2515 All-in-One Printer.
    I do need some other information to assist you.
    The current OS installed?
    Did you install the printer on your computer?
    This document should help take a look at the printer to make sure all is ok.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03243075&tmp_task=solveCategory&cc=us&dlc=en&lc...
    Please feel free to contact me if you have other questions
    Thanks
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Save to PDF in TextEdit - Error While Printing

    When I try to save a text file to PDF I receive the error message - "Error while printing".  This only seems to be happening to text files I open or create in TextEdit.  It works fine if I log in as a different user.  I've run repair permissions and also deleted a couple of com.apple.print plist files in my user library, but the error remains.
    Is there anything else I should try short of reinstalling TextEdit?
    Thanks in advance for any advice!
    Rick

    On OS X 10.8.2, with TextEdit, I can open or create text documents and export to PDF without any issue.
    Here are the two preference tabs and settings that work for me. You can single click on the images for a larger version.
    New Document
    Open and Save
    PDF documents on OS X are created with binary content, which is the junk you observe.

  • Slow system while printing PDF's

    when printing PDF's to any of several printers (letter or tabloid sizes)the system response slows to an unbearable crawl lots of spinning beach balls come and go. the only system function that does not appear to be affected is the mouse movement, mouse clicks however are affected. I can't even change windows let alone apps without multiple minutes of delayed reactions. I used activity monitor to find "PrintJobMgr" seems to be using up to 100% of cpu resources and over 1GB of virtual memory at some times during the print process. I understand that PDF's are slow to print but that is not my problem as the print speed seems okay, just while printing I can't do anything else.
    Can anyone help or have same experience?

    What happens if you drag several PDFs right to the Printer's Icon or Printers Window without using Acrobat?
    At this point I think you should get Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 5 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files!
    Disconnect the USB cable from any UPS so the system doesn't shut down in the middle of the process.

  • Error while printing smartforms

    Hi Friends,
      I am getting error "<b>Invalid value for parameter ARCHDEST</b>" while printing smartforms. This is happening only in IDES server. In Development the same smartform is working normally. I have checked in transaction SU53, to see whether all the authorisations have been given for IDES server. There is no problem in authorisation also. So what might be the reason for this. Please give me the solution to solve this problem.
    Thanks & Regards,
    Ranjith

    Hi Beginner,
    In the layout you have taken window or layout taken the big width in that case only you will get this type error syntatically it shows correct when you exicute the smart from try to give the print or see the print preview you will get this error (suggestion is better to check the window sizes)
    Thanks
    Ashok

  • "error while printing" when saving

    A really odd thing started happening today: when I hit Apple + S to save a document, it first pops up the save progress box, but after a few seconds a 2nd box appears with a mesage saying "Print. error while printing."
    I'm just trying to save, not to print. Any ideas what's going on?

    on the wife's g4 powerbook, added a network-shared printer, attempts to print to it result in:
    PMSessionValidatePrintSettings failed (error code = -50)
    Invalid PMPrintSettings in print info
    this same n-s-p works fine on my g4 powerbook, also 10.4.11...
    and i haven't been able to print to this printer from my core duo minimac running 10.6.2:
    3/1/10 6:55:37 PM AddPrinter[21005] Error loading /Library/Printers/hp/aio/PMs/hpaio_print_pm.plugin/Contents/MacOS/hp_aio_printpm: dlopen(/Library/Printers/hp/aio/PMs/hpaio_print_pm.plugin/Contents/MacOS/hp_aio_printpm, 262): no suitable image found. Did find: /Library/Printers/hp/aio/PMs/hpaio_print_pm.plugin/Contents/MacOS/hp_aio_printpm: mach-o, but wrong architecture
    3/1/10 6:55:37 PM AddPrinter[21005] Cannot find function pointer HPPMPluginFactory for factory 00425E6D-6656-11D7-966D-0003934BEDFE in CFBundle/CFPlugIn 0x1444f750 </Library/Printers/hp/aio/PMs/hpaio_printpm.plugin> (bundle, not loaded)

  • Reader 10.0 Printing Problem - Font changing while printing

    Dear all,
    can anybody help me on my printing problem with Adobe Reader 10.0 ?
    While printing a pdf I cannot do anything else, it is not possible to touch the mouse
    because when I do this, the font is changing while printing to something like grecian.
    Can somebody help me on this ?
    Reader 9 did not cause this problem.
    Thanx and best Regards, Travelplan24

    I have the same problem, but I didn't realize it could be set off by my working on another task. It is also triggered when the pdf has scientific notation, or a very extreme change in font and font size. E.g., text in boxes, algorithms, etc. seem to trigger the problem.
    I have reinstalled my print driver (several times, latest on Sunday), and reinstalled Adobe Reader (now 10.0.1) but the problem remains.
    Printer:
    HP Officejet 6500 (E709n Series) wireless, now on USB.
    Document properties: Most recent font conversion - yesterday:
    Producer: Distiller 4.0.2 for Mac
    PDF version: 1.3 (Acrobat 4.x)
    Fonts: Helvetica-Neue, Type 1, Encoding: ANSI and Roman
    The font is not converting into Greek. E.g. "Problem-Solving Process" became "Qspcrfm . Tpnwjoh!Qspdftt"' with the kerning overlapping characters.
    The font 'conversion' has happened many, many times on a wide variety of pdf files in the past 6 months. Never had the problem before. I had downloaded new Reader, and purchased the new printer -- I do not know which change created the problem.
    I will cease doing anything when I print as a temporary workaround, but that is not a good solution.
    I sure hope you can figure out what the bug is. Thanks in advance.

  • Help please I can not openening because: Error opening the document,  Acrobat can not open the file while printing another document

    Help, I ca not opening the file, beacause the mac says Error opening the document, Acrobat can not open the while printing another document

    Thank you very much for your replies Taggert_77 & swmtgoet_x :D
    Taggert77_: I have never used NetBeans. I only installed it in the bundle as I had read on another post that somehow installing the bundle magically helped another user with the same problem (he didn't know why it worked after that either).
    Before XP SP3 I was able to execute .jar file through cmd prompt. Now I am not.
    This file is executable, grab it and you will see. Here is a screen shot (program in front is FlashFXP, behind is the cmd prompt and what should happen):http://www.freeimagehosting.net/uploads/53273b4ddf.jpg
    swmtgoetx_: I only did the other cmd's to try to make it spit out something, anything lol :D
    The proper cmd is simply: java -jar soht-client-0.6.2.jar
    I did give your cmd a try, and it produced nothing :( (just like the other correct cmds)
    java -client -jar soht-client-0.6.2.jar soht.properties
    Thank you again...the mystery remains
    PS. If you do a search for this you'll find an amazing amount of XP SP3 users with the same problem and no solution posted that I could find except one chap that did the unistall install order that I did above).

  • Problem with computing Font width while printing in Landscape mode

    I have an application which prints a table and fills it with some text. I render it on a JComponent using the drawString(theStr, xPos, yPos) and the drawLine(rigtX, topY, rigtX, botY) methods in Graphics2D object. I want to take print-out of the table and also store the image of the table in, say, jpeg format. The print can be in Landscape or Portrait format depending on the size of the JComponent, which the user sets depending on the table size and the font size.
    I have a paintTable( ) method which contains all the drawString( ) and drawLine( ) methods. This method is called from the paint( ) method of the JComponent to achieve normal rendering. The same method is called to get a BufferedImage of the Table. The same method is further called from the implementation of print( ) method from the Printable interface.
    In the paintTable( ) method, I compute the pixel coordinates of the table grid lines and the texts positions in the tables depending on the font width and height obtained as shown below:
            // Set the Font             
            Font theFont = graphics.getFont();
            theFont = theFont.deriveFont((float)TableFontSize); // TableFontSize is an int of value 8,9,10 etc.
            graphics.setFont(theFont);
            // Get the Font Size      
            FontRenderContext frc = graphics.getFontRenderContext();
            float width = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).width;
            float height = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).height;
           System.out.println("FONT WIDTH HEIGHT [" + width + "," + height + "] ");I am getting the following value of width and height when the above print statement is executed with a value of 9 for TableFontSize. FONT WIDTH HEIGHT [18.0,11.3203125]
    The problem I face is :
    While Printing in Landscape mode the value of the 'width' variable printed as given above is becoming negative. Kindly see the values: FONT WIDTH HEIGHT [-9.37793,11.3203125]. This is happening ONLY DURING PRINTING IN LANDSCAPE MODE. This makes my calculation of table grid line coordinates and text positions completely wrong and the table goes out of place.
    Kindly note that, there is no problem during normal rendering and BuffereredImage creation and also while printing in Portrait mode. The problem happens irrespective of Linux or Windows. The value of 'height' is always correct.
    Kindly let me know: If the method I use to get the 'width' and 'height' is correct ? Is there any better way which will work fine in all platforms under all circumstances.
    Kindly help me to sort out this issue.
    Thanks a lot in advance and best regards
    -acj123

    I have extracted the relevent code and made a stand alone program.
    The complete code is enclosed; including that for printing.
    Kindly go through the same and help me to solve this problem.
    Thanks again and regards
    -acj123
    import java.awt.*;
    import java.util.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.awt.print.PrinterJob;
    import java.awt.font.FontRenderContext;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    public class MyCanvas extends JComponent implements Printable, ActionListener
        int TableFontSize = 9;
        private Graphics2D graphics;
        public MyCanvas(JFrame frame)
            frame.getContentPane().setLayout(new BorderLayout());
            frame.getContentPane().add(this, BorderLayout.CENTER);
            frame.setJMenuBar(createMenuBar());
        public JMenuBar createMenuBar()
            JMenuBar menubar = new JMenuBar();
            JButton printButton = new JButton("Print");
            menubar.add(printButton);
            printButton.addActionListener(this);
            JButton imageButton = new JButton("Image");
            menubar.add(imageButton);
            imageButton.addActionListener(this);
            JButton drawButton = new JButton("Draw");
            menubar.add(drawButton);
            drawButton.addActionListener(this);
            JButton closeButton = new JButton("Close");
            menubar.add(closeButton);
            closeButton.addActionListener(this);
            return menubar;
        public void actionPerformed(ActionEvent evt)
            String source = evt.getActionCommand();
            if  (source.equals("Close"))
                System.exit(0);
            if  (source.equals("Image"))
                getImage();
                return;
            if  (source.equals("Print"))
                printCanvas();
                return;
            if  (source.equals("Draw"))
                repaint();
                return;
        public BufferedImage getImage()
            Dimension dim = getSize();
            BufferedImage image = (BufferedImage)createImage(dim.width, dim.height);
            this.graphics = (Graphics2D)image.createGraphics();
            System.out.print("\nImage ");
            paintCanvas();
            return image;
        public void paint(Graphics graph)
            this.graphics = (Graphics2D)graph;
            System.out.print("\nDraw  ");
            paintCanvas();
        public void paintCanvas()
            // Set the Font      
            Font theFont = graphics.getFont();
            theFont = theFont.deriveFont((float)TableFontSize);
            graphics.setFont(theFont);  
            // Get the Font Size       
            FontRenderContext frc = graphics.getFontRenderContext();
            float width = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).width;
            float height= ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).height;
            System.out.print("FONT WIDTH HEIGHT [" + width + ", " + height + "] ");
            System.out.print(" SIZE "+ super.getWidth() +", "+ super.getHeight());
        public int print(Graphics graph, PageFormat pageFormat, int pageIndex)
            throws PrinterException
            if (pageIndex > 0) return Printable.NO_SUCH_PAGE;
            this.graphics = (Graphics2D)graph;
            graphics.translate(0,0);
            paintCanvas();
            return Printable.PAGE_EXISTS;
         *  Interface method for Printing the Canvas on Paper
        public void printCanvas()
            PrinterJob printJob =  PrinterJob.getPrinterJob();
            printJob.setPrintable(this);
            PrintRequestAttributeSet attr = new HashPrintRequestAttributeSet();
            if (super.getWidth() < super.getHeight())
                System.out.print("\nPrint PORTRAIT ");
                attr.add(OrientationRequested.PORTRAIT);
            else
                System.out.print("\nPrint LANDSCAPE ");
                attr.add(OrientationRequested.LANDSCAPE);
            Dimension dim = getSize();
            attr.add(new MediaPrintableArea(1, 1, dim.width, dim.height,
                                                  MediaPrintableArea.MM));
            attr.add(new JobName("MyCanvas", Locale.ENGLISH));
            attr.add(new RequestingUserName("acj123", Locale.ENGLISH));
            if (printJob.printDialog(attr))
                try
                    printJob.print(attr);
                catch(PrinterException ex)
                    ex.printStackTrace();
        public static void main(String[] arg)
            JFrame frame = new JFrame("MyFrame");
            MyCanvas canvas = new MyCanvas(frame);
            frame.setSize(800, 600);
            frame.setVisible(true);
    }

  • Unknown characters being displayed while Printing Bill of Lading(BOL)

    Hello all,
       From SAP 4.7D, while printing the output using SAP-script for Bill of Lading, some unknown characters(Eg: 10H0O0S0G), a combination of letters and numbers being printed in the begining and also in the bottom of the output document.
    This is happening only in PRD enviroment and it works fine in DEV and QA instances.
    The document gets printed in EPSON printer. Since this is not an issue in DEV and QA, I would assume that it has something to do with the printer.
    If anybody experienced similar issues in the past OR know the reason for this particular issue, please address this one.
    I would really appreciate the feedbacks and reward the points for the right solutions.
    Many Thanks,
    -G

    Hi,
    Is this problem is happenning only with Bill of lading? If that is the case, it should not be a problem with printer. If there is a problem with the printer driver it should affect the complete form itself.
    If you want to test the printer driver, compare the device type maintained for the EPSON printer in both QA and Production.
    Hope this helps you.

  • While printing RDLC Report ,Report viewer also get printed with the report

    hi
    When i take the Printout of RDLC Report,Report viewer is also get printed which should not be done,
    How should i overcome while printing the RDLC record
    Thanks in advance,
    Radhika

    Hi there,
    Thanks for the reply.  Turns out that our IS department has deployed a patch called RS Client Print-ActiveX Crtl R02 which has caused this problem.  Not sure why it broke it yet or how to fix it so still investigating.
    This only happens for reports viewed within InfoView if they are in Crystal Reports format.  There are no hyper links in the report, it only affects reports with 2 or more pages.
    If we get a resolution I'll post it here or if anyone has any clues to why then please post.
    Cheers,
    Chris

  • Error in Printer Selection while print the document

    Dear All,
    Error in Printer Selection,  while print the document in Quotation.
    Also both side Printing is not happening.
    My Report is in Crystal Report format.
    Suggest any solution on this as earlier as possible.
    Regards,
    Sumeet Vaity

    hi,
    are you printing locally or shared printer?
    pls check the ff.
    1. make sure your printer is on and Online (For local and shared)
    2. make sure the host PC is connected in the network., ping the host PC to make sure your host PC is Connected (Shared)
    3. make it as your default printer.
    regards,
    Fidel

  • Preview : error while printing several pages per sheet

    I have a pdf file from which I would like to get a pdf with several pages per sheet. I cannot do that using acrobat through printing into a pdf file because it tells me to save it first ! So, as I did before upgrading my OS from SL to Lion, I tried to do it with Preview. The problem is that I get the following message "Error while printing" and no more information.
    - I tried with an other pdf file and I got the same problem.
    - Printing one page per sheet is OK, either into a pdf file or to an actual printer.
    - Printing several pages per sheet from Acrobat to a printer is working fine.
    - I asked to a colleague who is still using SL to do the same procedure with my file and it worked fine.
    My conclusion is that there is something fishy with Preview under Lion.
    Does anyone get into the same trouble than me ? Is there a solution even an alternative one ?

    In the printing configuration window, I selected Layout and then 2 pages per sheet, save in Pdf, select a directory and name then save. At the end of the process, I got the printing error message. Looking at the /var/log/system.log, I got an error message concerning PMSessionEndDocumentNoDialog() returning 1282.
    I am using past because I do not have the problem anymore. My MBP is a bit funny since the Lion upgrade. It looks like windows : from time to time, I get the black screen telling me that I should press the switch on button (like the famous blue screen).
    I am suspecting that XQuartz (last update) is messing-up somehow my laptop (system crashes happened when it was launched or even when it was starting).
    Thanks anyway.

Maybe you are looking for

  • Problems with ABC and FOX apps

    For the past three nights, I've had problems watching shows on the ABC and FOX Now apps. I'll start a program, but then it will kick off after a few minutes and I get an error message. I can watch Netflix with no issues at all. Is anyone else having

  • ORA-30937 when validating element referenced from included schema

    I've boiled my latest problem down to a simple test case. Basically it seems as though the included schema is the problem, but I can't figure out why: begin dbms_xmlschema.deleteSchema('http://www.forensic.gov.uk/eMessages/Pnclink/NDNA/testinclude.xs

  • AppleTV to TimeCapsule

    Need help urgent! I have MacBook, AppleTV, Time Capsule bought last year. All movies, musics, photos stored in Itunes MacBook which sync with Apple TV using Wifi connection from Time Capsule. Problem is now my MacBook & Apple TV hard disc are full. A

  • Regarding class oracle.apps.fnd.framework.server.OANullDBTransactionImpl

    Does any one knows about the class oracle.apps.fnd.framework.server.OANullDBTransactionImpl What is the use of this class and when will we use this class? Thanks

  • Recording a browser simulation with sound (no sound recorded)

    Hello folks, I need to record a short simulation of my published [on LMS] training material using FMR mode. The purpose is to demonstrate to clients the logging in, enrollment, and course viewing. The problem is that Captivate 5 is not recording the