Bad Characters appearing in SAPScript Printout.

Hi,
I have an issue where in the final SAP Script Printout has certain garbage values appearing. Screenshot provided.
When debugging the SAP Script the values were all perfect. I cant figure out why the output appears this way.
Please find the attached file.
Thanks
Abraham

The [41!s must be part of an escape sequence which tries to set the current font or the current cpi or something similar. The SAP STN2 printer driver sends a certain print control before every piece of text, the [41!s must be content from that print control.
Somehow, your printer does not understand this print control sequence or there is an output filter between SAP backend and the printer which possibly removed the (preceding) Escape character so the rest is printed as text...
Check your if your SAP device type matches the actual printer model you are using.
Regards,
  Alex

Similar Messages

  • Are 'asterisks' bad characters for forum messages?

    I've just posted a message in the MacBook forum which contained asterisks in the following format:
    * [text] *
    As the message posted, the initial 3 asterisks were dropped, so that the line appeared as:
    [text] *
    An extra line space (hard return) was also added -- i.e., separating the line the text was on from the following line.
    Do 'asterisks' act as some kind of special coding in messages, or are they otherwise 'bad' characters to use in posts?

    Hi all,
    Some of the Wiki-like markup supported by "Apple Discussions" are described in
    [How do I format text in my posts?|http://discussions.apple.com/help.jspa#format]
    But it seems there are more "undocumented" markup tags.
    If you start a line with one or more asterisk(s), then it generates an item for a list (<ul> and <li> in HTML). You can confirm this by looking into the HTML source of this thread. Number of asterisks indicates the level of the item in the list. So
    * Foo
    ** Bar
    * Junk
    would produce the following HTML
    Foo
    Bar
    Junk
    But due to the sttings (css?) of Discussions this just looks like the following:
    * Foo
    ** Bar
    * Junk

  • Can't parse "bad" characters - need help

    Hey everyone, this should be simple. I am trying to parse (DOM parser) and XML string that has some funky characters in it. I am getting the following error:
    Illegal XML character: & # x 1 d ; (had to use spaces so that it would print out properly...otherwise: &#x1d;
    I have a findAndReplace method that I can use to replace the bad characters with their proper values (copy paste from Word to notepad of single quotes really screws things up), but I can't seem to get it to work. What should I pass in to be replaced? I know that this is a hexadecimal for '29', but I can't seem to get my findAndReplace to work by passing in &#x1d, & # x 1 d ;, or java.lang.String.valueOf(29). Please help, thanks!
    FYI...here's my findAndReplace method.
    public static String findAndReplace(String original, String replaceThis, String withThis) {
    if (original==null || replaceThis==null || withThis==null) {
    return null;
    int i = original.indexOf(replaceThis);
    if (i == -1) {
    return original;
    int replaceThisSize = replaceThis.length();
    int withThisSize = withThis.length();
    while (i != -1) {
    String beforeString = original.substring(0, i);
    String afterString = original.substring(i + replaceThisSize);
    original = beforeString + withThis + afterString;
    i = original.indexOf(replaceThis, i + withThisSize);
    return original;

    warnerja, you're right. That character should not be
    there. However, I can not guarantee that it will not
    be there as it comes from a different system and
    people are pasting Word docs into this system all the
    time. You can train people all you want, but they
    don't always listen. So, I need to make sure my code
    doesn't blow up when the do do this. Hence my issue.I'd follow the GIGO (garbage in, garbage out) principle. Are you also going to need to code it to read their minds when they provide no sensible input whatsoever, like:
    <hey, figure this>junk<out/>man</hey, figure this>

  • Garbled characters appear in PDF's generated in Acrobat XI 11.0.10

    Adobe: when generating PDF's using Acrobat XI 11.0.10, garbled characters appear on complete lines on otherwise legible generated pages. Adobe Acrobat says no updates are available. Please advise what workaround(s) should be used to prevent this. The problem seems to be increasing lately.
    Platform: Windows 7.
    Steps to troubleshoot: have no idea where to start other than updating Acrobat which has already been done.

    You probably are using some strange fonts that Acrobat can not embed due to licensing and are not viewing with system fonts. Be sure all the fonts are embedded (document properties -- ctrl-D).

  • Garbage characters appearing in CHM Index pane

    Help! I have a CHM that has garbage characters appearing in
    the Index pane. It is only when accessing the 'p' section of the
    index. Here is a link to the screenshot so you can see what I mean:
    Garbage
    characters in Index pane of CHM screenshot
    I don't know why this is suddenly appearing.
    I am using RoboHelp 6 on Windows XP Pro.
    Any suggestions on how I can fix this? Do I need to recompile
    the index? If so, how do I do that?
    Any help would be greatly appreciated.
    Thanks,
    Greg Davis
    Senior Technical Writer
    Consona ERP

    Dirk,
    Thanks for taking the time to help me. Here are the answers
    to your questions.
    Q: Do the index links work in these cases?
    A: Yes the links work fine.
    Q: What does the topic titles look like in these files?
    A: The titles look normal. Is there something I should be
    looking for?
    Q: What do the properties of these entries look like?
    A: What specific properties do you mean?
    Q: Is this one help system or do you merge?
    A: This is one single help file, no merged projects.
    Q: Is there any translation involved at any point?
    A: No
    Q: Open the project's HHK-file with Notepad and look at the
    first lines. Is there any codepage statement?
    A: No. Here are the first few lines:
    <html>
    <!-- Sitemap 1.0 -->
    <object type="text/site properties">
    <param name="SiteType" value="index">
    </object>
    Any help you can offer would be greatly appreciated.
    Greg

  • When I print a document with Arabic script in In Design the characters appear in an inverted form, in the opposite direction, while the printer doesn't do this with other software such as Word

    When I print a document with Arabic script in In Design the characters appear in an inverted form, in the opposite direction, while the printer doesn't do this with other software such as Word

    (The small field at the top of questions is to type just a title; the large field is to type your full question in, along with anything else that may help us help you.)
    When you say "print", do you mean the text is correct in your InDesign file? If you export the document to a PDF, is it still correct? Final test: if you print the PDF to your printer (making sure you use the same driver and setting), is it wrong? Then it's your printer driver, trying to be smart when it should not. Locate a Settings dialog where you can switch off options such as this one. Were I a betting person, I'd tell you to look for something called "Auto-correct mirrored documents".

  • Generated pdf file from oracle reports show bad characters

    Hello all,
    Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
    I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
    NLS parameters are set like this
    server:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY AMERICA
    NLS_LANGUAGE AMERICAN
    client:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY SLOVAK
    NLS_LANGUAGE SLOVAKIA
    When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
    I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
    Martin

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • When converting report to PDF, Russian characters appears as junk in adobe

    Dear all,
    When generating reports (ver 6.0.8.14.2) with Russain characters, after coverting the report to pdf, all the Russian characters appears as junk in the adobe acrobat reader. Please help how to resolve this issue.
    Note: Initially in the report I used arial font and the report runtime preview displayed all Russain characters as junk, but when I use the MS sans serif font all the russain characters appears properly in the reports runtime preview.
    Question: HOW TO DISPLAY RUSSIAN CHARACTERS PROPERLY IN PDF
    Regards
    Binu

    Hi Sriman.
    Thank you for the reply, but that does not solve my problem. I know that there is a size A4 210x297 mm, but i cannot use that as i have to use the other one only.
    It is very surprising, that i dont have that option in WAD while designing, but get that option when i execute the query.
    I guess i will have to post it to SAP, so they can create a note for this.

  • Mail with French / Spanish accented characters appear as Question marks

    Hi
    I am facing issues in mails that have French / Spanish accented characters in mail subject.Accented characters appear as Question marks (?) when received in the inbox.Mail subject is read from properties file.
    Please let me know the following
    - Should I have the entries in properties file in Unicode ? For example French accent character � is represented as &#225;
    - Should I replace msg.setSubject(subject); to msg.setSubject(subject,"UTF-8");
    Please suggest.
    Below is code snippet :
         Session session = getSession();
                   // create a message
                   Message msg = new MimeMessage(session);
                   // set the from and to address
                   InternetAddress addressFrom = new InternetAddress(from);
                   InternetAddress[] addressTo = new InternetAddress[recipients.length];
                   for (int i = 0; i < recipients.length; i++)
                        addressTo[i] = new InternetAddress(recipients);
                   msg.setFrom(addressFrom);
                   msg.setRecipients(Message.RecipientType.TO, addressTo);
                   msg.setSentDate(new Date());
    *               msg.setSubject(subject);*
                   MimeMultipart mp = new MimeMultipart("related");

    String subject = "\u00C 9tat de l'inscription en ligne";You need 4 hex digits after \u. You only included 3.
    mailSubject = new String(subject.getBytes(), "UTF-8");
    message.setSubject(MimeUtility.encodeText(mailSubject,"UTF-8", "B"), "UTF-8");Remove the above two lines. You're trying to make
    this much too hard. All you need is:
    message.setSubject(subject, "utf-8");
    Should I use ISO8859_1 as Charset or UTF-8 ?I think the characters you're included are
    representable in iso-8859-1 so you can use
    that.
    I am using Outlook express as my mail client. Do we have to decode it ?No.

  • [PART SOLVED] Random j, k characters appearing on lines. A vim issue?

    Hi There,
    I recently noticed that when scrolling around a file using the keys j and k in normal mode that random j and k characters appear at the end of lines. Initially I thought this was a terminal issue so I switched terminals, no luck. I removed all erroneous crap from .vim, no luck. I have googled around a bit, and it appears this is a known issue with jslint, but this is occuring with no plugins. Ctrl-l removes the random characters, and they don't appear to be getting written to the file, but it is annoying non the less.
    Any thoughts?
    Thanks.
    Last edited by ZombieX (2012-05-25 12:36:50)

    Thanks for the reply. In my case, it appears more frequent when you scroll back and forth over pages using j and k. I haven't noticed anything with the 'O' command but I will keep an I out. I haven't been able to find the root cause of this, nor have I found any 'real' fixes so I either deal with it or use emacs with VIM bindings. I'll consider this closed.

  • Customised Badi not appearing in Appraisal Template

    Hi All..
    I have created a Customized BAdi from an existing BAdi..i have also included this BAdi in Enhancement Area using the transaction oohap_basic.But when i go back to appraisal template and try to insert this BAdi in a column it doesnt reflect their..so please can anybody help me out with a solution..The BAdi is appearing in Enhancement area in oohap_basic and also in table T77HAP_FLT_EXI

    Hi
    Using tcode OOAM, go to the category to which your template belongs, and look in the Enhancements tab. The custom enhancement should be available in the available enhancements section. Move this to the selected enhancements section. Then you should be able to use it in the template.
    Hope this helps.
    Regards,
    Vikas Bhatia

  • Series of 8 characters appearing under my mouse pointer

    i have a mac... mid 2007. no problems with it ever in the last 7 years. today...about 2 hours ago...i started to see a weird series of 8 strange unidentifiable characters appearing under my mouse pointer on my screen... it just moves right along trailing my pointer around. does anyone know what this is...and how to get rid of this annoying pain in the butt. i checked thru my mac downloads looking for any weird downloads...but i see nothing out of ordinary...and i am normally pretty cautious about links and weird ads online and i never click on them. my mac had 500 gig hard drive...and i still have 400 remaining after 7 years. anyone have any ideas on how to get rid of this problem. i thought it was the mouse batteries or the mouse itself so i swapped around with another... but its not the mouse. please help. thanks.

  • IOS7 upgrade has ruined messaging, huge delay in typing before characters appear in screen on iPhone 4

    IOS7 upgrade has ruined messaging, huge delay in typing before characters appear in screen on iPhone 4.  Anyone else experiencing this?

    I have the exact same issue right now!

  • Adding in Select statement for SAPscript printout

    Hi everyone,
    I have a new requirement where i would need to output a new field in a sapscript printout.
    A summary of the requirements is as follows:
    -> If EKPO-PSTYP = '3'
       -> select RSNUM
          from EKET
          where EKET-EBELN = EKPO-EBELN and
                EKET-EBELP = EKPO-EBELP
       -> select MATNR
          from RESB
          where RESB-RSNUM = EKET-RSNUM
       -> display RESB-MATNR in printout
    At the moment, the sapscript is only reading from table EKPO, whereas for the new requirement to work, i'll also need to read from table EKET and RESB. Am i right to understand that sapscript cannot read SELECT statements directly from the Change Editor and i would need to do a PERFORM statement?
    The question now is, where do i put this part of the logic? Any ideas?
    Message was edited by: Bernard Loh

    Hi,
    Write a PERFORM in your script.
      PERFORM GET_MATNR IN PROGRAM Z_SUBROTINEPOOL
                        USING W_EBELN W_EBELP
                        CHANGING W_MATNR
      ENDPERFORM.
      And check the following to write the FORM in the Z program.
    The structure ITCSY is used in relation with SAPScripts. You can call a Routine in any program in SAPScript.
    For eg: if you have a subroutine named ADD_INCOME in a program ZSHAIL_BASIC, you can call the subroutine in SAPScript as follows:
    /: PERFORM ADD_INCOME IN PROGRAM ZSHAIL_BASIC
    /: USING &var1&
    /: CHANGING &var2&
    /: ENDPERFORM.
    Here the input parameter to the subroutine is var1 and the value returned by the subroutine is var2.
    In the program ZSHAIL_BASIC, you have to call the subroutine as
    FORM ADD_INCOME TABLES IN_TAB STRUCTURE ITCSY OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    IN_TAB is a structure of type ITCSY,which has 2 components, NAME and value.
    So in the program, var1(which is sent from SAPScript) , will be stored as IN_TAB-NAME and its value will be in IN_TAB-VALUE. You can utilise the IN_TAB-VALUE and after performing the required operations, the return value should be assigned to table OUT_TAB.
    This value can thus be obtained in var2 specified in SAPScript.
      Also you can search for "SUBROUTINE IN SCRIPT"... "PERFORM IN SCRIPT", "ITCSY"....
    Thanks and Regards,
    Bharat Kumar Reddy.V

  • Arabic characters appear as empty squares when using certain HTML tags or font styles

    Only when HW acceleration is on. Arabic characters appear as empty squares when using "italic" or "oblique" font styles or when using &lt;i&gt; or &lt;em&gt; html tags.
    Try this code to replicate the problem
    <pre>
    &lt;p&gt;مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt;
    &lt;p style="font-style: italic;">Italic مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt;
    &lt;p style="font-style: oblique;">Oblique مشكلة ظهور المربعات الخالية بدل الحروف&lt;/p&gt;
    &lt;i&gt;i tag مشكلة ظهور المربعات الخالية بدل الحروف</i> &lt;br&gt; &lt;br&gt;
    &lt;em&gt;em tag مشكلة ظهور المربعات الخالية بدل الحروف &lt;/em&gt;
    </pre>

    After lots of research, I found the problem. The boxes (squares) show up whenever there is a font in the webpage that does not have Arabic within its Unicode range such as Times New Roman Italic or Oblique. Normally, Firefox will pick another font to display the characters but now, a newly introduced feature is interfering.
    To fix the problem without turning off hardware acceleration.
    Go to about:config
    locate: gfx.font_rendering.directwrite.use_gdi_table_loading
    which is True by default in FF4.0 Beta 10, and change it to False.
    This is a bug that has to be fixed.

Maybe you are looking for

  • How to access multiple attributes of a node at the same time in XML AS3

         <chapter id="1" title="">      <screen title="lesson">      <swf>EXCEL/CH01/CH01_S01.swf</swf>      <ltitle>Chapter 1</ltitle>      <rtitle>Setting Up a Workbook</rtitle>      <prompt>Choose a lesson</prompt>      </screen>      <screen title="l

  • Can I export part of a Flex Application to a SWF at runtime?

    I have a Flex App that allows you to dynamically build an animation. It has a UI and a display of the resulting animation, which is a custom Class extending UIComponent. Is there some way to allow users to save/export the dynamically generated Compon

  • Final cut pro hd 4.5 doesn't work on my intel duo machine

    My final cut pro hd is about three years old. When I got a new mac pro, I ported everything including applications over. Not having used fcprohd for the last year, now, when I open the app in the intel machine, I get an error message asking for a lat

  • Theme graphical issues since latest update - Gnome 3

    Just did a total -Syyu update, so I don't know exactly what caused this, but my Gnome3 theme is now really odd. Text is difficult to read, top banner is changed. Not sure if this was intended or not but it's really ugly and I suspect an issue. Screen

  • Account Determination at Company code level for an interface

    Hi All, We need an account determination table at company code level that will be used by an interface to find the GL accounts for a particular company code. This is required for interfacing certain GL documents onto SAP and the account determination