Single page printing of multiple page calendar file

I have created a calendar in Photoshop Elements 9.  While printing it, I had problems with my printer.  How do I go back and print only select pages from my project without having to reprint everything?  I tried creating a pdf file - but a page consists of upper and lower halfs of the month of the calendar.  Since I have to print upper half on one side of the page and lower half on the other side of the page - this won't work.  I would appreciate any assistance.

Suggest that you use a desktop editing program such as MS WORD, or MS Publisher, or a greeting card program.
Go to www.avery.com. select a template for your paper stock, and open it in WORD (e.g.)
Copy/paste the calendar material  which you created in Elements to the front and inside pages.

Similar Messages

  • My report prints on multiple pages

    My report which shows change requests by categories I setup and sort on prints across multiple pages.  I do not want that.  It is starting a new page for every catgegory.  Where can I check to see what setting I have made (unknowingly) that tells it to start a new page for each category?
    Thx

    Assuming that you are grouping on Category, there are two places where it is possible to set this.
    1.  Right-click in the gray area to the left of the group header and select "Change Group".  Go to the Options tab and verify that "New Page After" is not turned on.  Close.
    2.  Right-click in the gray area to the left of the group footer and select "Section Expert".  Go to the Paging tab and verify that "New Page After" is not turned on.  You might also want to check other sections and verify that there is no paging set up elsewhere.
    -Dell

  • Print across multiple pages

    I am setting up a financial statement that will include monthly actuals & budgets.  Is there a way to print this across multiple pages?  I currenlty have it setup in Excel and even printing on 11x17 it prints across 2 pages.
    I currently have XI but didn't now if the feature was available in this version or possibly in 2008.

    hello E Hammer,
    in XI to XI R2 you have 2 options:
    1) use a Cross-tab as it can easily print across multiple pages.
    2) try the workaround using the attached sample report...there are instructions on the report itself on how to create this "banner" style report. you do not need a special printer driver to do this. just to warn you in advance though, it's a bit of work.
    in cr2008 it is much easier as you can use the "Disocciate Formatting Page Size and Printer Paper Size" option to create a report which would print out to multiple pages horizontally.
    cheers,
    jamie

  • I'm trying to print a multiple page document from my ipad using an Airprint printer. Only the first page is printing, Please help?

    I'm trying to print a multiple page document from my ipad using an AirPrint printer. Only the first page is printing. Please help. The printer works correctly with my desktop and laptop.

    What version of iOS are you using?  Some people were having this problem before, and it was fixed when they updated to iOS 5.

  • Whats mass printing ?multiple page formating?

    whats mass printing ?multiple page formating?

    hi..
    plz follow the mentioned web link for mass printing ..
    and multiple page formatting is ...
    sapscript does not support multiple page formatting where as smartform does.
    Multiple page formating is nothing havinfg different page formats in  a form.
    eg..
    sapscript zform has 3 pages..
    1 page has portrait
    2 page has landscape format and 3rd page has landascape.
    this is not possible with sapscript..it tends to error. however, you can do so in smartform. Also this is sometime possible in sapscript by creating different form for each page and using the same print program.
    regrds,
    shamim.

  • How do I set Page Width to Multiple Pages?

    How do I set Page Width to Multiple Pages?
    I notice when Cross Tabs are used, the report spans over several pages in width. Can I set this option without using a cross-tab? Since I am having trouble finding a paper width that is 100 inches wide, I was thinking of just using multiple pages.
    Thanks,
    Linda

    Hi Linda,
    Try inserting an OLEDB object and select a bitmap and insert a blank bitmap in report header. Now go to preview and right click on OLEDB Object go to format graphic>picture>change the width of the picture
    If the width exceeds more than the width of the page then it create virtual pages.
    Hope this helps!
    Raghavendra

  • How Do I delete a blank page from a multiple page doc in Adobe XI?

    How Do I delete a blank page from a multiple page doc in Adobe XI?

    Thank you Claudio.  That's like an ultimate bummer!  So frustrating.  Thank
    you for taking the time to answer my question.
    Best,
    Robert
    Best,
            Robert
    On Sat, Mar 8, 2014 at 10:03 PM, Claudio González

  • HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI???

    Question
    HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI??

    Thank you for the response. I tried to fix the problem with some of the suggestions on that page, but none seem to work. I believe that is the only website that I'm having that problem on. I got to fooling with it a bit more and when I highlight the whole page and select to print the selected area, it actually prints the whole page then, but it won't do it as a default. I guess I can just do it like that from now on, but I thought there would be something in the settings that I could have changed. Thanks again for the help.

  • Adobe Reader 11.0.0.7 How do I rotate single page in a multiple page PDF file?

    When I try rotating the page, it would rotate all of the pages in Adobe Reader. How can I rotate a single page out of the multiple page PDF file?

    You can only rotate the entire document with the free Reader. And that only lasts for the current session. It is not permanent.

  • Printing a multi page pdf -with multiple pages per sheet

    In order to save paper I create multiple page pdfs and in the print dialog box under Layout I select Pages per Sheet 2 , etc. The problem is when i try to print out the document, it only prints out the first page. The other pages fail to print. this only occurs when printing a pdf in this way. I have already re-installed Acrobat.
    error on printer is: error typecheck offending command and the file name changes on the printer to acr.000000.tem
    I'm using acrobat 8. Printing to a xerox docu-color printer.
    Mac 10.4.11

    Nope, that's a Flash-only effect. Sometimes people try to embed a SWF (Flash file) into a PDF, but that only plays like it's a movie, and doesn't work well.
    I think you should give up on the idea if you want to use PDF as the distribution method.

  • Printing Problem - Multiple pages won't print

    I am attempting to print the inside pages of a wedding program using Pages '08. I have two printers - an HP 7580 and a Lexmark c544dn. I have elected file>print>copies and hit print. The Lexmark prints one copy while the HP shows only a red exclamation mark by the printer and will not print anything. Curiously, the outer page of the program will print multiple copies on the 7580. The inner back to back page (or more clearly, a portion of the program is on each half) is slightly smaller and the sizing has been adjusted accordingly and of course the page oriented to Landscape. This is about to drive me crazy because I can find no reason one section would print correctly while the inner pages won't. I'm sure there's some simple setting I'm missing But -- I'll appreciate any help to solve this puzzle

    I'll bet you have an HP printer. It's a long-standing problem between Apple applications & HP printers, specifically AppleWorks & Pages (any version of either) & HP printers. I'll also guess that you have numbered your pages starting with a number other than 1. Try putting the specific page numbers in the print dialog. For example, if you have a six-page document but the pages are numbered 11 to 16, an HP printer doesn't know what to do. Tell it to print pages 11 to 16 & it likely will work.

  • Java printing problem how to print in multiple pages

    hi all
    i'm trying to print the output of my application
    no problems with the 1st page but i'd like to tell to my app to print in a brand new page if the content exceed the printable length of the first page. i have 2 classes: printer and Document. the last one implements Printable
    Printer code
    PrinterJob printJob = PrinterJob.getPrinterJob ();
          //--- Create a new book to add pages to
          Book book = new Book ();
          //--- Add the cover page using the default page format for this print job
          //book.append (new IntroPage (), printJob.defaultPage ());
          //--- Add the document page using a landscape page format
          PageFormat documentPageFormat = new PageFormat ();
          documentPageFormat.setOrientation (PageFormat.LANDSCAPE);
          //Document doc=new Document();
          //book.append (doc, documentPageFormat);  
          //book.append (new Getter(), documentPageFormat);  
          book.append (new Document(), documentPageFormat);  
          //--- Tell the printJob to use the book as the pageable object
          printJob.setPageable (book);
          System.out.println("AAAAAAAA" +book.getNumberOfPages());
          //--- Show the print dialog box. If the user click the
          //--- print button we then proceed to print else we cancel
          //--- the process.
          if (printJob.printDialog()) {
             try {
                printJob.print(); 
             } catch (Exception PrintException) {
                PrintException.printStackTrace();
          }Document code:
    public class Document implements Printable
        private final static int POINTS_PER_INCH = 72;
        Calendar now;
        DateFormat df;
        Date date;
        double width;
        Point2D.Double pen;
        Graphics2D g2d;
        LineBreakMeasurer lineBreaker;
        AttributedString paragraphText;
        TextLayout layout;
        double maxPen=0.0;
        static int x1,x2,x3,x4,x5,x6,x7,x8,x9,x10;
        static double intestY, textX, textY;
        public Document()
        public int print (Graphics g, PageFormat pageFormat, int page)
            pen = new Point2D.Double();
            //setto calendario e DateFormat per orario
            df=new SimpleDateFormat("HH:mm:ss:SSS");
            //now=GregorianCalendar.getInstance();       
            //date=now.getTime();
             //--- Create the Graphics2D object
             g2d = (Graphics2D) g;
             //--- Translate the origin to 0,0 for the top left corner
             g2d.translate(pageFormat.getImageableX (), pageFormat.getImageableY ());        
             g2d.setColor(new Color(204,204,204));
             Font titleFont = new Font ("arial", Font.PLAIN, 10);
             Font textFont = new Font ("arial", Font.PLAIN, 8);
             g2d.setFont (titleFont);
             //--- Compute the horizontal center of the page
             FontMetrics fontMetrics = g2d.getFontMetrics ();
             String text = "ABSOL s.r.l. - LISTA APPUNTAMENTI DI Marcello Baiguera";
             textX=(pageFormat.getImageableWidth() - fontMetrics.stringWidth(text))/2;
             textY =7.2;
             //g2d.drawString (text, (int) textX, (int) textY);
             g2d.setFont (textFont);
             fontMetrics = g2d.getFontMetrics ();        
             //linea orizzontale sotto il titolo
             textY=textY + fontMetrics.getDescent();
             //g2d.drawLine(0, (int)textY, (int)pageFormat.getImageableWidth(), (int)textY);
             //prima linea verticale - margine sx
             //g2d.drawLine(x1, (int)textY, x1, (int)pageFormat.getImageableHeight());
             //seconda linea vert 
             x2=x1+fontMetrics.stringWidth("ven. 31/12/2003 ");
             //g2d.drawLine(x2, (int)textY, x2, (int)pageFormat.getImageableHeight());
             //terza linea vert         
             x3=x2+fontMetrics.stringWidth("88:88 ");
             //g2d.drawLine(x3, (int)textY, x3, (int)pageFormat.getImageableHeight()); 
             //quarta linea vert         
             x4=x3+fontMetrics.stringWidth("Marcello Impegnato text text text text");
             //g2d.drawLine(x4, (int)textY, x4, (int)pageFormat.getImageableHeight());
             //quinta linea vert         
             x5=x4+fontMetrics.stringWidth("Sig D'alessio Gigione ");
             //g2d.drawLine(x5, (int)textY, x5, (int)pageFormat.getImageableHeight());   
             //sesta linea vert         
             x6=x5+fontMetrics.stringWidth("Via del PonteVico, 222222 ");
             //g2d.drawLine(x6, (int)textY, x6, (int)pageFormat.getImageableHeight());
             //settima linea vert         
             x7=x6+fontMetrics.stringWidth("del Bagnolo Del Mella (bs) ");
             //g2d.drawLine(x7, (int)textY, x7, (int)pageFormat.getImageableHeight());
             //ottava linea vert         
             x8=x7+fontMetrics.stringWidth("333/78547888 ");
             //g2d.drawLine(x8, (int)textY, x8, (int)pageFormat.getImageableHeight());       
             //nona linea vert         
             x9=x8+fontMetrics.stringWidth("Rinnovo Scadenza Il ");
             //g2d.drawLine(x9, (int)textY, x9, (int)pageFormat.getImageableHeight());
             //decima linea vert         
             x10=x9+fontMetrics.stringWidth("Sandropolitan")+2;
             //g2d.drawLine(x10, (int)textY, x10, (int)pageFormat.getImageableHeight());
             intestY=textY+12;
             text = "DATA";
             textX= x1+((x2-x1)-fontMetrics.stringWidth(text))/2;                 
             //g2d.drawString (text, (int) textX, (int) intestY); 
             text = "ORA";
             textX= x2+((x3-x2)-fontMetrics.stringWidth(text))/2;                 
             //g2d.drawString (text, (int) textX, (int) intestY); 
             text = "CLIENTE";
             textX= x3+((x4-x3)-fontMetrics.stringWidth(text))/2;
             //g2d.drawString (text, (int) textX, (int) intestY); 
             text = "REFERENTE";
             textX= x4+((x5-x4)-fontMetrics.stringWidth(text))/2;
             //g2d.drawString (text, (int) textX, (int) intestY); 
             text = "INDIRIZZO";
             textX= x5+((x6-x5)-fontMetrics.stringWidth(text))/2;
             //g2d.drawString (text, (int) textX, (int) intestY); 
             text = "CITTA'";
             textX= x6+((x7-x6)-fontMetrics.stringWidth(text))/2;
             //g2d.drawString (text, (int) textX, (int) intestY);        
             text = "TELEFONO";
             textX= x7+((x8-x7)-fontMetrics.stringWidth(text))/2;
             //g2d.drawString (text, (int) textX, (int) intestY); 
             text = "MOTIVAZIONE";
             textX= x8+((x9-x8)-fontMetrics.stringWidth(text))/2;       
             //g2d.drawString (text, (int) textX, (int) intestY); 
             text = "APP. CON";
             textX= x9+((x10-x9)-fontMetrics.stringWidth(text))/2;
             //g2d.drawString (text, (int) textX, (int) intestY);       
             textY=intestY+6;
             //g2d.drawLine(0, (int)textY, (int)pageFormat.getImageableWidth(), (int)textY);
             textY=textY+12;
             double initialTextY=textY;
             System.out.println("maximum Y: "+pageFormat.getImageableY());
             Vector maxPens=new Vector();
             boolean vai=true;
             for(int i=0;  i<12; i++ )
                 if(textY<400.00 && vai)
                     System.out.println("");
                     System.out.println("-- "+i+" --"+df.format(new Date()));
                     //data
                     text = Integer.toString(i);
                     //textX= x1+((x2-x1)-fontMetrics.stringWidth(text))/2;
                     pen.x=x1+2;                
                     printJustified(text, x2-x1-4,textY);
                     //ora
                     text = "10:00";
                     //textX= x2+((x3-x2)-fontMetrics.stringWidth(text))/2;          
                     pen.x=x2+2;                
                     //printJustified(text, x3-x2,textY);
                     //cliente
                     text = "Costruzioni Benedini";        
                     pen.x=x3+2;
                     //printJustified(text, x4-x3-4,textY);
                     //referente
                     text = "Sig. Alessandro mmmm mmmm mmm mmmm mm  ";
                     pen.x=x4+2;
                     //printJustified(text, x5-x4-4, textY);
                     //indirizzo
                     text = "Via del Ca'";
                     pen.x=x5+2;
                     //printJustified(text, x6-x5-4,textY);
                     //citta' + (prov)
                     text = "Pozzolengo S. (VR)";
                     pen.x=x6+2;
                     //printJustified(text, x7-x6-4,textY);
                     //telefono
                     text = "335/6998523";
                     pen.x=x7+2;
                     //printJustified(text, x8-x7-4,textY);
                     //motivazione
                     //text = "Primo Appun";
                     pen.x=x8+2;
                     //printJustified(text, x9-x8-4,textY);
                     //Appuntamento con
                     //text = "Alessandro";
                     pen.x=x9+2;
                     //printJustified(text, x10-x9-4,textY);        
                     //textY=pen.y+12;
                     try
                        textY=Double.valueOf(maxPens.get(i).toString()).doubleValue()+12;
                        System.out.println(i+" recuperato");
                     catch(ArrayIndexOutOfBoundsException a)
                         maxPens.add(Double.toString(maxPen));
                         textY=maxPen+12;
                         System.out.println(i+" aggiunto");
                 else
                     System.out.println("aaaaaaaaaaaaaa ("+textY+")");
                     vai=false;
             //--- Validate the page
             return (PAGE_EXISTS);
             //return(NO_SUCH_PAGE);
          void printJustified(String text, double width, double y)
             pen.y=y;
             String txt=text;   
             System.out.println("text: "+text+" - pen.y= "+y);
             paragraphText = new AttributedString (txt);
             paragraphText.addAttribute (TextAttribute.FONT, new Font ("arial", Font.PLAIN, 8));
            //--- Create a LineBreakMeasurer to wrap the text for the TextLayout object
            //--- Note the second parameter, the FontRendereContext. I have set the second
            //--- parameter antiAlised to true and the third parameter useFractionalMetrics
            //--- to true to get the best possible output
            lineBreaker = new LineBreakMeasurer (paragraphText.getIterator(), new FontRenderContext (null, true, true));
             //--- Create a Vector to temporaly store each line of text
             Vector lines = new Vector ();
             //--- Get the output of the LineBreakMeasurer and store it in a Vector
             while ((layout = lineBreaker.nextLayout ((float) width)) != null) {
                lines.add (layout);
             pen.y = pen.y - 7.373047;
             //--- Scan each line of the paragraph and justify it except for the last line
             for (int i = 0; i < lines.size (); i++)
                //--- Get the line from the vector
                layout = (TextLayout) lines.get (i);
                //--- Check for the last line. When found print it
                //--- with justification off
                //--- Align the Y pen to the ascend of the font, remember that
                //--- the ascend is origin (0, 0) of a font. Refer to figure 1
                pen.y += layout.getAscent ();
                //--- Draw the line of text
                layout.draw (g2d, (float) pen.x, (float) pen.y);
                //--- Move the pen to the next position adding the descent and
                //--- the leading of the font
                pen.y += layout.getDescent () + layout.getLeading ();
                if (pen.y>maxPen)
                    maxPen=pen.y;
                    System.out.println("-----------------------------------------------txt: "+txt+" new maxPeny= "+maxPen);
       }in Document i use the printJustified method that simply splits the text in rows.
    i'll don't explain the method 'cause my question is another.
    thanx a lot
    please!!!
    sandro

    Basically you need to write some smart code. Your application needs to be able to determine what to print on each page because the print api will call the following function passing a page number. Your application must know what to paint on each page. If you think it sounds complicated you better believe it is !!
    public int print(Graphics g, PageFormat pf, int pageIndex) {
    PageNumber = pageIndex+1;
    // Need to calc the pages here
    page = (Graphics2D)g;
    calcPages();
    say("Printing page " + PageNumber);
    if (PageNumber <= getNumPages()) {
    paint(g);
    return Printable.PAGE_EXISTS;
    } else
    return Printable.NO_SUCH_PAGE;
    The code above comes from my report printer class and as you can see a calcPages() function is called prior to the paint() function being called. This function sets up a whole bunch of things including exactly what needs to be printed on each page. Note that the calcPages() function is smart enought to simply return is it has already been called. This way the paint function simply checks the PageNumber variable when painting to establish what to draw on the page.
    So imagine when you are generating a very large report from a database ! You basically have to process the report doing all the formatting prior to actually allowing the paint function to be called. Its quite a complicated business but fortunately even the largest report does'nt really take up that much memory. I basically just create buffers of the data for each page - its a bit of a pain but the same logic is required for pagination anyway.
    Be happy to provide you with the source code but you might need the whole application to get anything working.

  • ID3 Printing issue-multiple pages per sheet mirror image printing

    So, like the title says, I'm trying to print 4 up per sheet out of ID CS3. The first page prints fine, but all pages that follow print as mirror images. I have gone through all the print settings for InDesign and specific to the printer (Xerox 7665) to make sure that flip and mirror print is not on. Still, it keeps printing every page aside from the first mirrored. Any ideas?

    A friend of mine rang me last week with a similar problem. I didn't know what to say, it was every page after the first one printed upside down.
    To me that can't happen, they should all send at the same orientation.
    Perhaps you need to update your printer drivers. But to me it sounds like an issue with your printer and not InDesign.
    As another test
    Go to File>Print and the advanced menu and choose Print as Bitmap
    I'm not sure what that will prove though?

  • Printing in multiple pages

    I am using the source code provided by sun available in following url
    http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html
    (Listing 3: Using the print method: PrintText )
    The problem I am facing is, if I am invoking the printjob multiple times in a loop while printing the first page if second page is requested the first page printing is
    stopped and second page is printed on the same page. My requirement is printing each time in
    a different page. Can anyone of you help??

    This is the source code
    import java.applet.*;      
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    import javax.swing.JOptionPane;
    import java.awt.font.*;
    import java.awt.geom.*;
    import java.awt.print.*;
    import java.text.*;
    public class Test2 extends Frame implements ActionListener,WindowListener,Printable
         Label l = new Label("Row");
         Label l1 = new Label("Column");
         Label l2 = new Label("Pinnumber Printing");
         Panel p = new Panel(new FlowLayout(FlowLayout.CENTER, 10, 10));     
         Panel p1 = new Panel(new GridLayout(0,2,5,5));
         Panel p4 = new Panel(new FlowLayout(FlowLayout.CENTER, 10, 10));     
         static PrinterJob printerJob = null;
         static int rows = 0;
         static int var = 0;
    static int x,y;
    static String mText = null;
    static String tempArray[][]=new String[1][10];
         boolean flag = false;
         Button b = new Button("Print");
         static TextField t1 = new TextField(4);
         static TextField t2 = new TextField(4);
         static String [][]args =new String[1][10];     
         String temp[] = new String[1];
         static int xPos=0;
         static int yPos=0;
         public Test2() {}
         public Test2(int xPos,int yPos)
              try
                   this.xPos=xPos;
                   this.yPos=yPos;     
                   Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                   System.out.println("Driver loaded");
                   -- here is my connection ---
              System.out.println("Connection created");
                   Statement st = con.createStatement();
                   ResultSet rs = st.executeQuery("SELECT C_ACCOUNTNO,A_PIN_NO,ACCOUNT"
                   +",ADDRESS1,ADDRESS2,ADDRESS3,ADDRESS4,concat(CITY,'-',POSTALCODE) "
                   +",STATE,COUNTRY FROM ACCOUNT,ACTIVATION "
                   +" WHERE ACTIVATION.A_ACCOUNT_NO = ACCOUNT.C_ACCOUNTNO AND "
                   +" ACTIVATION.A_PRINT_STATUS='"+"N"+"' and C_ACCOUNTNO in('"+"00000000104053"+"','"+"00000000104054"+"')");
         //          +" ACTIVATION.A_PRINT_STATUS='"+"N"+"' and C_ACCOUNTNO in('"+"00000000104025"+"','"+"00000000104054"+"')");
                   ResultSetMetaData rsmd = rs.getMetaData();
                   int index = 0;
                   String label="";
                   Statement st1 = con.createStatement();
                   ResultSet rs1= st1.executeQuery("SELECT count(*) AS total FROM ACCOUNT,ACTIVATION "
                   +" WHERE ACTIVATION.A_ACCOUNT_NO = ACCOUNT.C_ACCOUNTNO AND "
                   +" ACTIVATION.A_PRINT_STATUS='"+"N"+"' and C_ACCOUNTNO='"+"00000000104025"+"'");
                   int total = 0;
                   if(rs1.next())
                             //total = rs1.getInt("total");
                             total = 2;
                   st1.close();
                   rs1.close();          
                   args =new String[total][10];
                   temp = new String[total];
                   while(rs.next())
                             //System.out.print("count.."+rsmd.getColumnCount());
                             for(int i=1;i<=rsmd.getColumnCount();i++)
                                  if(args[index][i-1] != null)
                                       if(rs.getString(i) != null)
                                            args[index][i-1] = args[index]+"|"+rs.getString(i);
                                       else
                                            args[index][i-1] = args[index]+"|"+" ";
                                  else
                                       if(rs.getString(i) != null)     
                                            args[index][i-1] = rs.getString(i);
                                       else     
                                            args[index][i-1] = " ";
                             index++;          
              setResizable(false);
              setBackground(Color.lightGray);
              setTitle ("PINNUMBER PRINTING SCREEN");
              setSize(300,140);
              setLayout(new GridLayout(3,1));
              b = new Button("Print");
              p.add(l2);
              p1.add(l);
              p1.add(t1);
              p1.add(l1);
              p1.add(t2);
              p4.add(b);
              add(p);
              add(p1);
              add(p4);
              b.addActionListener(this);
              addWindowListener(this);
              setVisible(true);
              }catch(Exception e) {System.out.println("error..."+e);}     
         public void actionPerformed(ActionEvent ae) {
                   if(t2.getText().length() > 0 && t1.getText().length() > 0)
                        xPos = Integer.parseInt(t2.getText());
                        yPos = Integer.parseInt(t1.getText());
                        if(JOptionPane.showConfirmDialog(null,"Do you want to invoke printing?", "Confirmation", JOptionPane.YES_NO_OPTION) ==0)
                                       for(int j=0;j<2;j++){
                                                 printContent(args,xPos,yPos);
                   else
                        JOptionPane.showMessageDialog(null, "Please enter row column positions", "Error", JOptionPane.ERROR_MESSAGE);
         // ************** WindowListener methods
         public void windowActivated (WindowEvent e) { }
         public void windowClosed (WindowEvent e) { }
         public void windowClosing (WindowEvent e) {
              this.dispose ();
              System.exit(0);
         public void windowDeactivated (WindowEvent e) { }
         public void windowDeiconified (WindowEvent e) { }
         public void windowIconified (WindowEvent e) { }
         public void windowOpened (WindowEvent e) { }
         // end WindowListener method
              public static void main(String arg[])
                   Test2 t = new Test2(50,50);
    public synchronized void printMethod(String args[][],int xPos,int yPos) {
                   printerJob = PrinterJob.getPrinterJob();
         Book book = new Book();
         book.append(new Test2(), new PageFormat());
         printerJob.setPageable(book);
                                  System.out.println(args[0][0]);                              
                                       tempArray = args;
                                       x = xPos;
                                       y = yPos;
         boolean doPrint = printerJob.printDialog();
    if (doPrint && flag == false) {
    try {
                        var = 0;
                                  printerJob.print();
                                  System.out.println("In print...."+flag);
    } catch (PrinterException exception) {
    System.err.println("Printing error: " + exception);
    rows ++;
    public int print(Graphics g, PageFormat format, int pageIndex) { return Printable.PAGE_EXISTS;
    }//End of class     
    class innerTest2 implements Printable
    public int print(Graphics g, PageFormat format, int pageIndex) {
                   flag = true;
                   for(int i=0;i<10;i++)
                   Graphics2D g2d = (Graphics2D) g;
                   mText = tempArray[rows];     
                   if(i == 0)
                             g2d.translate(format.getImageableX()+(12*x),format.getImageableY()+(12*y));
                   else if(i == 1)
                        g2d.translate(0,12*3);
                   else
                   g2d.translate(0,12);
                   g2d.setPaint(Color.black);
                        Point2D.Float pen = new Point2D.Float();
                        if(mText.length() == 0)
                        i++;
                        mText = tempArray[rows][i];     
                        if(mText.length() > 0)
                        AttributedString mStyledText1 = new AttributedString(mText);
                        AttributedCharacterIterator charIterator1 = mStyledText1.getIterator();
                        LineBreakMeasurer measurer1 = new LineBreakMeasurer(charIterator1, g2d.getFontRenderContext());
                        float wrappingWidth1 = (float) format.getImageableWidth();
                        while (measurer1.getPosition() < charIterator1.getEndIndex()) {
                   TextLayout layout1 = measurer1.nextLayout(wrappingWidth1);
                   pen.y += layout1.getAscent();
                   float dx1 = layout1.isLeftToRight()? 0 : (wrappingWidth1 - layout1.getAdvance());
                   layout1.draw(g2d, pen.x + dx1, pen.y);
                   pen.y += layout1.getDescent() + layout1.getLeading();
                                  System.out.println("In inner for...."+measurer1.getPosition());
                   }     //End of print
         } //End of inner for loop
              if(var > 1)     {
                   flag = false;
                   System.out.println("b4 returning...."+flag);
              var ++;
         return Printable.PAGE_EXISTS;

  • Print final amount in first page cheque  in multiple page cheque print

    In my company cheque printing is take place via transaction FBZ5( Manual) & FI10( Automatic).
    When the No of line Item will more than there will be more than 1 pages and in every page there is cheque at the bottom of the page. In SAP while printing the page it considers only cheque on first page , but in our case final cheque amount appears on last page.
    Is there any way ( user exits /configuration ) where we can print final amount of cheque in first page cheque and remaining pages cheques will become void automatically.
    Experts I need your valuable suggestion.
    Thanks in advance.

    Check configuration in FBZP.
    Maintain Line Items Per Page in FORM DATA against payment method you are using against a company code.
    Try This
    Regds,
    Anil

Maybe you are looking for