Junk Character in Print out from Smartform
Hi,
In customer master data we have correct name of customer: MD "NM-OP, LTD" but in invoices,
printed from SAP we have incorrect name: MD #MN#OP, LTD#
Previously we had another name of this cutsomer without special characters like " and - But now, after changes in master data of cutomer in SAP in printed version of invoice we had wrong characters like #
Please sugget what can be done for this type of issue in SMARTFORMS.
Regards.
Hi,
please check device type of printer whether it supports this character set.
Basis person can help you in this.
Dhiraj.
Similar Messages
-
When I try to take a print out from documents in my mailbox, it tell´s me that it can not find the printer??. I have just downloaded epson iprint since I have an Epson wifi printer. The iprint did find and successful installed the printer. Somebody who knows what to do?
Chances are you Can only print from the app from the printer maker
And where you are Trying to print from May only work with AirPrint able printers which the epson would not be -
ECC6.0 - PDF issue - Junk Character output after Upgrade from 4.7c
Hi All,
I am working in Uprgade project(from 4.7c Non-unicode system to ECC6.0 unicode system).
We are facing PDF output issue in ECC6.0 that means we are getting junk character output(screenshot is attached for your reference).
In 4.7c , we have stroed the OTF data in table after generated from smartform as we should not get different output in future. Whenever we need output of the same then we are getting the OTF data from that table and we will generate pdf through "Convert_otf" function module.This logic is working fine in 4.7c.
In ECC6.0 ,the same logic is not working as system is unicode sytem and we are getting junk character output.
As per my old upgrade project experience , i have used the below piece of code for solve this junk character issue but still I am facing the same issue.
Kindly note that in my old upgrade project i have regenerated the OTF data in ECC6.0 and used the below piece of code then I got correct output but here I have to use the old OTF data (from table) which was generated in 4.7c.
Please any one can give solution for this issue.
Regards
Anandakumar.K
+91 9486963561.
REPORT z_display_notification_tst.
Local Vairable Declaration
TYPES: lt_pdf_table(1000) TYPE x.
Local Vairable Declaration
DATA :
lv_otf_data TYPE STRING, " OTD data in string format
lv_length TYPE i, " OTF Length
lv_lines TYPE i, " No of lines
lv_no_of_recs TYPE int4, " No of OTF Lines
lv_offset TYPE int4, " Offset
pdf_fsize TYPE i,
lv_binfile TYPE xstring,
gv_reportsize TYPE i,
l_url(80) TYPE c,
l_pdf_data TYPE STANDARD TABLE OF lt_pdf_table ,
l_pdf_line TYPE lt_pdf_table,
l_offset TYPE i,
l_len TYPE i,
lt_pdf_table TYPE rcl_bag_tline,
lt_otfdata TYPE tsfotf,
ls_otfdata TYPE itcoo. " Line type of OTF data
DATA:
g_html_container TYPE REF TO cl_gui_custom_container,
g_html_control TYPE REF TO cl_gui_html_viewer.
******************GET OTF data from Table ******************************
Primary Keys used for selection : BUSKEY,
NTFTYP,
TRNTYP,
SELECT SINGLE otf_data FROM znotif_otf
INTO lv_otf_data
WHERE buskey EQ 'LS_000000000010001470'
AND ntftyp EQ '0037'
AND trntyp EQ 'ACT'.
Get the length of the OTF data stored as stream of string************
l_len = STRLEN( lv_otf_data ).
Compute the OTF lines
lv_lines = l_len / 72.
lv_no_of_recs = lv_lines + 1.
Set the offset to initial
lv_offset = 0.
*Reconstruct the OTF data from the string
DO lv_no_of_recs TIMES.
IF sy-index NE lv_no_of_recs .
Get OFT format: command ID
ls_otfdata-tdprintcom = lv_otf_data+lv_offset(2).
lv_offset = lv_offset + 2.
Get OTF format: command parameters
ls_otfdata-tdprintpar = lv_otf_data+lv_offset(70).
lv_offset = lv_offset + 70.
ELSE.
Last line contains only the OFT format: command ID "//" (End of file)
ls_otfdata-tdprintcom = lv_otf_data+lv_offset(2).
lv_offset = lv_offset + 2.
ENDIF.
Append the OTF data to Export OTF table
APPEND ls_otfdata TO lt_otfdata.
CLEAR ls_otfdata.
ENDDO.
*************************Convert OTF to PDF**************************
IF lt_otfdata IS NOT INITIAL.
clear: lv_binfile,
pdf_fsize.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = pdf_fsize
bin_file = lv_binfile
TABLES
OTF = lt_otfdata
lines = lt_pdf_table
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
Call screen***********************************
Call screen
CALL SCREEN 100.
RETURN.
*& Module STATUS_0100 OUTPUT
text
MODULE status_0100 OUTPUT.
SET PF-STATUS '100'.
SET TITLEBAR '100'.
Convert bin file
clear :l_len,
l_offset.
free l_pdf_data[].
l_len = XSTRLEN( lv_binfile ).
WHILE l_len >= 1000.
l_pdf_line = lv_binfile+l_offset(1000).
APPEND l_pdf_line TO l_pdf_data.
ADD 1000 TO l_offset.
SUBTRACT 1000 FROM l_len.
ENDWHILE.
IF l_len > 0.
l_pdf_line = lv_binfile+l_offset(l_len).
APPEND l_pdf_line TO l_pdf_data.
ENDIF.
Initialise and create the HTML container
IF NOT g_html_container IS INITIAL.
CALL METHOD g_html_container->free
EXCEPTIONS
OTHERS = 0.
CLEAR g_html_container.
ENDIF.
CREATE OBJECT g_html_container
EXPORTING
container_name = 'HTML_CONTAINER'.
Initialise and create the HTML control that will display the
PDF output as URL
IF NOT g_html_control IS INITIAL.
CALL METHOD g_html_control->free
EXCEPTIONS
OTHERS = 0.
CLEAR g_html_control.
ENDIF.
CREATE OBJECT g_html_control
EXPORTING
parent = g_html_container
saphtmlp = 'X'.
Load the pdf data and obtain the URL
CALL METHOD g_html_control->load_data
EXPORTING
size = pdf_fsize
type = 'application'
subtype = 'pdf'
IMPORTING
assigned_url = l_url
CHANGING
data_table = l_pdf_data
EXCEPTIONS
OTHERS = 1.
IF sy-subrc NE 0.
raise cntl_error.
ENDIF.
CALL METHOD cl_gui_cfw=>flush.
Show the URL
CALL METHOD g_html_control->show_url
EXPORTING
url = l_url.
ENDMODULE. " STATUS_0100 OUTPUT
Edited by: Anandakumar.K on Oct 25, 2011 12:47 PM
Edited by: Anandakumar.K on Oct 25, 2011 12:54 PMHi,
as you can see in SAP notes 842767 and 1349413, spool data cannot be converted properly for all types in a Unicode conversion.
This might be possible if you have English (US7ASCII) characters only, but with Chinese characters I do not think that a small piece of code can do it ...
Hence I think you need to recreate the data on the Unicode system ...
Best regards,
Nils Buerckel
Edited by: Nils Buerckel on Nov 3, 2011 1:51 PM -
== Issue
==
I have a problem with my bookmarks, cookies, history or settings
== Description
==
How can I make a backup listing of all of my Firefox bookmarks, with complete URLs, so I can print it out from a word precessing document? Please email me the answer-
[email protected]
== Firefox version
==
2.0.0.4
== Operating system
==
PPC Mac OS X Mach-O
== User Agent
==
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
== Plugins installed
==
*-Netscape Navigator Default Plug-in
*Runs Java applets using the latest installed versions of Java. For more information: Java Embedding Plugin. Run version test: Test Your JVM.
*Plugin that plays RealMedia content
*The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
*Shockwave Flash 9.0 r260
*Provides support for Digital Rights Management
*Provides support for Windows Media.
*Java 1.3.1 Plug-in (CFM)
*Macromedia Shockwave for Director Netscape plug-in, version 8.5.1
*Java 1.3.1 Plug-inYou can export the bookmarks to an HTML file: Bookmarks > Organize Bookmarks > File: Export
See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
See also [tiki-view_forum_thread.php?forumId=1&comments_parentId=252551 How do I print off my bookmarks]
You should at least update to Firefox 2.0.0.20 if you are on Mac OS X 10.3.9 or lower and can't use more recent versions that require at least OS X 10.4
See http://kb.mozillazine.org/Installing_Firefox
The most recent Firefox version for OS X 10.3.9 is 2.0.0.20.
Mac: http://download.mozilla.org/?product=firefox-2.0.0.20&os=osx&lang=en-US -
Font in print out of smartform
Hi All,
I have uploaded a font and it is maintained in both Font & Printer Family. I have created a STYLE for the font and using the same in my Smartform.
When i see the preview of the Smartform, the font is displayed large + Bold ( as per our requirement).
But when i take a print out, a small size font is printed.
Any pointers for the same would be helpful.
Ps. : The font is printed correctly when logged on with EN language but when logged on with JA language then it doesnt print correctly though it displays correctly in print preview.
Best regards,
PrashantHi,
The settings mentioned by Kishan are already in place. Still it doesnt give the desired output.
Also, this is a new Form created in English language.
I have tried the existing fonts as well as uploading fonts, but still no +ve results.
Also, could someone please explain, why the font through STYLE can be entered only of max size 99.00. But in PRINTER the font for 120,160 is also maintained.
Thanks,
Best regards,
Prashant -
Having touble capturing full page print out from G mail.
I have a Mac. Bad idea as a PC person. I try and print using the file print command from the firefox bar. When I do I get only a column of information and not the whole e-mail information.
I have checked the settings in both Mac and FireFox and they are both set for capture on screen and print at 8 X 11 format. That does not happen when I want an email printer out... HELP!!!!!! Do I need to go to G-mail too? CabellaHi @NickRN8
I am not sure what is causing the inconsistency in selected pages not printing, but I'd be happy to help.
Let's reset the printing system, repair disk permissions, re-add the printer using the right driver, and try to scan again.
Reset Printing System
Click the Apple icon ( ), and then click System Preferences.
In the Hardware section, click Print & Fax/Scan. The Print & Fax/Scan dialog box opens.
Right-click (or Ctrl +click) in the left panel, and then click Reset printing system…
Click OK to confirm the reset.
Type the correct Name and Password.
Click OK to reset the printing system. The Print & Fax dialog box shows no printer selected
Note: This will remove all printers in the print and Fax/Scan, any printer removed can be re-added later by clicking the plus (+) symbol.
Repair Disk Permissions
On the Dock, click Applications, and then click Utilities.
Double-click Disk Utility.
Highlight your hard drive/partition on the left (by default this is "Macintosh HD").
Click the Repair Disk Permissions button at the bottom of the window.
Once the repair is complete, restart the computer and add the printer back.
When you add the printer, please ensure you are using the HP driver.
Select Add other Printer or Scanner
Select the printer you are adding and next to 'Use' you can select the printer driver
I look forward to hearing from you. If the issue remains unresolved, I will post instructions to completely scrub the HP software from the computer and start fresh.
Please click the Thumbs up icon below to thank me for responding.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Sunshyn2005 - I work on behalf of HP -
Inconsistent print outs from Safari
From PowerBook G4, previews and print outs on my three printers all have no margins. The type is right against the page edge, so the first few letters are cut off on all sides.
From my iMac Intel, pages print correctly.
I cannot figure out the disparity. I don't see any options for margins on the print window, in fact, I thought it was defined by the printer drivers.
Any ideas? Thanks,
AmaroneeI hope someone answers this issue. I think it may be a major problem and has been for months. Whenever I try to print a form in Safari (e.g., a medical claim form), the margin almost disappears on the right, and the bottom of the pdf gets cut off. Adjusting size, etc. does nothing. There is no way apparently to adjust margins. There is no Page Setup. The pdf form I am trying to print now must be from from Microsoft Word looking a the file title.
Incidently my Mac is obviously an Intel iMac, but I have the problem.
Message was edited by: Bob H. -
Error during COA print out from QC21
Hi All.
I am facing an error during COA print out form Trx.QC21.
The error along with it's diagnosis is paster here.
Message no. QC138
Diagnosis
No data is printed for batch number A070030 material 000000000550000063 , plant 1001.
This can be caused by the following:
Not all data was found for a characteristic in the certificate profile that is marked as obligatory.
No requested data was found for any characteristic in the certificate profile.
System Response
The creation of the certificate profile is canceled.
If the certificate is for a delivery item, the status of the message is set to Incorrectly processed.
I have:
Created the profile
Assigned the material to it.
The same MICs are maintained in the I.Plan, Lot, Profile.
The profile is released.
Pls HELP!!!!!
With Best Regards,
Shyamal JoshiHi Shymal,
after reading above thread i tried the cycle and succeed only thing i used MIC as ref. char.
just ensure following thingsss.... i wil suggest u try with new data
i wil brief with T_code for other reader also.
1. activate material with batch mangt. (MM01)
2. create Batch wrt above above matl. (MSC1)
3. create Char (CT04)
4. create class (Cl02)
5. create MIC with class char. (QS21) (i think here u used copy model MIC)
6. create cert. profile (QC01 with above MIC)
7. assign matl. to above cert. profile (QC15)
8.Create Insp. Plan (QP01 with above MIC only)
9.create insp. lot (auto or QA01)
10.Do RR, UD (QA32) click on cert. (OR QC22) view Print preview by giving proper inputs.
hope this wil help.......
SANTOSH KAMBLE -
How to take print out from mobile e63
i bought a hp 1007 lase printer now i want to connect it using bluetooth using my laptop,how can i send command from mobile to printer using my laptop ,i have tried but unable to print what device settings are missing will i have to update any drivers in my mobile or cannot think.the mobile gets paired with laptop but no print comes out ...pls advise
Did you set up the printer in menu-> office-> printers?
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
Dunning Letter Print out in Smartforms
Hi all,
In SAP Utilities , i have to develop a smartform for Dunning letters.
can any one tell me on what parameters the dunning letteres are printed?
where to see the layout.......thro which transaction?
what are the tables and fields to be used?
what are the fields to be specified in the smartforms?
what are the fields that are to be passed as parameters?
thanx in advance.
regards.
sukiHave a look at below thread. May be helpful to you.
The specified item was not found.
Best Regards,
Vibha
*Please mark all the helpful answers -
I prefer to print from PSE as this allows me to set picture dimensions. Windows photo viewer does not give this flexibility. I am using the same PC, the same printer and the same print file, yet the outcome from each software option is significantly different. WPV is sharp and bright whereas PSE is softer. Can any one help me?
I prefer to print from PSE as this allows me to set picture dimensions. Windows photo viewer does not give this flexibility. I am using the same PC, the same printer and the same print file, yet the outcome from each software option is significantly different. WPV is sharp and bright whereas PSE is softer. Can any one help me?
-
HT5463 I need to print out from my phone but my printer is a canon MG5250 and not air whatever lol
I need to print from my iphone 4, however my printer isnt air?? as its a canon MG5250 can someone help please??
Canon offers two printing apps but your printer is not supported by either app. Your only choices are to find or buy a supported printer or don't print from your iPhone.
AirPrint info... http://support.apple.com/kb/HT4356 -
I think that is self explanitory. If more information is required, please contact me at my email.
Regards,
LarryThanks for the feedback @ENC
Please be rest assured that we pay close attention to the posts on the Forum and we've monitored those related to the 6510. Improvements have been made to follow-on printer models. I agree that taking the printer apart isn't for the faint hearted, it can certainly be a tricky process.
I'm glad to hear you managed to get the printer back working, and thanks again for your detailed feedback.
Ciara
Although I am an HP employee, I am speaking for myself and not for HP.
Twitter: @Ciara_B_HP -
Insurance claim for music - how to get print out of purchases from itunes
Can any one help me as my Hard Drive crashed yesterday and i've lost all my Music, movies etc purchased from itunes in the last 2 years. Need to know how to get a detailed print out from itunes to prove purchase and claim on insurance. And yes i know i should have backed up my recent files...
The only way is to log into your iTunes Store account (you'll need a working computer with iTunes installed, of course), go to your Purchase History, and do a screen capture of each successive page. There's no way to print out a full listing of all your purchased in one go.
Regards. -
How to print in landscape format from SmartForms
I already choose a landscape page format in my output option. But when it printed out from the Zebra Xiii 110 printer, it is still in portrait format. Did I miss anything?
Hi Barry,
I am not printing to Front End computer (Option F). Instead, I am using Option U, Printing using Berkerly Protocol to a remote computer. In this case, how would the print format such as print orientation can be set?
Please let me know ASAP. Urgent.
Thanks
Maybe you are looking for
-
How do I update ME 7 to ME 8?
I am trying to update bios on MSI P67A-G45, going from ME7 to ME8, using the MSI Forum Bios Tool, and MSI 7673v51.zip bios. I created a boot flash drive as described on the forum help topic and when I boot from the USB I get three options 1 Run Memt
-
Why do I have 2 versions of the program pages on my mac after the update?
Why do I have 2 versions of the program pages on my mac after the update?
-
Purchase Order (Overdelivery tolerance limit)
Hi All, Can we fix default value of Overdelivery tolerance limit and Underdelivery tolerance limit at time of creating the PO ? if Yes then how ? Thanks in advance.. Sanjay
-
hi..experts......... the requirement is that the Client want to upload massive data of Change of Positions for particular employees... for this we can create a BDC report . But the problem is when the BDC session is processed only 0000 and 0001 inf
-
Creating Multiple Page PDF Documents
I am not sure how to creat a multiple page PDF document.