SPAD in SAPscript

Hi gurus,
I just want to ask what is the hierachy in sAPscript in terms of font size and layout. For example in my Form Basic Settings I've set the font at 12cpi but in my page format it is 15cpi. What will the form use in displaying and printing.
Thanks
Andre

Hi Amith,
Is it possible not to define page format in SAPscript?
Regards,
Andre

Similar Messages

  • Error in Interactive form

    Trying to explore interactive forms on ECC 5.0 as very new to this field.
    Used T-code 'SFP' to view the standard Form 'MEDRUCK_PO'.
    When executing, during print previw provided the the default printer name in out put device but got following Error message
    "Device type unsuitable for ADS documents"
    Further function module gave message
    'Cannot find PDL type for output device '.
    what could be the reason do i have to do some settings for output device.
    Checked SPAD also
    Sapscript Handling : SWIN
    check box : Page printer is ticked
    Printer Deriver : Do not print ABAP lits
    Kindly resolve
    thanks
    anu

    hi all
    im also facing the same problem as above.
    ive read the sap note and did the following.
    1. went to se38 and ran report RSPO0022.
    2. in the o/p screen: activity to be performed -> Create/change XDC entry
        SAP Device Type->HPPCL5E.
    3. F8
    4. Open filename ->hppcl5e.xdc (from the Adobe folder)
    5. asks to create a new transport request. which i did.
    6. go back to SFP and Execute. Gave printer name as HPPCL5E. but error says: Device HPPCL5E doesnot exist.
    am i missing anythin here guys??
    pls suggest.
    pk

  • Spool - device type or format type without page breaks

    Hi SAP experts,
    We have users in our production system running report S_ALR_87012284 on background and then it generates a spool with page breaks in it.
    Users were using output device LOCL (device type: SAPWIN) with format X_65_255.
    Is there a SAP-standard device type or maybe format type where page breaks are eliminated?
    And if none, how should I create a device type or format type that would not have any page breaks at all?
    Thanks in advance for your help.
    Regards,
    Kris Caldoza

    Hi,
    The RDI Output Mode is blank in all of our System i.e. pre-procuction, dev and Production.
    In transaction EA60, there is a button as Print Parameter.
    In production system if we select any of the following it gives the same error.
    "Device type PLAIN does not support page format DINA4"
    Options are:
    1. Sap Script Form Settings are Decisive.
    2. Raw Data Interface (Output Mode Spool).
    3. Raw Data Interface (Output Mode IDOC).
    4. Raw Data Interface (Output Mode: Spool (Simple RDI))
    5. SAPscript Preparation (OTF).
    But, in our Pre-production or dev if we select the First Otion i.e 1
    it is giving the same error. but, when selecting the second one it is working.
    But, in Production if selecting the option 1 and 2, it is giving the error.
    Since the SPAD settings, SapScript Form Settings, Code are exactly the same in all the system.
    So, is there any configuration related to it?
    Thanks for your valuable advice,
    Parthow..

  • Sapscript: Print different languages

    Dear all,
    We have the following issue I need your help on:
    We have an offer, which has to be printed in Chinese and English. For printing we use the Sapscript forms ...
    Here is the current coding for printing (SE71):
    - Chinese: Printout is in Chinese and correct
    /:         ADDRESS PARAGRAPH T2 LINES 8
    /:           ADDRESSNUMBER &VBDKA-ADRNR(K)&
    /:           COUNTRY 'CN' LANGUAGE 'C'
    /:           LANG_FOR_COUNTRY 'X'
    /:           FROMCOUNTRY &VBDKA-SLAND&
    /:         ENDADDRESS
    - Englisch: Printout of customer address is shown as ##### even we print the output type in English and there is an English language maintained in SD and customer master data
    /:         ADDRESS PARAGRAPH T2 LINES 8
    /:           ADDRESSNUMBER &VBDKA-ADRNR(K)&
    /:           FROMCOUNTRY &VBDKA-SLAND&
    /:         ENDADDRESS
    The customer master data in VD03 is in English and Chinese as "Internat. Version".
    Please can you help us how the coding should look like, so the same output type can be printed in Chinese with Chinese letters and English with Latin letters.
    I've read through some other related topics and it seems like the device type is also relevant if the printing of different languages is supported or not!?
    Does someone know the correct device type? We currently use the following: PDFUC.
    By the way: In our user exit we also have implemented an user exit with the following function ....
    * China:
      ELSEIF destination_country_fields-intca = 'CN'.
         IF sender_country_fields-intca = 'CN'.
    * China -> China: Version C (if maintained, otherwise version SPACE)
          version_key = 'C'.
         ELSE.
    * from elsewhere -> China: International (if maintained)
           version_key = 'I'.
         ENDIF.
    --> This user exit shows, that we can't print the English characters since it's always pulls the Chinese ADRNR.
    Do you have an idea how we can adapt the program or user exit so we also can print the form in English, even parts goes CN to CN.
    Thanks in advance.

    Hi Andreas,
    you just have to make sure, that the device-type support the character-set. This is located in TA SPAD and there you go to the device-type.
    but that is a basis-thing.
    Additional to that it necessary to call the form in the correct language in such specific cases.
    To solve this issue go to SE63 and translate it to chinese.
    Now, if you got a chinese customer, call the form for the chinese output and if you got the english call the EN-Output.
    To connect both forms together you can use the START_FORM/ END_FORM functionstones. It is located in the same functiongroup.
    OR
    An easy try and error thing would be to set the country before printing the address.
    /: SET COUNTRY CN
    /:         ADDRESS PARAGRAPH T2 LINES 8
    /:           ADDRESSNUMBER &VBDKA-ADRNR(K)&
    /:           FROMCOUNTRY &VBDKA-SLAND&
    /:         ENDADDRESS
    SET COUNTRY <Yourpreferredcountry>
    This takes affect also at the outputdevice-type to refer to the correct language-settings.
    It is just an idea which come during writing my answer. I never faced something like that, but I can imagine, that this could be a also an easy to go solution.
    Hope that gives you a solution for your problem.
    ~Florian

  • How to create a page format at sapscript?

    Hi all,
    Please help me in creating a page format for sapscript.
    Thanks.

    Hi Deniz,
    Page format – Specifies the format in which the form needs to be printed. E.g. Dina4, US Letter etc. The page format is determined from spool administration table with transaction SPAD.
    When u create new SAP Script from SE71 , u get  2 tabs- adminstrative data and basic settings.
    when u select Basic settings tab , u have options to set page format.
    DINA4 is the very common page format we generally use.
    REWARD IF USEFUL
    thanks and regards
    suma sailaja pvn

  • Problem in displaying Japanese characters in SAPScripts

    Hi All,
    I am facing a strange problem in one of my SAPScripts. I have one script in both English and Japanese languages. The scripts are already existing. I had to do some minor changes in a logo window. I did them and i did not do any other changes in any of the windows.
    When the output wa s seen for the script in the Japanese version, it was looking ok displaying all hte Japanese characters in various windows. Now, during testing , in the same server, the Japanese characteres are not shown. Instead , some ' #'(hash) symb ols are getting displayed.
    How could it happen? Did any body face such problem? If so, can anybody plz help me out with the solution?
    What shud i do to get back the Japanese characters in my script again?
    Regards,
    Priya

    Priya.
    this is not an ABAP problem ask your BASIS team to set printer cofing from SPAD.dont worry its not an ABAP issue at all.
    sometime printer doesnt support special char so it need to be setting with printer.
    Amit.

  • SAPScript print out Margin problem

    Hi Gurus,
    I have configured a printer already existing to one of my storage location. When I am taking print out of material document, it is not coming correctly. Text is getting wrapped up on right hand side. But the preview of same material document is showing perfectly in spool result.
    I have checked the printer setting, print out is coming correctly for windows.
    I am using HPLaserJet Printer. I have maintained in SPAD- > Output attibutes- > Additional SAPscript & Smart Form Information:- Horizontal Move: 3mm , Vertical Shift: 2 mm. There is no page format maintained in tray info.
    but in Spool request, under "Print with changed parameters", the format under spool request is " DINA4".
    Please guide, if i need to maintain some more settings for the margins.
    Thanks & Regards,
    Sandeep

    Hi,
    For Material document Print out settings refer the below steps..in link
    Re: Printing all items (collective) from material document
    there are lot of threads regrading same answered in the forum have a look for the same
    Once all the settings are done check in MB90 you are selecting the line item and shoting the print.

  • Use 2 character sets in the same sapscript form (1100 & 4030)

    Is this possible or I need to make a new character set and then make the changes that I need.
    For example:
    The 'Field group' character is usually hex 1D. The problem is
    that hex 1D is not part of the printer character set 1100 . So
    a lot of changes are necessary:
    - Copy your device type in the customer naming room (transaction SPAD,
    Utitities - For device types - Copy device type).
    - Check, which character set your device type uses (transaction SPAD,
    device type).
    - Copy the character set to the customer naming room (SPAD - Character
    set ; customer naming room: 9xxx)
    - Call SPAD - Device Type and put the new character set into all three
    fields at 'Printer character sets'.
    - Now go into your new character set (SPAD - character set , Button 'Edit
    character set '). Unfortunately the character 'Field group'  doesn't
    exist yet. So you should select a character which you don't need and
    which you can 'misuse' as 'Field group' . Let's say, you don't need
    the character 'Thorn'. Then you
    have to add/change the entry of character 354,
    if you want to use the Thorn character for the 'Field group' .
    Here you must insert the sequence '1D' to get the 'Field group'  character .
    Now if you write <354> in the Sapscript layout set in the old
    editor or if you press 'Insert command' in the new editor
    and insert SAP character 354, a 'Field group'  should be inserted
    at that place in the print data.

    The Function Module CLOSE_FORM has an optional TABLES parameter called OTFDATA that can be filled with the contents of the document instead of printing.
    To do this, you must set the field TDGETOTF = 'X' in the OPTIONS structure that can be supplied as an optional parameter to Function Module OPEN_FORM when the document is opened for output.
    This table contains the OTF format data that describes your SAPscript document. Normally the SAPscript compositer would print this to an external printer or fax or email, but once captured in your program you can do anything you like with this information.
    For instance, you can convert OTF data to a PDF file using SX_OBJECT_CONVERT_OTF_PDF. See the many threads on this topic in the ABAP Development forum if you are interested.
    I hope this hint is helpfull to you. Good luck.

  • SAPScript Duplex Printing (SD Invoice)

    Hi all gurus,
    After reading some threads and as I told on this "answered" question from Manfred:
    Re: Duplex Printing SapScript: Invoice - Printer tries but fails backside?
    We need to print SD invoices in duplex mode.
    Settings that we have changed by now:
    - Sapscript: first page printmode as DUPLEX, next as default -> OK
    - Since read from official SAP documentation, for sapscript duplex you don't need to change display type or device type from SPAD. So I left the one was been used. Anyway, to be sure, I change its print mode to DUPLEX. I have also check if the print control SPMDU appears on the device -> OK
    - The printer we use is an OCE MP 1020 which can print on duplex mode and has PCL
    - I have tried printing the text SAPSCRIPT-PRINTMODETEST from SO10 but duplex does not work. They print on different pages.
    Following those instructions, I could not manage to do it.
    I have some questions:
    - Do we need to configure the printer locally in any way?
    - About the example "SAPSCRIPT-PRINTMODETEST", do you need to configure something before testing it for duplex printing?
    Could you please explain the needed steps to accomplish SAPScript duplex print?
    Thanks in advance,
    John

    Hi Aidan,
    Thanks for your response.
    I have changed the device type from SAPWIN to HPLJ4000.
    When I try to print the text: SAPSCRIPT-PRINTMODETEST
    The SAPLPD.LOG says:
    (11:10:16) Number of processors: 4
    (11:10:16) Icon DLL loaded.
    (11:10:16)
    (11:10:16) Network Communication via SAP-NiLib
    (11:10:16) Hostname: xxxxxxxx
    (11:10:16) IP Address: 9954064.2684488.2684488.1617840
    (11:10:16)
    (11:10:16) SAPLPD Version 6.29 for Windows/NT (OPT) is listening
    (11:10:16) OS-Info: version = 6.1, build = 0/7601, text = Service Pack 1
    (11:10:16) Copyright © 1992-2001 SAP AG
    (11:10:16)
    (11:10:26)
    (11:10:26) Receive job for printer __DEFAULT (Berkeley LPD protocol / RFC1179)
    (11:10:26) send_status called
    (11:10:26) send_status called
    (11:10:26) send_status called
    (11:10:26) send_status called
    (11:10:26) send_status called
    (11:10:26) Job 002aBOrZ.IS1 for user XXXXXX queued.
    (11:10:26) Job 002aBOrZ.IS1 (raw) started on printer \XXXXXXXXXX
    (11:10:26) Job 002aBOrZ.IS1 (raw) with 4955 bytes finished
    The printer is not printing any page :S
    This is the printer model:
    http://www.oce.co.uk/products/mp1020/specifications.aspx
    It supports PCL and Postscript
    What could be the problem?
    Thanks in advance

  • DD PRINT-SAPSCRIPT

    Hi ,
       I had done DD Print in SAPSCRIPT by using Print program RFFOUS_C.
       When this DD Print is done in F110 transaction(Automatic Payment Run)  it is
       expected to print more than one DD.But in my case one DD is printing properly
       and the next DD is not getting printed properly and also for printing the second DD , the printer head goes to half of the DD(Pre-printed Statinary) .Help me to solve this issue.
    Thanks.

    hi
    in the <b>SPAD> click on Full Administaration button in application toolbar>select DEvice typetab>again click DEVICE TYPE button>select the devicetype ur using then click on FORMAT button on the application tool bar...it will display the list of format</b> using by the printer.
    based on this may be the printer roll the paper... check whether there is an entry related to your DD size... i hope it helps you..
    Message was edited by:
            Naresh Reddy

  • In Sapscript, print page 1 on printer 1 and page on printer 2 -(tray setup)

    Hello Experts,
    We have a requirement in our cheque printing program wherein we need to print on different printers.
    I think this has something to do with trays in sapscript. Because for page 1, we need to print
    on a pre-printed form and for page 2 onwards we just need to print it on an ordinary papaer.
    Can you please tell me how I can achieve this and how do we customize it in sapscript?
    Hope you can help me guys. Thank you and take care!

    The resource names are already set by SAP. TRY01, TRY02, TRY03 which correspond to the same trays in the Printer setup (txn: SPAD, Tray Info window). I suspect there are more possible values (some printers have more than 3 trays) but I've never seen them documented.
    Note, your basis team needs to make sure the tray settings are in SPAD and the print drivers are set correctly.

  • Printing tab in Bar Code using SAPScript

    Hi,
    We are trying to print information from multiple fields in Bar code (using Code128 symbology) on our Utility Invoices, printing of which is done using SAPScript.
    Our objective is that when accepting payment using FPCJ transaction, the Cash Desk Operator will use a Bar Code Scanner and import relevant invoice data into multiple fields.
    However, for that to happen, it is necesary to print tab feeds between data of contiguous fields using Bar code.
    We have tried printing tab feeds in Bar Code using hexadecimal '09'. But it has not helped. Can anybody suggest how one can print tab feeds in Bar Code using SAPScript?
    Thanks in advance,
    Arijit Mitra

    Hi
    See the doc related to BARCODE printing and do accordingly
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Reward points if useful
    Regards
    Anji

  • Tray selection for sapscript

    I am working on tray selection for an invoice sapscript. It should print in Tray 2 and so I have set Resource Name in Sapscript form to TRY02.
    It works in one client and not in another client. Does anyone have an idea why this could be?

    Please check thru transaction code SPAD
    In SPAD > select the printer>. On the output devicescreen,--> menu selection Goto --> Device Type. This will allow youenter specific PCL code for all Print Controls.
    SE71 -> on page layout, --> give a tray name (TRY01) in the resource name to all pages in the sapscript.
    But you should know the printer PCL codes (basis can help you on this)

  • Duplex Printing SapScript: Invoice - Printer tries but fails backside?

    Hi experts!
    I have the following problem:
    I want to print invoices with duplex mode (using both sides of the paper to save money). I read the forum here and found out several things.
    1. Printer Admin (SPAD) -> Set the printer to Duplex mode
    Q: Is this general setting needed at all? I just want to print the backsides for invoices
    2. SapScript Form Development (SE71) -> Set Duplex Mode for Page First and Next
    Q: Do I have to set both to duplex? I have the standard setup so First -> Next -> Next ...
    The Problem:
    I tried to print out a 4 page long invoice and I observed the Printer doing it. The Printer tries to duplex by holding the page back at the half and pulling it in again. But then it prints "Nothing" on the backside; also it does this for all 4 pages. Result is: I have 4 pages instead of 2 but the printer needs double the time compared with default printing.
    Printer ok?
    Facing this I tried the text with transaction SO10: SAPSCRIPT-PRINTMODETEST to ensure, the printer can duplex at all.. and it worked perfect. So I can duplex within the text by using the command NEW-PAGE DUPLEX... but that does not help me with my invoice problem at all!. I could use the command in SapScript but the mechanism determing when a page is full would not work anymore. I would not know when a page is full and I dont want to mess with that arround at all.
    So where is my mistake?
    Do I have to adjust the print-report?
    Is it needed to set First as well as Next to duplex?
    Do I have to set in SPAD to duplex in addition?
    Thanks a ton!
    Manfred

    Hi Aidan,
    The tray problem seems to be like the following:
    Page First shall be printed from tray 1 because we have special paper for that with the company logo in color on it. All other pages shall be printed on regular white paper from tray 2 (its cheaper of course).
    I checked it out: it is cheaper to print all pages of the invoice on the expensive paper with duplex then using simplex with the two different types of paper... but thats just for the interest
    As the page FIRST shall be from tray1 and NEXT should have been from tray2 the printer did not try to print the first NEXT (so the second page) page on the backside of the FIRST page because the paper came from the wrong tray.
    The trick with PAGE2 that comes as well from tray1 enabled the printer to print the second page on the backside of page FIRST.
    My current problem is the following (and most likely not SAP-solvable):
    Its best to explain like the following. Take a normal DINA4 empty sheet of paper and mark it with a cross on the upper right corner. Thats where our log is.
    It is in Tray 1 of our printer are the sides with the logo facing down and towards you. If we print in simplex, then the invoice is printed properly on the side with the logo.
    If we print Duplex then we would have to insert the paper with the logo facing upwards and away from you to have the first page printed on the side with the logo correctly.
    the Problem with that is that I would have to change any form to duplex otherwise all other printmessages are printed wrong. And if someone prints on the "good" paper in simplex mode (for example from MSOffice) then they will print on the wrong side of the doc.
    Summary:
    I can print Duplex now with the hints you gave me but I have strategic problems. Another problem is that some customers dont want duplex invoices as they scan the invoices automatically and would miss out every second page.
    Thanks Mr. Black

  • Is it possible to print barcodes from LT31 (SAPScript) on a Zebra?

    Hi
    We have a factory that would like to print their picking lists/transfer orders using transaction LT31 to a Zebra ZM600 printer. The transaction appears to create a spool in the SAPScript format.
    We have tried pretty much all of the Zebra drivers (ZEB), a standard HP driver and a ASCII line printer driver (in SPAD) but nothing works - barcodes are not printed. For some drivers the format of the spool looks good in SP01, but then nothing is printed at all at the printer! In other cases the text is okay but barcodes are not, in other cases the text is complete gibberish.
    The user has been informed that SmartForms should be used instead of SAPScript but we believe this would involve changes at ABAP level and our ABAP support is by a third party company which we are trying to avoid using.
    I have seen SAP Note 179534 - Label printing with Zebra printers (SAPscript) but it seems this would also involve Application Support/ABAP teams etc.
    Is there anything we (SAP Basis) or the end user can do to be able to print barcodes from LT31 to the Zebra printer without involving Application/ABAP support?
    Thanks
    Ross

    Tried but get an error:
    SAP spool error log
          =====================
    Print request processing log
    The host spool is reporting errors
    Unintelligible response received from assumed SAPLPD ("#")
    (SAP)LPD cannot accept request (Queue LDSP0092 disabled?)
    Unable to connect to output processor
    Any ideas?

Maybe you are looking for

  • How to download Adobe Premiere pro CS5 for windows to my new imac 27 inch

    How to download Adobe Premiere pro CS5 for windows to my new imac 27 inch

  • F110 - Payment Run OLD LOG

    Hello everyone! At my system, certain Payment Proposal canceled when the user tried to Create the payment execution. But later, this user could execute this payment successfully. At the log, there are just the messages of the latest run. Can i get at

  • Losing bluetooth keyboard at startup / USB to blame - any fixes?

    Hi. After 10 months of normal behavior my Apple bluetooth keyboard - but not apple bluetooth mouse, strangely - now always needs to be re-paired with my MacPro at startup. (Batteries all fine, and kept nice and close to the computer.) According to so

  • MacBook Pro Mail will not open

    I need help. When I launch Mail,  it appears to load, but never completes the task. I can't check or change any settings to fix the problem, if it won't start-up...

  • Selection screen exit

    Hi all, I've created a selection screen with several select-options. however after i enter the 'execute' button, the program exit without any warning and return to the main menu. what've i done wrong here and how to correct it? thanks