Script Print problem..

Hi ,
  Iam developing a new program for printing the Delivery note. Program contains two radio buttons if first button  checked then output should get printed without displaying and if second radio button is checked output should only displyed no print required. (just like print preview).
Can anybody help me to get the above functionality.
Thanks in advance.
Bhushan

Do you have to do like this:
print_flag is the check box here.
    IF PRINT_FLAG = 'X'.  "If Print button is chosen
      X_OPTIONS-TDIMMED   = 'X'.   " Print Immediately
      X_OPTIONS-TDIMMED   = 'X'.   " Print Immediately
      X_options-PREVIEW = ' '. "Do not show Preview
    ELSE.                "If Print Preview button is chosen
      X_options-PREVIEW = 'X'. "Show Preview
    ENDIF.
then call your script function module
open_form by passing the x_OPTIONS to OPTIONS parameter and

Similar Messages

  • Script print problem - foot not updated

    Hi friends:
      When printing GR document, the PO No. at window foot of the doc is same.
      But infact the PO no. at foot is different.
      How can I get the right result? Thanks.
      PERFORM open_form_sammel.
    >>>SAMUEL20061011 BEGIN NEW SPOOL ID
      CALL FUNCTION 'START_FORM' .
      LOOP AT traptab.
        CALL FUNCTION 'WRITE_FORM'
               EXPORTING
                   ELEMENT = 'WE3BACOKOPF'
                   WINDOW  = 'RÜKOPF'.
        AT NEW EBELN.
          CALL FUNCTION 'END_FORM'    .
          PERFORM close_form.     
          PERFORM open_form_sammel.
          CALL FUNCTION 'START_FORM'. 
        ENDAT.
        CALL FUNCTION 'WRITE_FORM'
               EXPORTING
                 ELEMENT  = 'WE3FUSS'
                 WINDOW   = 'FUSS'
                 FUNCTION = 'APPEND'.
      ENDLOOP.
      CALL FUNCTION 'END_FORM'    .
      PERFORM close_form.

    Hi
    Check the type of FOOTER WINDOWS: if you need to print different data in different pages, that windows has to be VARIABLE and not CONSTANT.
    Max

  • Problem in script printing

    Hi Guru's
    I have a problem in script printing.
    The quantity and netprice are printing incorrectly. i.e., quantity should print as 1.000 where as it is printing as 1,000 and net price is printing as 5,30 instead of 5.30.
    I have checked in the owndata settings it is like 1,234,56.00.
    I would like to know whether any settings will be there or i need to do any modificatione
    Waiting for you reply.

    Hi!
    Here you can find the SAPScript formatting options.
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/803411454211d189710000e8322d00/content.htm
    If it is not good for you, you might code it in your printer program and put it into a character variable.
    Regards
    Tamá

  • Printing Problem in sap script

    Hi all,
    There is a printing problem in z report of sapscript.
    when I am giving continuous print ...
       1st page is right in print format but in 2nd page the text comes 1 row up...and so on...
    so the starting point for all page are not same...
    Please help me...

    Hello,
    Check SAP note 39259.
    Regards,
    David

  • SAP Script Printing

    Hi,
    Can we have 'Collate' functionality as in Word document in SAP script printing.

    Hi Rathakrishnan,
    It's not a functionality of SAP script, but you have to set an attribute of the output device. Use transaction SPAD, select your printer and hit button Output Device. Then go to Tab 'Output attributes' and set 'Copies as separate output requests (in SAP System)'. This is similar to the collate functionality.
    Does this solve your problem?
    Regards,
    John.

  • Barcode printing problem

    Dear Expert,
    I'm facing a barcode printing problem where it displayed incorrect barcode formatting in the print preview by displaying strips for bar lines.  I'm using Sapscript to do this and I have already specified in Character format for barcode Code 39 and I have created a Z system bar code(se73) specfically for this. Could you pls give me some ideas on how to solve this problem.
    Thanks
    Adis

    Hi Adis,
    There is another way of having the print preview. You directly print the Sap Script, it will go to spool (SP01). Now use the program RSTXPDFT4 in SE38 and enter the spool number. It will convert the spool record with that particular number to the PDF fomat. You can now see the view through the PDF format.
    In the direct print preview you may do not get the correct view of the bar code specially for the SAP Script.
    Please check....
    Warm Regards.
    Abhijit.

  • Printer problem - Deskjet 930C & Officejet G95

    I was asked to fix some problems in a small intranet that runs os X server and imac g5`s. The problem im experiencing is with two of our printers:
    #1 Deskjet 930C - This printer is connected via USB to a airport base that shares it to the network using Bonjour. The printer pops up for our network users and everything seems fine, untill i try to print something and the print assistant launches. It tells me that all jobs have been stopped. Trying to start them does not help.
    #2 Officejet G95 - Connected via USB to one of the IMACS that shares it to the network, same as above. Network users can see the printer, but when they try to use the printer they get a error saying all jobs have been stopped.
    I tried connecting the printers manually to my G4 laptop, and print directly. I can only make the deskjet 930c work like that. Downloaded ghostprint and installed drivers for G95, now i don`t get the error saying jobs are stopped anymore: now nothing happens.
    We also have some print queues that work just fine, network printers that is with gimp print and printservices on the xserver we got. Also, the G95 ad deskjet printers used to work. This problem has just appeared lately.
    What could be wrong?

    I have been using photoshop CS2 and then saving the photos as jpeg and psd. I usually put these photos back into iPhoto and recently while printing it will state that I am using a non-post script printer. The result of the type is jagged as if Adobe type manager/or similar software is not been used. Prior to the past few weeks I had smooth print. Photosmart has the correct driver and PPD version. How do I get back to getting post script/true type print?
    Oct. 3, 2006 1705 hours
    G4   Mac OS X (10.4.8)  

  • Script printing changes when transport from QTY to Production.

    Hi all,
    i m having a problem with sap script printing. i have a report which prints well in a perticular printer when it is in Quality server. but when i transport it to Production it gets different fonts style and the alignment of the fonts gets disturb, like out of 10 values in amount fields 1 or 2 amounts alignments gets changed.
    what could be the reason for this. and what could be its solution.
    plzz help me to solve this problem..
    thanx...

    Hi,
    Please check the printers in both the Servers. The printer settings will do the change. Contact the Basis guys or the hardware guys there and check the printer settings.
    Check the request numbers of the FORMS so that any other code replaces that old code you are telling.
    But i strongly believe that it will be the printer settings.
    Regards,
    SUBBU.

  • Printing problem - GCC Elite 12/600

    Has anyone managed to get their MBP to add this to the printer list and print to it? Works fine with all other macs, but won't add, even as a generic post-script printer, on the MBP. 'No route to host' is what it says, even though it shows as an AppleTalk printer in the add printer dialog. If I look for it as an IP printer and input its IP address it can again see it, but won't add it as a generic PS printer as the 'connection times out'.
    Driver problem or what? I have two of these printers and will be irritated if I have to buy new laser printers, that may not have available drivers for the MBP.
    Chris

    I just retired my 8 year old Elite 1212 because of GCCs terrible support. They wanted $160 for a firmware chip to make it 100% OS X compatible. It just wasn't worth it IMHO when you can buy new printers that are faster and do more for $300.
    Anyway, if no one posts an answer by tomorrow I'll fire up the Elite 1212 and see if I can get it to work with my MBP. GCC has never updated their driver since 10.2.

  • HP6500 Printing Problems in IE9

    My HP 6500 wont print in IE9 but does print from other programs.  It seems to be a recent problem.  Any suggestions?

    Hello, 
    I am not sure of why this is the case, but i found an article here which may be useful:
    http://www.ctimls.com/Support/KB/Error%20Fixes/Fix_Print_Problems.htm
    Internet Explorer 9 Print Issues
    To speed up graphic performance, Internet Explorer 9 moves the rendering of web pages, images and web mail from your computer's Central Processing Unit (CPU) to your video card's Graphics Processing Unit (GPU) by default. If your computer's video card or video driver does not support GPU hardware acceleration, you may be unable to Print or view the print Preview of web pages or emails; printed colors may not match displayed colors; or printing may generate a script error (that may reference "URL: res://ieframe.dll/preview.js"). To resolve printing problems through IE 9, either (a) set your browser to use Software rendering instead of GPU rendering, or (b) update your printer driver to the latest version, or (c) re-register the ieframe.dll file in Windows. 
    To set your IE 9 to use Software rendering instead of GPU (hardware) rendering:
    Open Internet Explorer 9 
    Select Tools > Internet Options > Advanced tab
    Browse to the "Accelerated graphics" section
    Check "Use software rendering instead of GPU rendering"
    Click Apply and then click OK
    Close all open IE 9 windows to reset the rendering method.
    To update your printer driver to the latest version, either go directly to the printer manufacturer's website, or select the appropriate article in the Related Articles at the end of this web page. (Note that IE 9 cannot be installed in Windows XP or earlier.) 
    To re-register the ieframe.dll file in Windows, click Start > in the Search bar type  regsvr32 ieframe.dll  > click the Enter key.
    Hope this helps.
    I work for HP.

  • Mac 10.6.5 HP LaserJet 1022 printing problem persists

    Hi All,
    I still couldn't get my HP 1022 prints after updating to 10.6.5 where the release said it fixes some HP printer problem connected to Airport Extreme. (http://support.apple.com/kb/HT4250) Mine is connected to Airport extreme too. Installed the 2.5.2 HP printer update too!!
    When I print document with multiple pages, the alert LED started blinking after printer the first few pages... Sigh... I did those reset printing system procedures and restarted my Airport extreme... no dice...
    Wanna ask if other HP LJ 1022 printer owner has got their problem solved or not.
    Thanks
    Bill

    Hello,
    *BUGS IN UPDATE OS-X 10.6.5*
    Updating new or older Intel Mac's to snow leopard to 10.6.5 will result in problems
    with several HP printers (both wired and wireless with airport express basestion).
    It doesn't mather if you also update the HP-printersoftware to version 2.5.2.
    The problem exists...
    After printing only one page, all the lights on the printer itself are flashing
    (see also youtube video from German Apple users: http://www.youtube.com/watch?v=0s7gZYA2Kj4)
    No more than one page is printing.
    And the printer won't print anymore, untill you turn it off and back on (hard reset).
    SOLUTION
    Connect the HP printer (for instance the HP 1022) wired to your Apple Intel computer.
    Choose the Gutenprint driver (in stead of the HP driver 1.3.0.261) when adding a (standard)
    printer in System preferences.
    The printer will now work fine.
    Unfortunately the Gutenprint driver won't work in combination with with wireless printing
    to a HP printer with a airport express basesation.
    *EPSON printing problems*
    Other printer problems are reported with professional Epson large format printers.
    Several Epson drivers won't work in OS-X 10.6.4 and in 10.6.5
    Not directly and not tru a RIP printing server (Windows or Mac).
    The temporary solution is choosing a general post script printer driver,
    in stead of the Epson driver, when adding a printer in system preferences.
    Good luck!
    Best regards,
    Danny Rorije Consultants
    The Netherlands

  • Airport Extreme Printing Problem with HP Deskjet.

    Hello ... I wonder if any helpful folks can assist me with my printing problem? I am using Tiger on a new Intel imac with a HP Deskjet 960C. This printer is listed as having the latest drivers included within Tiger and works perfectly when connected via USB so my problem I guess is not with the software....I have disconnected everything and plugged everything back together again. I also deleted the printer from the printer list within the Printer Setup Utility application.... The imac recognisies the printer and upon pressing the print button everything feels as though its just going to work. The blue barber shop scroll appears but the printer fails to kick into gear and I get the big red exclamation mark appearing in the status box .... I would really love to try and sort this annoying error ... Any ideas? Thanks. Book G4   Mac OS X (10.4.4)  

    Hello jds17. Welcome to the Apple Discussions!
    Unfortunately, not all USB printers are compatible with AirPort base stations.
    Take a look at one of these iFelix Unofficial AirPort Printer Compatibility links, depending on which AirPort base station you have:
    o 802.11g AirPort Extreme Base Station (AEBS) or AirPort Express Base Station (AX)
    o 802.11n AirPort Extreme Base Station (AEBSn)
    If your printer isn't listed, it doesn't necessarily mean it won't work, but simply that it has not been verified. iFelix also provides the following workaround for printers not on the list that would certainly be worth a try.
    Also, you may find the following Apple article helpful.

  • Not printing text-only graphics on Canon. Not printer problem-print ok on Brother and another network Apple prints ok on Canon. Believe a computer setting was inadvertently reset. What setting and how do I reset?

    Not printing text only on Canon--grahics print ok.  Not printer problem.  Prints ok on a Brother and another network Apple prints ok on Canon.  Believe a computer setting was inadvertently reset.  What setting and how do I reset?

    Without your printer model numbers, readers can only give you vague general directions.
    System Preferences > Print&Fax > ...
    ... shows a list of all set-up printers.
    If you are having serious problems, it makes sense to "Reset the Printing System" (which also removes all printer set-ups) and add back each printer. It only takes a few minutes.
    Mac OS X 10.6 Help: Resetting the printing system

  • Crystal report printing problem in Malayalam

    Hi,
    I have a printing problem in Malayalam in crystal report.The viewer displays the correct font but the printed output displays the square boxes.I have installed the font.I am using Visual studio 2010 and crystal report 13.0 version.what could be the problem???
    please help me...!!!

    Hi priyashekar,
    I’m afraid that it is not the correct forum about this issue, since this forum is to discuss Visual C#. You can post your question in the
    Crystal report forum: http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Canon 860 Series (Pixma) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips

    After spending several hours sorting out Canon Pixma OSX problems here are my thoughts:
    Canon 860 Series (Pixma 868) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips
    Problem:
    - New imac and MacBook Pro 2012 (OSX 10.8.2) had a problem using Canon Pixma 868 printer on network and would not scan or print using Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print), which has advanced scanning and photo printing functions. 
    - When I connected the canon printer to my imac, OSX 10.8.2 automatically downloaded and installed drivers for Canon 860 series printer. I could then add the new printer (select ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”) and printer would work while connected via USB but could not get to print or scan over network wifi. 
    - The original Canon 860 Series CD does not work with 10.8 and the manual / online instructions did not make sense (as based on CD install). 
    Solution:
    1) Install Canon Printer Drivers and Software (from official Canon site)
    Go to canon support site, review FAQ, then download and install following Pixma 860 Series software & drivers for OSX 10.8 (links see below). The version I downloaded is in brackets but check for updated version. Full instructions are below.
    Canon 860 Series Drivers & Software  for OSX 10.8 Mountain Lion:
    The base software and drivers needed for using Canon 860 Series on Mac OS X 10.8 (USB) are
    1 Printer Driver
    (Canon MX860 series CUPS Printer Driver Ver. 10.67.1.0 (03-Aug-2012))
    2 Scanner Driver
    (Canon MX860 series Scanner Driver Ver. 14.11.4a (03-Aug-2012))
    3 Network Tool
    (Canon IJ Network Tool Ver. 4.1.0 for Intel Mac (27-Dec-2012)
    Canon Software for using advanced printing and scanning functions (while connected to network)
    4 Solution Menu
    (Canon Solution Menu Ver. 1.4.1 (27-Jul-2012 ))
    5 MP Navigator EX
    (Canon MP Nav EX Ver. 2.1.3 (02-Auf-2012))
    6 Easy-PhotoPrint EX
    (Canon Easy-PhotoPrint EX Ver. 4.1.6 (21-Jan-2013 ))
    Canon Support (HK) – check your local site
    http://www.canon.com.hk/en/download/main/index.do
    Select Product and drivers from support site eg http://support-hk.canon-asia.com/
    1. Choose a product category
    Multifunctional Printers
    2. Choose a product series
      Pixma
    3. Choose a product model
      Pixma MX868
    4. Choose type of document
    Downloads or FAQ
    If you have problems installing the software under 10.8, see the FAQ on Canon site. You will need to allow software installs from “unidentified developers by using “Control” Key or by changing your system preferences)
    2) Check Canon Printer and Software Working while connected via USB
    Once you have downloaded and installed drivers and software and restarted computer, check that the printer and Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print) are working via USB.  Open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App) and make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it shows the correct SSID Wifi settings (under the Canon IJ Network Tool App ‘Setup menu’).  This is normally done as part of the automatic install but worth double checking
    3) Add new network printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”).
    After you have checked USB printing turn off printer, unplug the USB cable and shutdown the Canon IJ Network Tool App.
    Then turn the printer back on and wait 30s. Then add a new printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”). Once you select “+” (add new printer), wait 10-30s for the Wifi Networked Canon MX 860 Series printer to appear in the new window eg Canon MX 860 series (xx.xx.xx.xx.xx.xx) (Kind: “Canon IJ Network”)
    DO NOT ADD THE MX 860 SERIES BONJOUR SCANNER (the Bonjour Scanner is the built-in software, is not needed and often appears first on the add printer list).  The Canon scanner can be accessed used through the MP Nav EX Ver. 2.1.3 software (which has much better functions)
    You will now have two Printer Canon MX860 (USB) and Canon MX860 (Wifi / Network). Set the Canon MX860 (Wifi / Network) as default and test print and scan
    If the Wifi Networked Canon MX 860 Series printer does not appear, check the printer and make sure that the printer can see the wifi network. On the printer select Menu / Settings / Device Settings / Lan Settings / WLAN Setting List.  It should say WLAN Active, identify the SSID and have an IP address
    If the printer can not see the Wifi Network, plug the USB cable back in, then open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App). Make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it has your SSID settings (under setup), if it has this info, restart the computer and the printer and try again

    Hi, thaks for response, meant to post as a discussion (not question), wanted to save others time if they get the same problem

Maybe you are looking for