Problems with check printing RTF template

To BI Publisher Gurus,
I am working on the check printing RTF template and facing a few issues with page breaks, filling the insufficient invoice lines with template and positioning of the table(s) itself inside the RTF template.
For page break, am using the following piece of code just before the end of all of my FE loops.
<xsl:if xdofo:ctx="inblock" test="position()-1<count($inner_group)"><xsl:attribute name="break-before">page</xsl:att:attribute></xsl:if>
the $inner_group is my group for G_INVOICES to loop through all the invoices of a check in G_CHECKS group.
The problem I'm facing is, everytime a check is printed its printing a blank page in between. Searched all the earlier forum posts but none of the solutions worked in my case.
Second issue, for filling the insufficient invoice lines (in my case, am printing 26 invoices per page per check), the call to the blank lines template is repeating twice and found no way to get rid of it.
Third issue, if the check is running into a second page, the call to the blank lines template does not work and the position of the bottom part of check is getting misaligned.
I am ready to send my template and the sample XML file to look at. Thanks for your time and effort.
-Uday

Hi Tim,
Hi Tim,
Could you please send me the sample rtf. We are also using APXPBFEG program for check printing..
Also I have problem in generating dots(....) in the check where if total invoices lines are 37 and we have only one line of invoice then I have to generate 36 dots (.) in the invoice porition of the check..
I appreciate your help..
Thanks
Krishna
[email protected]

Similar Messages

  • Automatic Payment Program-problems with check printing/viewing

    Hello:
    I am new to the SAP field. I have been trying to make the automatic payment program work for me. I have been having trouble trying to view the print preview of checks by going to system->own spool requests.
    Steps followed ---Automatic Payment Program:
    I checked the open invoices -
    FBL1N
    I ran F110 and finally print out with the start immediately option checked
    I checked the open invoices FBL1N again and all the open invoices have cleared
    However I am unable to view the checks that should have printed for this payment run. Can anyone please tell me what I am doing wrong here.
    Thanks,
    Mahesh

    Mahesh,
    Go to F110, Enter the run date and then click enter - After that click on edit and then proposal and proposal list and you can see all the details - which actually runs the program RFZALI20.
    Hope that helps..
    Thanks,
    Nandita

  • T.code FBL5N: a problem with the print of the output list

    Hi All,
    with reference to the t.code FBL5N, I have  a problem with the print of the output list of the report.
    When I execute the print, I obtain one customer for each page printed.
    I wonder if is possible to obtain more customers for each page printed.
    Could anyone help me?
    Thanks
    Gandalf
    Edited by: Umberto Gandalf on Dec 21, 2008 10:36 PM

    Hi,
    Though personally i havent tried this option, check the same
    Go to Menu: Settings >> Switch List
    This will make the value displayed in ALV format and then try taking print outs.
    Regards,
    Sridevi

  • PROBLEM WITH LOGO PRINTING IN REVERSE DIRECTION

    HI,
    When Ever I take the print out of the checks, The company logo is getting printed in reverse direction, but if i look at the print preview , it is showing up correctly. even if i take the print out of just  the logo from SE78, the logo is getting printed out in reverse direction...I think it is the problem with the printer settings, but i m not sure. Can any one please help me out with this issue,
    Regards,
    Raghu

    Hi,
      Are you trying to get this print directly from the backend or some frondend application triggers your form? As I also faced same problem many a times but then observed that when smartform was triggered from frontend, logo was always in its right position.
    Regards,
    Shikha

  • Problem with cheque printing in production Server Tcode - FBZ5

    Hi
    Cheque Printing using SAPScript with TCODE FBZ5.
    I had a problem with cheque printing in production Server. TCODE - FBZ5
    It is working fine in Development Server with proper alligned data but not coming alligned data in production server. I compared, dubugged and checked the allignment...there is no difference I found.
    Could you please let me know, where the problem is occuring.
    The amount is not coming properly and coming out of the box.....but it is coming properly in development server.
    Sekhar

    Hi,
    For Amount field you must print like &amount(C)&. And it must be printer settings only. Because i gor same like this error while printing cheque. at that time Basis team had made the changes in printer settings.

  • Canon pixma pro 9500 having problems with my print out. colors are glazed and missing colors

    canon pixma pro 9500 having problems with my print out. colors are glazed and missing colors
    i have prfiled the mac and printer wiht colormunki and uplodated the profile sucessfully
    i set the printer to correct icc profile
    print out comes out same with glazed colors and missing tones/colors
    however when i use the same printer on windows and with light room, following same icc profile, colormunki calibrated profile, the print our are excellent.
    i have also tried using printer manage profile using the Mac and Aperture and get same poor prints
    can  you please assist and thanks

    I've a Pro9000 and also use Colormunki successfully.
    When I use Colormunki, I calibrate both of my monitors and the printer/paper combination. Colormunki saves the generated profiles to the correct places -- I don't load or change any profiles after that as that would mess-up what the Colormunki had just done for me, and this would likely mess-up the prints.
    Though I double-check the settings in the print dialogue, the choice for the printer handling things is already grayed-out. Colorsync handles it all just fine.

  • Problems with 'Order Prints' from Aperture 2.1.3 Mystery borders

    *Some background:*
    I've been using Aperture for about 3 months now, importing most of my iPhoto library into the program. I have only recently started shooting in RAW format, most of my photos image files are in JPG format. In the past, I've had no problems with obtaining prints from within iPhoto or to a limited extent Aperture. So, far as I know my program is up-to-date. I have 2 plugins installed: Aperture2twitter and *flickr export Lite* both of which work acceptably.
    *The problem:* I ordered 317 4×6 prints from my aperture library.
    Every photo has a 1/4″ border on both sides of the image, i.e. the printed image is only 4×5 1/2″. I have never ordered this quantity before, but I don’t believe that was the problem, it appears that the processing machine was misaligned and no one reviewed the prints prior to shipping.
    I tried again, on 4 different images ... all JPG files with 3 out of 4 were OK, but one exhibited the "border" issue.
    I haven't a clue what is going on here. Apple implied +(via email)+ that I would have to individually crop every photo to ensure proper aspect ratio. This makes no sense to me at all, as I have never had this kinda problem before.
    Could the plugin(s) be interfering with the s/w? Is there a trick to having photos printed from within Aperture that was not present in iPhoto?
    Any thoughts on what the problem is would be greatly appreciated.
    Thanks
    -john

    I believe that I've solved this problem, with the help of the folks at Apple who handle Aperture tech support using the Aperture support ID that came with the product.
    So the short answer is: Aperture print services REALLY DO REQUIRE the image to be cropped (constrained as they say) prior to the data being sent to Apple Print services.
    Here is the link that describes cropping http://support.apple.com/kb/HT1993?viewlocale=en_US
    The process as described is cumbersome, but the support tech pointed out that in Aperture, crops are 'non-destrutive' and can be undone simply by removing the check mark on the Adjustments tab of the image you crop. *This means that you do not have to make a duplicate image for cropping.*
    So, here is the process that I arrived at to ensure that my "order prints" job turned out:
    1. create an album of all the photos you want to submit for printing.
    2. for each image call up the Crop HUD by pressing 'c' on the keyboard.
    3.select the aspect ratio that you want for your photo. Make sure that it does NOT SAY Master Aspect Ratio, or Main Display Aspect Ratio.
    4. Crop the photo
    on the adjustments tab you can see the X and Y data and Height / Width information which can be undone.
    5. Submit your print request to Apple for all the cropped photos.
    When the prints arrive, you can compare the prints with the submitted photos. They should all be good. You can then delete the album (since it really is not a physical thing) or keep it for reference.
    It all seemed a bit arcane to me, as I never had to worry about this in iPhoto. It must be that iPhoto sends different data than Aperture. I have just received 200 + prints back from Apple Print Services with about 98% success rate. I just have to adjust my thinking and my process when dealing with Aperture.

  • Photosmart 7520 error. there is a problem with the printer. turn printer off then on.

    I have a photosmart 7520 experiencing the following issues.
    Problem #1:   Randomly all the lights start to blink off and on and the display reads the following :  
    Error . There is a problem with the printer. Turn printer off then on.
    I cannot find any one action that triggers this to happen.
    Problem #2:  When the printer is turned on and idle,  also at RANDOM times, the printer will "Ding" followed by the  wireless light blinking. Then what sounds like the cartridges being cleaned, then a sound like the feeder spinning or the print head running full track from side to side, then ending with a "Ding" and then returning to normal.
    When this occurs, the wireless connection is disconnected then reconnected. Also this Disables the "Scan to computer" function to all the computers on the network and requires manually re-enabling all .
    From what I can tell the printer is restarting itself. 
    It is plugged directly into the wall outlet, no surge protector.
    Tech support has already run me through the clean the print head steps, escalated me up the chain, and ultimately replaced the printer with a brand new one.
    THE NEW PRINTER IS DOING ALL THE SAME THINGS AS THE PREVIOUS ONE.
    This printer is connected wirelessly to a Netgear N900 router. My computers all running Windows 7, all are on the same network and workgroup and all are running Mcafee Total Protection.
    If anyone is or has experienced the same or similar problems, I could sure use some help.
    This question was solved.
    View Solution.

    How did you fix this?
    I replaced an HP printer recently for a new Photosmart 7520 after a complete ink container emptied into the printer.
    The old printer sometimes had difficulties switching it on and the new printer has the same problem.
    Also the wireless connection regulary drops and can only be reenabled by switching of the printer and switching it back on, only this sometimes takes more than ten minutes before a simple push on the power button is translated in a power on of the printer.
    Since the previous printer also suffered from these "power" issues, I think the problems are power related, but I have to check this first before I can say anything more about this.

  • Problem with java print

    Hi, I'm have problems with java print (g2d). For example i want to print a String "ABC**************************DEF" on paper size 80mm width (invoice paper). I can print all that string with paper A4 size, but with paper size 80mm i have problem with that String, the result is "C*****************D" lost AB and EF. I think i had problem with paper size, pls help me. Thank you so much.
    My code is below:
    package app.util;
    To change this template, choose Tools | Templates
    and open the template in the editor.
    @author HUU NGHIA
    // Printing Sample code
    // This code demonstrates the Java 2 print mechanism
    import com.connection.Product;
    import java.awt.;
    import java.awt.print.;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Vector;
    // Define a class that is called per page that needs printing. It implements
    // the one and only method in the Printable interface : print. Note that
    // this is quite separate from the PrinterJob class print() method.
    // This method does not actually do any printing. All it does is write text
    // and/or graphics onto the passed page (graphics context). The calling
    // printer job object will then pass this page to the printer.
    public class PrinterController {
    public static void print(Vector<Product> products) {
    // Create an object that will hold all print parameters, such as
    // page size, printer resolution. In addition, it manages the print
    // process (job).
    PrinterJob job = PrinterJob.getPrinterJob();
    // It is first called to tell it what object will print each page.
    job.setPrintable(new PrintObject(products));
    // Then it is called to display the standard print options dialog.
    if (job.printDialog()) {
    // If the user has pressed OK (printDialog returns true), then go
    // ahead with the printing. This is started by the simple call to
    // the job print() method. When it runs, it calls the page print
    // object for page index 0. Then page index 1, 2, and so on
    // until NO_SUCH_PAGE is returned.
    try {
    job.print();
    } catch (PrinterException e) {
    e.printStackTrace();
    class PrintObject implements Printable {
    Vector<Product> products;
    public PrintObject(Vector<Product> products) {
    this.products = products;
    public int print(Graphics g, PageFormat f, int pageIndex) {
    Graphics2D g2 = (Graphics2D) g; // Allow use of Java 2 graphics on
    // the print pages :
    System.out.println("f.getImageableX(): " f.getImageableX());
    // A simple circle to go on the second page (index = 1).
    switch (pageIndex) {
    case 0:
    printInvoiceTemplate(g2, products);
    return PAGE_EXISTS;
    // case 1 : g2.setColor(Color.red); // Page 2 : print a circle
    // g2.draw(circle);
    // return PAGE_EXISTS;
    default:
    return NO_SUCH_PAGE; // No other pages
    public String getDate(){
    Date d = new Date();
    SimpleDateFormat sp = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
    return sp.format(d);
    private void printInvoiceTemplate(Graphics2D g2, Vector<Product> products) {
    //System.out.println("#######" cardInfo.getTranType());
    int alignY = 40;
    int alignXCenter = 60;
    int enterSpace = 15;
    int xProductName = 10;
    int xUnit = 85;
    int xAmt = 110;
    int xTotal = 155;
    int yEndData = 0;
    int totalAll = 0;
    g2.setColor(Color.black); // Page 1 : print a rectangle
    g2.setFont(new Font("Verdana", 0, 8));
    g2.drawString("ABC", alignXCenter, alignY);
    g2.drawString("123WWW", alignXCenter, alignY enterSpace *1);
    g2.drawString("Phone: (08)62891633", alignXCenter, alignY enterSpace*2);
    g2.setFont(new Font("Verdana", 1, 12));
    g2.drawString("Invoice", alignXCenter - 10, alignY enterSpace*4);
    products = new Vector<Product>();
    for (int i = 0; i < 10; i+) {
    Product product = new Product();
    product.setProductName("ZESTORETIC TAB 20MG B/28" i);
    product.setUnit("v"+i);
    product.setAmt(5+i);
    product.setPrice(50000+i);
    products.add(product);
    for (int i = 0; i < products.size(); i+) {
    System.err.println(i);
    int total = products.get(i).getAmt()*products.get(i).getPrice();
    g2.drawString(i+1+"."products.get(i).getProductName(), xProductName+2, alignY enterSpace(8+(i*2)));
    g2.drawString(products.get(i).getUnit(), xUnit+5, alignY enterSpace*(9(i*2)));
    g2.drawString(products.get(i).getAmt()"x"+AppUtils.formatPrice(products.get(i).getPrice())"", xAmt+5, alignY enterSpace*(9(i*2)));
    g2.drawString(AppUtils.formatPrice(total), xTotal+15, alignY enterSpace*(9(i*2)));
    yEndData = 9+(i*2);
    totalAll = totalAll total;
    System.out.println(yEndData);
    g2.drawLine(xProductName, alignY enterSpace*(yEndData 1), 210, alignY enterSpace*(yEndData 1));
    g2.drawString(AppUtils.formatPrice(totalAll)" VND", xAmt, alignY enterSpace*(yEndData 2));
    g2.drawString("Thank you", alignXCenter, alignY enterSpace*(yEndData 4));
    g2.drawString("***", alignXCenter 30, alignY enterSpace*(yEndData + 5));
    public static void main(String[] args) {
    PrinterController.print(null);
    }

    When you posted you didn't use code tags, as a result the forum software has interpreted some of your characters in your program as screen formatting codes and has corrupted your post--the most easily observable change is the bolded characters in you post. Please repost your code using code tags so people will be helping with uncorrupted code.

  • ENVY 7640 error "There is a problem with this printer"

    Hi guys. I got this printer 4 months ago and it has been working marvelous. But this weekend when I turned it on the error "There is a problem with this printer" appeared, just after it connected to my wifi network.I made several tests and the error comes only if the network is connected to the internet.When it is not connected to the internet the printer works fine (prints, scans, all via wifi).I have a MAC and an AirPort Time Capsule.Is there any set up that solves the problem?

    Hi , Welcome to the HP Forums! I see that you are getting the error message, "There is a problem with this printer," with your HP Envy 7640 on Mac OS X 10.10. I am happy to help!  Is this error message showing on the printer's display screen, or on the computer screen? If the error is on the computer screen, try resetting the print system. If the error is on the printer's display screen, please try a hard reset, by going to this post, How to perform a Hard Reset, by . It is important that the printer's power cable is plugged directly into the wall outlet, and not a surge protector. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well. I would also double-check that your printer's firmware is up-to-date. Getting the Latest Firmware and Product Updates. Hope this helps!  “Please click the Thumbs up icon below to thank me for responding.”

  • Problem with HP Printer Utility and Mac OSX 10.5.4

    I have a problem with HP printer Utility. When a standard user adds a new paper profile HP Printer Utility asks to type an administrator's name and password to allow HP printer Utility to make changes. Is it possible to avoid this? Otherwise I have to give admin rights to every user because they have to be able to add new papers. HP printer Utility sharing and permisssions are set to read and write to everyone.
    HP designjet Z3200
    MacOSX 10.5.4 (Mac pro intel)
    HP printer utility 3.6.0.

    Just found an email HP Support sent to me back in January 2008, about this issue
    "Hello Hunter,
    Thank you for contacting HP Total Care.
    There currently is not proper driver for 10.5, so it is surprising that the printer is printing correctly on your Mac from any application.
    Your issue cannot be resolved until the 10.5 driver is developed and released.
    To sign up for an update as soon as it is available ...click on the link below:
    HP's subscriber's choice is a free service where you can select to receive timely email notifications ranging from software and driver updates to creative ways to do more with your HP products.
    http://h71036.www7.hp.com/hho/html/3618-0-0-225-121.html
    If you need further assistance, please reply to this message and we will be happy to assist you further.
    You may receive an e-mail survey regarding your e-mail support experience. We would appreciate your feedback.
    For information on keeping your HP and Compaq products up and running, please visit our Web site
    at:
    http://www.hp.com/go/totalcare
    Sincerely,
    Dave
    HP Total Care"
    I just sent them an email today on any updates regarding a release date on the Leopard driver for P1005, i'll post any info i receive.

  • Problem with links on email templates

    Problem with links on email templates
    Hi,
    We have been having issues with links on our email templates. Some of the links point to the following URL:
    http://server'sname/thirdparty/FCKeditor/editor/fckeditor.html?InstanceName=emailTemplatesDTO.htmlBody&Toolbar=NewscaleFCKEditorToolBar#URL
    Sometimes we get “Unknown internal error” on the web page.
    Can anyone help or advise on how to resolve this issue?
    Many thanks,
    Wesley.

    Hi Wesley,
    This is rather late, but we've seen the same thing frequently (and I believe can replicate it).  It's caused when you a creating a new email by copying the content of an existing one with a name space in it.
    Upon copying, the link gets scrambled.  The approach we use is to copy the email in to a new template, then strip out all of the URL links and add them back in.
    Thanks!
    Ant

  • Problems with my printer HP Officejet pro 8600 Plus + Yosemite

    Hi got problems with my printer HP Officejet pro 8600 Plus till I installed Yosemite it is not recognized so what can I do now.. No new drivers found by HP

    Thanks for this AnnRT!
    I've spent the best part of a day trying to figure this out. Everything was fine and then one day nothing worked! I have narrowed the issue down to Bonjour via WiFi as everything worked fine via USB, and via IP over WiFi.
    I've now set a static IP for the printer and things seem to be working fine again
    Thanks!
    Chris

  • Problem with pdf-printing in Adobe Acrobat Pro

    Hi,
    I have Adobe Acrobat Pro 9.4.3.
    PDF-printing has always worked great but suddenly there is some kind of problem.
    After printing a excel-document from "Print to pdf" built-in function in MacOS OR Adobes Printer I have corruptet pdf-files when showing them in Adobe Reader/Acrobat, but the MacOS Preview-software shows them correct.
    So, there cannot be any problem with the printing, but the local preview on my computer using Reader or Acrobat. I dont even use the Myriad font in the document, I use Verdana.

    You say you're using Verdana but you're not. The error message clearly shows you're using MyriadPro Bold.
    You probably recently installed the Mac OS X 10.6.7 update which has a bug with OpenType PostScript fonts like MyriadPro Bold. Either use Verdana or another TrueType or PostScript font, or revert to Mac OS X 10.6.6.
    Read about the problem here: http://www.tidbits.com/article/12078

  • HP Officejet Pro 8600+ "There is a problem with the printer or ink system..."

    I have an HP Officejet Pro 8600+ that is coming up with an error message. This just happened out of the blue yesterday. The printer is just over a year old.
    It says:
    "There is a problem with the printer or ink system. Print head missing not detected incorectly installed or incompatable" 
    I have removed and reinstalled ink cartridges, the head, unplugged, cleaned, etc. etc.
    HP Officejet Pro 8600+
    Product Number CM750A
    Serial Number {Content Removed}
    Not under warranty
    Please advise.
    This question was solved.
    View Solution.

    Sorry that you are experiencing this problem. Here is a link that may assist you with the ink system.
    http://goo.gl/BXDFf
    It seems to be a bad print head, or it needs manually cleaned with lint free cloth and water. If these steps do not resolve the issue, contact HP Support (1800-474-6836).
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

Maybe you are looking for

  • SQL Performance reports

    Hi, We have a Windows Server 2008 R2 Std, with SQL Server 2008 R2 SP2 CU 0. 32GB memory and 2x2GHz 16cores. We can see that the sqlservr.exe is taking almost all memory, and i guess that is ok since we have not configured any restrictions, and then S

  • Block chinese characters in mail

    I am getting considerable amounts of spam written with Chinese characters. Is there a way to make a rule to send all to junk or spam folders? Thanks.

  • Screen capture in windows

    I recently installed windows 7 on my imac because i wanted to make gameplay videos, but i can't screen caputre the games, everytime im playing a game and i try to screen capture it just comes up blank, please help!!!

  • Launch Leave Approver Application without using UWL

    Hi Feedback from initial UAT has been that the users find the UWL awkward to use and the leave approval process has too many steps.  They would be happier if they could get to their list of leave applications requiring approval directly ie avoiding t

  • PE7 startup problem : MSVCR80.DLL

    Hello to everybody, first i'd like to say thanks for reading this posting. I'm new here and my first posting is about a problem with my Premiere Elements 7. Unfortunately... I'm not a "professional" user of PE 7, i'm just doing some editing of home v