Spool printing only 80 characters

Hi
im having problem when im generating a spool.
i will print a string with 360 characters. but it is only printing 80 characters.
any suggestions on how can i able to print it all?

Hi,
You can change the settings programatically using the below FM; By passing the Layout and Line size in the below case the line size will be 255 chars.
Default setting will be X_65_80
CALL FUNCTION 'GET_PRINT_PARAMETERS'
   EXPORTING
     NO_DIALOG              = 'X'
     LAYOUT                 = 'X_65_255'
     LINE_SIZE              = 255
Hope this helps
Regards
Shiva

Similar Messages

  • Printing Turkish Characters in SAP Script Form

    Hi I want to print a Form where I need to Print Turkish characters from Database. Its Print Preview is coming absolutely right but there is some problem while printing. I shows # symbol in places of Turkish Characters. I have checked the printer and drivers and they are absolutely fine. Printer is printing other documents in Turkish Language but not the form. System has Turkish fonts installed. Kindly help. Thanks in advance.

    Hi
    See this OSS note for your problem
    OSS Note: 776507
    Symptom
    Documents printed via SAPscript or SmartForms do not print with correct special characters, e.g. ### prints instead of Japanese or Russian characters. What to do?
    Other terms
    SAPscript, SmartForms, printing, device types, OTF
    Reason and Prerequisites
    Help required to choose proper fonts in a SAPscript or SmartForm
    Solution
    When using SAPscript or SmartForms to print (or email or fax) a form from a business application, many factors influence the outcome of the actual text within the form. All these factors must be checked in order to ensure a correct printout:
    1) The language version of the form used to produce the printout.
    Example: If you want to print a French invoice, you need to have a FR version of your SAPscript or SmartForms invoice form RVINVOICE01. And the application program must specify the corresponding language key (FR) when calling the SAPscript or SmartForms API.
    2) The font selections specified in the form (possibly also in a SAPscript style or SmartStyle used in a form).
    Example: In a SAPscript form or a SmartStyle you need to specify HELVE if you want to print German text in Helvetica (or similar) font. If you want to print Japanese text, HELVE is not a valid choice but you need to specify a Japanese font like JPMINCHO in your Japanese form.
    3) The output character set of the device type
    Every printer in transaction SPAD has a "device type" assigned. Device types used by the spooler for printing support only one single specific output character set. All text from the form has to be converted (using SAP's built-in character conversion mechanism) to this output character set.
    A character set can typically support either a single language (e.g. Shift-JIS which supports only Japanese) or a set of languages (e.g. ISO 8859-1, which supports Western-European languages). It is possible that a given language (such as German) can be supported by several output character sets, e.g. you may use either ISO 8895-1 (Latin-1) or ISO 8859-2 (Latin-2) to represent German text. This is so because both character sets contain the special characters used in German.
    Example: HPLJ4000 is a HP LaserJet device type supporting the ISO 8859-1 (Latin-1) character set. ISO 8859-1 can be used to represent e.g. Dutch, English, French, German, Spanish, Swedish but NOT Russian or Japanese.
    As a consequence, it is ok to use HPLJ4000 to print English, German French etc. but not for Japanese or Russian.
    4) The set of available printer fonts for a given device type
    When formatting a document, SAPscript and SmartForms perform an automatic mapping of the font definitions in the form (e.g. "HELVE 14 point bold") and the available printer fonts of the device type. A replacement printer font is chosen, should the specified font selection not be available in the device type. Now this replacement can be problematic if a language-specific font, such as Chinese CNSONG, is specified in a form and it gets replaced by a font which does not support this language, e.g. COURIER.
    To solve this problem, font families in SE73 have language attribute assigned, e.g. some fonts are characterized as being suitable only for certain languages. And when a replacement has to be chosen because the original font from the form is not available in the device type, a replacement font is chosen which has the same language attributes.
    If no fonts for the language in question exist in the device type, the resulting font will not be able to print the special characters and you will see "wrong" output characters in the printout.
    Note on SAPscript/SmartForms Print Preview:
    The OTF Print Preview available in Windows GUI (e.g. from transaction SP01) will sometimes not show the "wrong" characters which appear on the final printout. Here is the reason: since the Print Preview runs in Windows environment, it will use Windows fonts to represent the actual printer fonts. A Windows font typically has more available characters (i.e. covers more character sets) than are actually available in a printer's resident font.
    A typical example where the Print Preview will differ from the printout is here: if you have a Chinese PCL5 printer such as CNHPLJ4 and use the Western Latin font COURIER in your document, the print preview will show you Chinese characters if you (by accident) tried to format Chinese characters in COURIER font. This is because Windows will automatically choose a font that can output Chinese characters (which is actually not Courier). But when you print the job on an actual PCL5 printer with resident Western and Chinese fonts, the Courier font will not print any Chinese characters but Western special characters instead, because the printer's resident Courier font does not include Chinese characters.
    Rule of thumb: all Asian device types (e.g. CNHPLJ4, JPHPLJ4, JPPOST, KPHPLJ4) support not only Asian fonts but also COURIER, HELVE and TIMES fonts. But these Latin fonts can only be used to print English text, not Chinese/Japanese/Korean characters.
    Which fonts are suitable for a given language?
    Language(s):            Font family to use in a form:
    Latin-1 (Western Europe/Americas) *******
    DE,EN,FR,ES,NL,SV       COURIER, HELVE, TIMES
                            (LETGOTH, LNPRINT)
    Latin-2 (Central Europe) ****************
    PL, CZ                  COURIER, HELVE, TIMES
    ISO 8859-4 (Baltic) *********************
    ET, LT, LV              COURIER, HELVE, TIMES
    ISO 8859-5 (Cyrillic) *******************
    BG, RU, SR, UK          COURCYR, HELVCYR, TIMECYR
    ISO 8859-7 (Greek) **********************
    EL                      COUR_I7, HELV_I7, TIME_I7
    ISO 8859-8 (Hebrew) *********************
    HE                      COURIER, HELVE, TIMES
    ISO 8859-9 (Turkish) ********************
    TR                      COURIER, HELVE, TIMES
    Simplified Chinese **********************
    ZH                      CNHEI, CNKAI, CNSONG
    Japanese ********************************
    JA                      JPMINCHO, DBMINCHO, DBGOTHIC
    Korean **********************************
    KP                      KPBATANG, KPDODUM, KPGULIM
                            KPGUNGSE, KPSAMMUL
    Traditional Chinese *********************
    ZF                      TWDPHEI, TWMING, TWSONG
    Thai ************************************
    TH                      THANGSAN, THDRAFT, THVIJIT
    Arabic (Unicode systems only) ***********
    AR                      ANDALE_J
    Verify your output by examining the OTF data
    When analysing printing problems of this type, be sure to check the OTF data which gets produced by SAPscript or SmartForms. OTF or "Output Text Format" is the intermediate page-description format generated from SAPscript or SmartForms. OTF will contain the final printer font names and character set/language identifiers which help to solve the problem. OTF will even name the form and the language of the form used to create the output.
    The easiest way to do this is to create a spool request from your application, run transaction SP01, use menu
    Goto->Display Requests->Settings
    and choose
    Display Mode: Raw
    Now display your spool request. If this is a SAPscript or SmartForms spool request, you will see OTF data. Each line represents one OTF command, every command starts with a 2-character cmd identifier and possibly some cmd parameters follow.
    Here is an excerpt from a sample OTF file where we highlight the most interesting commands:
    //XHPLJ8000    0700 00000000001
    IN04EALEXTEST_ZEBRA
    IN05%PAGE1
    OPDINA4  P 144  240 1683811906000010000100001
    IN06%WINDOW2
    MT0024401289
    CP11000000E
    FCHELVE  120  00109XSF100SF101110000067E X
    UL +0000000000000
    SW00067
    CT00000000
    ST0453037Dieses SF hat Stil ALEXTEST_ZEBRA mit
    The 1st line with the // (Control) command reveals the device type usedto print: HPLJ8000
    //XHPLJ8000    0700 00000000001
    The 2nd line (IN = Info command) shows the name and (internal 1-char)language key of the form:
    IN04EALEXTEST_ZEBRA
    In this case it is the English (E = EN) SmartForm ALEXTEST_ZEBRA
    The OP-line (OP = Open Page) gives the page format used in the form, it is DINA4 Portrait orientation:
    OPDINA4  P 144  240 1683811906000010000100001
    The CP (CodePage) cmd shows the SAP system codepage used to code the text and the active language. In our case it is codepage 1100 and language E = EN = English.
    CP11000000E
    Finally, the FC-cmd (Font Call) lists a printer font selected within SmartForms. Please note that every SmartForm has a designated default SmartStyle under "Form Attributes->Output Options". In addition, every text node can have a SmartStyle attached (which will override the definitions from the default style for the text). In our case the resulting printer font that was selected is HELVE 12.0 pt bold-off, italic-off.
    FCHELVE   120  00109XSF100SF101110000067E X
    Header Data
    Release Status: Released for Customer
    Released on: 22.08.2005  09:57:20
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: BC-CCM-PRN Print and Output Management
    Secondary Components: BC-SRV-SCR SAPscript
    BC-SRV-SSF Smart Forms
    <b>
    Reward points for useful Answers</b>
    Regards
    Anji

  • Printing Chinese Characters in Smart Forms

    Hi,
    Iu2019m trying to print Chinese characters via smart forms. However during print preview or print, all Chinese characters are showing as # symbols.
    I have researched and implemented for some possible solutions posted in the forum like:
    a.) Setting the regional language control panel.
    b.) Activating the multi-byte function in I18N.
    c.) Checked the output device is SWINCF.
    d.) Control parameter language is ZH (Chinese).
    Unfortunately it still doesnu2019t solve the problem. Any input is highly appreciated.
    With regards,
    Marc

    Remark following basics:
    Forms:
    Language of the form must be: "ZH".
    Due to a SAPNOTE only font family CN* (CNSONG etc.) is mapped.
    For frontend print, you must install chinese true type on you local PC and print via "CNSAPWIN" .
    For backend print, you must install neccesaary fonts in your printer to the resident fonts. You must use a printer like "CNHPL4" or so.
    For PDF archiving, you must upload truetype fonts to application server -> basis guys.
    Cascading Fonts:
    If you mix different subfonts to unicode areas, you must use CNSAPWINCF.
    Until now, only frontend printing is available.
    Note:
    Spool created for back end print with print preview is only a simulation of getting a picture of the output created with front end technology. So it can differ, when the printer does not have the resident fonts.
    Regards,
    Christian

  • Photoshop CS3 printing garbage characters on HP LaserJet 1300

    After installing CS3, Photoshop prints garbage characters on my HP LaserJet 1300.
    Yes, I have tried printing as ASCII, ASCII85, Binary and JPEG - nothing helps (plus the settings won't stick even after holding down Alt and clicking the Remember button).
    The only way to print right now is to choose Save as PDF in the print dialogue, open the PDF in Adobe Reader and print from there.
    Any ideas?

    tzw - I responded about this on another forum. I talked to technical support at Adobe about this exact issue about 2 months ago - can't print photoshop CS3 on any of my three HP printers. ( I have a HP1200, an HP 2550 and a HP photosmart 7660) (CS2 works fine) They worked with me for about an hour - called me back and worked some more, and then decided to send it up to the programmers (or engineers or whatever) The programmers called me and worked with me for another hour - trying different set-ups etc., but the conclusion by them was that this was a huge problem in that there were a lot of HP printers out there - that they were going to give this their top priority - and that there would be a fix for this soon. (I have yet to see a fix.)

  • When i print a pdf from preview it prints strange characters - it looks fine on screen

    when i print a pdf from preview it prints strange characters - it looks fine on screen

    You can also try opening the PDF with preview, then doing a copy and paste to TextEdit and printing from there.
    Adobe makes it easier, but you do have software to accomplish this.
    Only download Adobe reader from this site, to avoid "fakes/spoofs/malware" that will cause damage to your machine.
    http://www.adobe.com/support/downloads/product.jsp?platform=macintosh&product=10
    Hope this helps

  • Acrobat Pro 9.4.6 Printing Strange Characters

    I currently use Acrobat Pro 9.4.6 and when printing to a PDF file it prints strange characters...not at all what I want to be printed. I'm using Windows 7 Home Premium. Have others experienced this? Any assistance would be greatly appreciated.
    Jim

    Thanks for taking the time to reply. It's interesting that this problem only manifests itself in certain applications. A friend installed a program called CuteWriterPDF and the applications that I was having difficulty with writing PDF files are taken care of perfectly with this small program. It was just an experiment but it worked. This is not a perfect fix as I would prefer a solution from Adobe but at least I'm back up and running.
    Thanks much for taking the time to reply!

  • Problem when printing Thai Characters in Smartform

    Hi All,
    When printing thai characters in smartform it takes more spaces between characters than required. I tried all possible font to adjust the character spacing.
    Can anyone help me out.
    Thanks,
    Khushboo Dand

    Dear Khushboo, Jag
    I have observed that tThe tiny boxes that are appearing in the Smartform text element is only occuring when you are printing a variable whose content is thai and nothing else with that. by nothing else i mean no THAI hardcoded text.
    if you try and check you will observe that when you try to print something like this in your Text element
    with your paragraph format alright/ output device and device type everythng in place
    eg:
    ของผู้มีเงินได้ &G_VAR& -
    is printing alright : content of G_VAR is thai characters
    but if you are printing just the variable
    eg:
    &G_VAR& --- it will print boxes
    to overcome this after trying no.of checks / online helps / settings etc etc which , ofcourse, did not help
    I did a lil bit trick with the system
    You can create a character format in your smartstyle with FONT : THANGSAN and maintain the COLOR as white
    now go to your text element key in a THAI character at the start or end of you variable and assign your new character format to that character. and Eureka! it will work
    eg: <CF> ข </>  &G_VAR&  - --- seen in your change editor
    where CF is the new "colorless" character format I have asked you to create.
    Thanks and Regards,
    Charu.
    Edited by: Charu Borkar on Aug 3, 2011 00.14 am

  • ME9F - Prints only one message

    Hi all,
    I'm having a problem when printing more than one purchase order message in ME9F.
    When I select all messages to be printed, only one is going to printer, and the other ones stay in spool list with status "-" (not yet sent to the host system).
    Any idea why this is happenning?
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

    Hi,
    After some conversations with SAP support and basis team, I still don't have an answer for this.
    I discover if I use standard SAP settings in the processing routines configuration (Program "SAPFM06P", form routine "ENTRY_NEU" and form "MEDRUCK") this will work. The problem seems to be that I'm using a customized smartform, so in my processing routines configuration I have:
    - Program: /SMB40/FM06P
    - Form routine: ENTRY_NEU
    - PDF/Smartform: ZZZZZZ
    - Type: Smartform.
    I already debug the program and the field "DIMME" in NAST table is set in every message, so I really don't have any idea why this is happening.
    Any help is precious!
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

  • How 2 print large characters using dos

    i need 2 print a column in large characters while generating the report. i have to use dos printing only.

    I assume by 'dos' you mean you can't go through a printer dirver but must write to a printer port (LPT:) directly.
    In this case, your ony hope is to find the doc. for the printer and see what support it has. HP printers hava a language (there's HPGL, but also a simpler one for small printers), and then of course there's PostScript.
    This used to be the way everyone did printing 'til it was hidden from us by printer drivers
    Good luck!

  • Printing incorrect characters

    I have a HP 4500 wireless printer-and downloaded the driver from the web site( I had originally installed this via the disk)
    Still have a problem, which is now worse than before when it printing a PDF-top half prints correctly-bottom half-characters, etc.
    Some of the document in the middle is correct.
    Any idea.s

    It sounds like the PDF program has become corrupted.  I have seen many cases where printing the PDF comes out as described and repairing the installation of the PDF program (usually Adobe Reader) typically corrects it.  It actually has very little to do with the printer or print driver as the corruption of the print job happens from the program source and the printer only prints what it receives.  If it is the printer driver, it should be happening with other programs as well.  Since the driver was updated and it still occurs, then it sounds like the PDF program is corrupted.
    Here is a help document from Adobe detailing how to repair the installation.  Adobe Reader is the most common PDF printing program.  If you are using a different program, please let me know.
    Let me know what happens.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Printing cyrillic characters

    Hi all,
    We have a problem printing cyrillic (bulgarian) characters. An output type is created when we save an invoice and a spool is generated. If we see this spool (print preview) in SAP the characters are displayed properly (maybe you need to flag Activate multibyte characters in SAP options).
    However when we print the document the cyrillic characters are transformed to other symbols. Do you know where could be the problem?
    Thank you.

    Hello
    Run SAPLPD -> Options -> Font substitution
    SAP fontname = Courier New   ->   Windows fontname = Courier New Cyr
    Arial -> Arial Cyr
    Times New Roman -> Times New Roman Cyr
    and so on ...
    I hope it will help you.

  • Printing Japanese characters

    hi all,
    i've run out of information and ideas to apply to this problem, so i'm hoping someone may be knowledgeable in this area.
    i'm using cups and kde, on a current archlinux system.  my kde and scim configuration work fine to see and input japanese.
    the basic problem is, i need to print japanese characters, but i can't (sort of).
    printing alphabet from kde apps, mozilla and openoffice works fine.
    printing japanese characters from openoffice works fine.
    printing japanese characters from mozilla and kde gives me boxes instead of valid characters.
    can anyone point me in a likely direction to solve this problem?
    i'll give my heart to the one who is genius enough for the challenge.
    bryce

    I used to have the problem of seeing only boxes in some programs (don't know about printing since I don't have a printer at the moment) and it went away after installing some other japanese fonts (only had IPA fonts before). In particular I installed
    mikachanfont
    ttf-kochi-substitute
    ttf-mona
    ttf-sazanami
    You can find all of them in AUR.
    If you don't wanna install all of them I'd try the mona one first.
    Can't guarantee that it will work, but if you've tried everything else you might wanna give it a shot

  • Spool printing undefined character symbols in sap script

    Hi,
    When I am trying to print a script, the spool print preview shows a times font and the size that I had defined in the form, but when the print is coming out it is coming with a courier font with the default font size of the printer and it is printing a smiley symbol on the start of every line. I have checked the fonts in all the windows of the form and everywhere it says times with a size of 12.
    Please help me out
    Regards,
    Kiran

    Hi,
    Is that problem only at 1 printer or at all printers.
    If it is onlty at 1 specific printer ask the basis guys .
    Gr., Frank

  • Regarding Spool Print

    Hi All ,
    i have a issue on spool print ie i have one spool number XXXXX it shows total number of pages as 1 page in Spool Output controller but once we  click the smartforms link in spool output it contain 5 pages internally. so user want to print 3 page only. so i this case the print is not coming for 3rd page because of it shows only one page in spool out put. so can you please explain me how can i achieve this one .  
    Below is the spool output format
        Spool no.       Type Clt User    Date         Time  Status Pages Title
        777106          360  XXXXX     18.03.2014  11:27 Compl.    1       SMART LOTH
    Thanks,
    Venkata Pradeep.

    Hi,
    With SEND IMMEDIATELY, it is not printing? why the list comes? No list appear in this case because you will not goes to ME9F.
    First make sure that from ME22N it prints the print.
    then think of Me9F.
    It has to print the PO staright away from ME22N with SEND IMMEDIATELY on SAVING THE TRANSACTION, if the right printer is assigned.
    Take the help of Basis person to know the printer settings.
    Try with other printer.
    regards,
    Anji

  • Acrobat X Prints Strange Characters

    In the last week or so I have had two separate instances of folks having trouble printing large documents from Adobe Reader X.  Both were printing to HP Printers, one an officejet connected via USB and another a networked LaserJet.  The first few pages of the document would print fine but then the rest of the document prints strange characters.  A second attempt to print the document generally succeeds, leading us to believe that it may just take some time for the program to "fill out" the file or something.  Has anyone else experienced problems like this with Acrobat recently?

    Yes I have a computer in our office that is pluged into a HP Laserjet 2015 and it is doing the same thing when printing from pdf's.  After some testing I have gotten it to repete the messed up/strange characters.  It seems that it will mess up everytime you print and then close out of the file, even tho it has spooled the print, and the printer is not finished printing.  But if you leave the file open for the duration of the print, even tho it is spooled, it will print fine without messing up.  Still looking into why this is doing this, it does not matter what PCL printer driver that I have tried for it... I have not tried using a PS driver yet.

Maybe you are looking for