Using LP01 printer for printing smartforms in BSP

Hi fellow BSPers,
I have developped a BSP application in CRM which allows users to have a consolidated view on the data in an order.
Also there is a button which can print a smartform of the order using the PostProcessingFramework of CRM.
It works great but...
For printing the user needs to use a printer which is defined in the system.
As expected most users would like to print on the printer they defined in windows as their default printer. From SAPGUI this can be done using printer LP01 which sends the spool to the client printer deamon.
Does anybody know how I can use this deamon via BSP?

I hit similar requirements in the past.  You can't use LP01 because it needs the Gui Framework to communicate with the frontend of course. 
I like the solution of converting the SmartForm (or Sapscript or Adobe Form for that matter) to PDF.  I then display the PDF out of the BSP application (there are several weblogs on different techniques for displaying PDF and Non-HTML documents - I like the ICM Cached Response and IFrame approach).  The user then can print the PDF with their local printers (or email the document, or save it, etc).  This give considerable flexibility.

Similar Messages

  • Print program for the smartform for selecting the output type (email/fax)

    Hi All,
    Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
    can any body please let me know how  to put the condition for selecting the desired  output type ?
    Thanks in advance
    Rahul

    Hi
    It is not the output type that has to be changed
    it is the MEDIUM which you have to change and configure
    for printout medium is 1
    for FAX medium is 2
    for MAIL it is 7.
    so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
    Reward points for useful Answers
    Regards
    Anji

  • Issue with character formats using duplex printing in smartform

    Hi all,
    I am getting a problem with character formats using duplex printing in smartform. I am using a text module with a bold character to display text in a window. The problem is that on the first back page,the text is being printed normally (without bold), but on the next pages, the back pages are being printed with the bold character format.
    Can anyone know where is the problem..please.
    Points to be rewarded..
    Thanks.
    Regards,
    Zaheed.

    Hi Zaheed,
    Normally this should not happen.. and also there is no internal formatting done by SAP.. it will show based on what fomatting option we have specified..
    If you are saying it is happening in ur case then
         1. Recheck whether whether you have same text module getting printed on the
             two page. If they are different then then individual check formatting option for
             each..
          2. If above point does'nt work for you ..then instead of bold char use normal
              format for text element and see if it is printing same on both page..
    Try this out and let us know your findings...
    Enjoy SAP.
    Pankaj Singh

  • Rotation of label using smartforms by 90 deg using zebra printer

    Hi,
    I am facing one problem using smartforms for label printing. Since the zebra printer which is being used requires 90 deg rotation of form for the normal smartform design. I have even tried using ZPL commands by using ^FWR  command in the window attributes but the text within that window only gets rotated and each line gets overwritten on one another. Please let me know if it s possible to rotate the complete form in smartform for label printing using zebra printer.
    Thanks and Regards
    Anand

    Hi Anand,
    Check my previous thread below about this:
    Re: print label landscape to zebra printer - text position wrong & overlapping
    regards,
    Aidan

  • Smartform font spacing Issue when using SAP printer name

    Hi Friends,
    I am facing some spacing issues when printing a form using SAP printer name. If I use LOCL then the output comes perfectly but when I use the SAP printer name the space between characters are getting widened and so the alignment of each column goes wayward. I suspect it could be due to the device type but not sure which seeting controls this. There is a similar problem in the logo as well. When using LOCL the logo comes out good but when using the printer name the quality is not good and becomes pixelised. Have any of you faced similar issues? Can you provide some guidance or pointers for the solution.
    Device type of LOCL : ZSAPWIN
    Device type of SAP printer name :  ZHPLJ5
    CPI is defined in smartform as 10.
    Please let me know if you need more information.
    Thanks,
    Praveen

    Hi,
    This problem occurs because the printer driver for both the printers are different,
    I suggest you use Local printer only or configure any other printer with printer diver in SAP as SAPWIN.
    Regards,
    Bharat.

  • Unable to print chinese characters in Smartforms use Zebra printer

    Hi,all.
    My printer is Zebra ZM400 300dpi,I created a new output device 'TestDevice' and use the Lzeb3 Device type.
    In my smartofrms i used the Zebra command to rotated text.Now the smartforms counld not print chinese characters but '#' instead.(style font 'ANDALE_S')
    Anyone could help me....
    Thanks Advance.
    Andy Lee.

    Hello Andy,
    If you use the device type LZEBU3 with font ANDALE_S, then when you print then the SAP system
    send a print control for activating the ANDALE font installed on the printer, and the text should
    be outputed over this font.
    When you get # during print then this means that the device type or the SAP font don't support
    this character(this was the original problem), when you get a "space" then this means that the
    font which is used by the printer don't support this character.
    I think this can have 2 causes in your case:
    1. The SAP system use the print control SF000 when you use ANDALE_S, which contains
    the print control ^CI17^F8 in HEX form. This should activate the ANDALE font on your printer.
    (You can find this under tr. SE73 -> Printer Fonts -> LZEBU3 -> ANDALE_S)
    You should check wheter this is the correct print control. You should find on the printer an option
    which list you all installed fonts, and also the print control which can be used for activating it.
    Compare this print control from the printer with the above print control from the SAP system.
    If you see a differnce then change the print control in the SAP system.(Before you do that please
    copy the device type LZEBU3 into customer namespace, don't change the original SAP device type)
    2. The font installed on the printer don't support the character which you use. Contact Zebra to confirm this, and ask for a ANDALE font which supports the character.
    Best regards,
    Norbert

  • What's the business case for using adobe forms for handling print forms

    Hi
    We are just starting our SAP project and are looking at the possibility to use Adobe forms for generating and printing our forms, like purchase orders, invoices etc.
    My Question is:
    1. Is this possible / adviseable ?
    2. if so - what's the business case in using Adobe forms  - <i> We have been looking on the SAP Pricing for adobe interactive form, and in our point of view it's grotesque high</i>
    3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
    Regards
    Morten Nielsen

    Hi Morten,
    1. Is this possible / adviseable ?
        As far I know SAP is going to stop support for SAPScript in coming years (I don't know exact dates). It is pretty much advisable to use Adobe Print Forms.
    2. if so - what's the business case in using Adobe forms - We have been looking on the
    SAP Pricing for adobe interactive form, and in our point of view it's grotesque high
      We can use Adobe Print Forms where ever we can able to use SApscripts/PDF print Forms.
    3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
      It is better to settle with Adobe forms rather than using SAPscript/Smart forms. One of the main reason for this is maintainance is much easier than SAPscript/Smart forms.
    But remember that Java Stack need to be installed in order to use Adobe Forms.
    Please visit the below SDN area on Adobe forms for more details.
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    Thanks
    Ramakrishna
    Message was edited by:
            Ramakrishna Ramisetti

  • I WANT USE RFKORD50 TO PRINT SMARTFORM

    Hi friends,
        The program RFKORD50 is used to print a sapscript,
        I want use this progrsm to print the smartform.
       Could any body help me providing suggestion to do this.
        Please do the needful.
    Thanks & Regards,
    Sathish Kumar swamy.

    Satish,
    You cannot use the RFKORD50 to call the smartform. As when a smartform is activated it generates the Function Module , and we have to call that function module to excute the smartform.
    As call of SAP Script form is totally different therefore the program is coded for calling the SAP Script only.
    For calling the smartform you have to develop a new program which fetches the required data and then call the function module of the smartform to execute the samrtform.
    Regards..

  • Unable to Print Purchase order automatically using SAP GUI for JAVA

    Hi SAP gurus,
    Some of the PC's in our company use windows and some LINUX. Therefore we use two types of SAP GUI. One for windows and the other one JAVA. PO approval was set to print automatically. In a windows setting, there are no problems with this setup. But in SAP GUI for JAVA, no print outs are produced and no error messages are displayed. I am using SAP GUI for JAVA version 7.10 ver 6. and I use Front end printing for linux access method G.
    please help,
    gungertz

    hi gungertz,
    You can use U type access method for printing SAP document using linux desktop.
    Please refer to my blog posting here (http://sapbasis.wordpress.com/2007/08/23/print-sap-documents-using-linux/)
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?

    Hi mafiose15,
    Thanks for visiting Apple Support Communities.
    Restoring your iPod to factory settings is the best way to try and get it back to working order. You can use the instructions below to restore it:
    How to restore iPod
    Verify that you have an active Internet connection, because you may need to download new versions of the iTunes and iPod Software.
    Download and install the latest version of iTunes if necessary.
    Open iTunes. Connect your iPod to your computer using the USB or FireWire cable that came with your iPod.
    After a few moments, your iPod will appear in the Source panel in iTunes.
    Select your iPod in the Source panel. You will see information about your iPod appear in the Summary tab of the main iTunes window.
    Click Restore.
    If you are using a Mac, you will be asked to enter an administrator’s name and password.
    A progress bar will appear on the computer screen, indicating that stage one of the restore process has begun. When this stage is done, iTunes will present one of two messages with instructions specific to the iPod model you are restoring.
    Disconnect iPod and connect it to iPod Power Adapter (typically applies to older iPod models).
    Leave iPod connected to computer to complete restore (typically applies newer iPod models).
    During stage two of the restore process, the iPod displays an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remain connected to the computer or iPod power adapter during this stage.
    Note: The progress bar may be difficult to see, because the backlight on the iPod display may be off.
    After stage two of the restore process is complete, the iTunes Setup Assistant window will appear. It will ask you to name your iPod and choose your syncing preferences, as it did when you connected your iPod for the first time.
    You can find the instructions in this article:
    Restoring iPod to factory settings
    http://support.apple.com/kb/ht1339
    All the best,
    Jeremy

  • Why do I not have access to all the features of my Canon MG5320 printer in all applications which use a printer? The printer has two paper paths. The rear path is used for photo paper and other specialty papers. this is only one "unavailable".

    I have an iMac late 2012 with OSX 10.8.
    The MG5320 has two paper feed paths; one at the rear for photo paper, brochure paper, and other specialty papers and a tray for regular 8½x11 paper. It also can print on CDs and DVDs and has an automatic duplexer. Canon provides a utility for printing on the CDs and DVDs and also for printing photos and other specialty items. This is available in Mac format also. I installed the most recent drivers and utilities.
    I also have a HP IBM Compatible computer on which the above printer as well as an Epson are installed. Every option of each printer is available in every software application that has need for a printer.
    The Mac printer dialog varies from one application to another. The only applications that list the option for selecting paper quality which includes photo paper are Office for Mac, Pages, and Numbers. Not likely that I would be using any of these for photo printing. Auto duplexing, however, is not available here or in any other applications.
    The print dialog in Aperture, Photoshop Elements for Mac, ACDSee for Mac, or iPhoto provide the choice of numerous sizes of paper but no option for paper quality. Therefore, I attempted to use the print utility supplied by Canon and updated by Apple for printing some photos. The photos are selected in this utility. When the print command was given I was shown a message that the printer was being reset. It then began printing a spreadsheet, which was not even open, from the front tray on regular paper in fast draft quality.
    It is essential that the rear feed be available for printing photos. The printer will not accept photo paper from the front tray. The greater proportion of my printing is photos or other specialty items all of which use paper that must be fed from the rear feed.
    An acquaintence who considers himself to be somewhat of a Mac expert insists that the printer options that I require are available and all I need to do is look for them. The print dialog should be clear enough that "looking for options" is not a necessity. Even so, I have dilligently searched every variation of the Mac print dialog on my iMac and only the office type applications named above included anything other than the basic printer functions.
    I have also searched numerous locations online without finding a solution. I did, however, find that printing and printing problems seem to be common with several versions of the Mac OS and Mac computers in general.
    I would appreciate it if someone could provide me with a solution. I have no desire to upgrade my Windows OS to Windows 8 which is perhaps suitable for "smart" phones but not desktop computers. However, because of the printing issue I have temporarily put my iMac aside and reverted to using my PC with Windows Vista.
    Help!!

    This is a user forum I feel you need to deal with Adobe customer services or support chat did not work in you case.

  • How to use the print option for photos?

    How to use the print option for photos.  I have a wireless printer but how do I set it up?

    http://www.apple.com/support/iphone/assistant/airprint/

  • Can I use Airport Express for printing and Ethernet printing at same time?

    I've been trying to set up a couple of laser printers that were given to me recently. The printers are Apple LaserWriter 16/600 PS and Samsung CLP-510. The reason I'd like to have both up and running is because the black toner for the Samsung costs twice as much as the toner for the LaserWriter. I have two questions that I am hoping someone will be able to answer.
    1) The CLP prints a test page just fine. I was finally able to get the Samsung printing while directly connected to my PowerBook G4 via usb (I had to install a Xerox Phaser 6100 driver to do so!). Today I tried putting the usb into my Airport Express (which I use for my portable internet and airtunes) and now the printer does not respond. When I try to add the CLP as a bonjour printer, I get an error adding the printer and the printer does not respond. Can someone offer some advice as to how and if the CLP may work via the Airport Express?
    2) The LaserWriter prints a test page just fine. I purchased a transceiver (albeit not an Apple transceiver - this one says Asante Friendlynet, the guy I bought it from said it would work though). The transceiver is connected to the Ethernet port on the printer - and I have a yellow ethernet cable (?) running from the transceiver to the ethernet port on my computer. I read somewhere on the internet that I need to turn on Appletalk in order to use the printer via ethernet but when I went into my network settings to do that, there was a warning that I could not turn on appletalk for ethernet without forsaking my airport. Can someone offer some advice as to how and if the 16/600 PS may work via ethernet without disrupting my (working) airport express? Also - I did not receive any software or drivers with this printer but I read that I may not need to (they come with Tiger - ?) Is anyone able to confirm this?
    Any help would be TOTALLY appreciated!
    Leigh-Ann

    Hello Kappy! Thank you for taking the time to reply to my question.
    I should update you at this point to say that I can add the 16/600 PS printer through a process that I found called 'Direct IP printing over ethernet'. (I think I've done this correctly - but I honestly have no idea about network stuff). Here's what I did:
    -went into system prefs and looked at the network settings under built-in ethernet tab. Under TCP-IP I found the IP address of my network host.
    -In the Printer Setup Utility I tried to manually add the 16/600 PS printer. In the Printer Browser window, I selected IP Printer.
    -Under IP printer, I selected LPD Protocol. I inserted the IP address copied from my network settings (above) in the address bar. In the Queue bar I typed in the name of the printer 'Apple LaserWriter 16/600 PS'.
    -Again in the Printer Browser box I gave the printer a name and location. Finally, in the 'print using' box I selected Apple and then chose the model from the drop down list. 'Apple LaserWriter 16/600 PS fax v.2014.016'
    -I got a dialogue box that asked about other installable features - clicked ok.
    -when I tried to print a Word document, the Apple LaserWriter driver opened up and appeared in my dock and then I got an immediate error saying "network host ---.---.--.--- is busy, down, or unreachable..."
    -I tried to repair permissions, but it did not resolve my issue.
    -I noticed that even after adding the 16/600, it did not show up as a bonjour printer, but remained visible as a printer in my list (although grayed out).
    I did some troubleshooting and the best I could find as a close match for my problem was that perhaps I had entered the name incorrectly in the Queue box...? If anyone knows how to find the appropriate name to insert I would sure appreciate knowing.
    Finally - you should probably know that I received this printer from someone else. I guess I'm wondering if I need to be resetting network settings on the printer somehow? The test page lists the following:
    Ethernet (Address: 08:00:07:84:78:e9)
    EtherTalk: PostScript
    NetWare: AutoSelect
    TCP/IP: AutoSelect
    IP address: 0.0.0.0
    And - now finally, to answer your questions (the best I can, that is)
    I did connect the yellow network cable directly into my laptop (right side, 4th input, counting away from me). I have a portable internet modem that plugs into my wall (for power) and then has a cable (Ethernet?) that goes into my Airport Express (LAN port?). I have no other router and there are no other inputs or outputs on my modem. My Airport Express has only one input for the modem, one mini input for airtunes, and one usb input (in which I have a cable connecting to my other laser printer (now working wirelessly via Airport Express!!)
    Should I have these cables hooked up differently?
    What is a Phonenet adaptor? My internet is provided via a cable service (not DSL). It is wireless and portable - I can take it to any major city in Canada and it works as long as it is plugged into a power source and near a window.
    I really appreciate any help you can offer. At this point I must have spent the better part of almost two weeks trying to get these older laser printers up and running.
    Thank you again.
    Leigh-Ann

  • Unable to use RAS SDK for server-side printing for XI 3.1

    Hi all,
    I am using RAS SDK for server-side printing.  Here are my codes:
    ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
    IEnterpriseSession enterpriseSession = sessionMgr.logon("Administrator", "", "cdi5boe", "secEnterprise");
    IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
    //out.println("Current User is = " + enterpriseSession.getUserInfo().getUserName());
    //out.println ("<br>");
    IInfoObjects infoObjects = iStore.query("SELECT * FROM CI_INFOOBJECTS WHERE SI_Kind='CrystalReport' AND SI_NAME = 'Sales Print'");
    IInfoObject infoObject = (IInfoObject)infoObjects.get(0);    
    IReportAppFactory reportAppFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
    ReportClientDocument rcd = new ReportClientDocument();
    rcd = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
    //Create print options to use when printing.
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName("
    cdi5boe
    HPLaserJ");
    printOptions.setJobTitle("Test Printer Job");
    printOptions.setPrinterDuplex(PrinterDuplex.horizontal);
    printOptions.setPaperSource(PaperSource.auto);
    printOptions.setPaperSize(PaperSize.paperLetter);
    printOptions.setNumberOfCopies(1);
    printOptions.setCollated(false);
    PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange(1,1);
    printOptions.addPrinterPageRange(printPageRange);
    //Print report.
    rcd.getPrintOutputController().printReport(printOptions);
    When I run the report, I got the following errors:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKPrinterException: com.businessobjects.crystalreports.printer.bean.ReportPrinter---- Error code:-2147215357 Error code name:internal
    I consult the Diamond Technical Community and I found the issue related to printer name:
    https://boc.sdn.sap.com/node/498
    However, I did check the printer name, it is accessible via Windows Explorer.
    Anyone knows how to resolve this?
    Regards,
    Derek

    It doesn't appear to be listed as a dependency in the developer docs, but would you try putting the ReportPrinter.jar in your RAS app?
    Sincerely,
    Ted Ueda

  • When using Appleworks database for printing labels can I have columns of different widths?

    When using Appleworks database for printing labels can I have a column of different width?
    Case in point, the supplied avery labels in Appleworks does not have 8195. When I build one using custom design  I need a small column between column 2 and 3 to line up the info in columns 3 and 4. All the labels are 1.3/4 inch wide but I need to insert a column 1/4 wide to match up with the avery page....
    Any ideas???    
    Thanks......
    ---warren

    Well, the issue is that when you creat a custom width of 1.3/4 from the edge of the first label to the edge of label 2 all is good. The right and left margins were also set correct in AW. The Avery page, for some reason, has a small 1/4 inch column between the columns of label 2 and 3 therefore making the distance between the left edge of the label in column 2 and the right edge of the label in column 3 - a width of 2 inches and not 1.3/4.
    I guess Avery wanted the page to look even.
    I did this work around.....
    I created a custom lay out of 2 columns (not 4) with the correct width of 1.3/4 from label edge to label edge and the correct left side margin. After printing the first page I just turned the sheet 180 degress and printed the 2nd page to use all the labels on the Avery sheet. Since the upper and lower margin were the same it worked great....
    "Great minds think alike"...   thanks for your suggetion

Maybe you are looking for

  • ITunes puts my computer in windows 7 basic color mode. It also does not recognize my iPad as viable video source

    When I start iTunes on my desktop computer, instantly it switches to Windows 7 Basic Color mode: "The color scheme has been changed The following program has performed an action that requires Windows to temporarily change the color scheme to Windows

  • ORA-00313: open failed for members of log group

    Hi, on 11g R2, on standby I have this in alertlog : ORA-00313: open failed for members of log group 21 of thread 1 Deleted Oracle managed file +DGRECO_FSCM/xxx/onlinelog/group_21.1721.791875667 Tue Aug 21 14:37:34 2012 Clearing online redo logfile 21

  • Conflict between ATI Multimedia Center Library and iTunes

    I have the HDTV Wonder with my computer. I can record TV shows and in the ATI Multimedia Center Library, it's a "cinema" type of file. Whwn I listen live a TV show, the program record automaticaly the TV show and in the ATI Multimedia Center Library,

  • My getURL code redirects the parent page, help!

    my getURL code redirects my parent page to a weird blank page and display "[object]" in the top left corner. I notice my source code wipes out and the "[object]" is in there. Does anyone have any suggestions? Here's the website --> http://dev.expertc

  • Creating Packages in ADRCI

    Can anyone please clarify the correct sequence of steps when creating an incident package using ADRCI in Oracle 11g? The New Features Exam Guide book says: "You must finalize a package before the ADRCI can generate a physical package from the initial