How to print unicode in SAPscript
hi gurus,
I am now having a problem in printing uinicode in printing ( printer HP LaserJet 4250 PCL 6) with SAPscript. Although i have changed the font in SAPscript text ( paragraph format ) , but when i print out , the font does not change , coul you please help me this
Thanks ,
Let me tell you how to print double digit character in printer.
Usually, all ENGLISH characters are single digit characters and they can be printed on ordinary printer.
Now coming back to double digit character Japanese, chinese, Vitanamese, some special symbols etc. for printing this characters unicode enabled printer is must.
Usually, you can ask your basis team to enable unicode to your printer, all they need is some additional hard disk, they will be setting your printer in SAP.
Note: Until unless you enable unicode (HP LaserJet 4250 PCL 6) it acts as an ordinary printer.
Reward points if useful.
Regards,
SaiRam
Similar Messages
-
How to print Barcode using SAPscript?
hello, everyone.
I have some questions.
now, I have to print some doc. that described by barcode in sapscript form.
so, try to test in t-code so10
input value SAPSCRIP-BARCODETEST, ST, EN.
and click 'print-preview'
result is correctly output in pint privew.
but when I print dis priviewed doc. disappeared barcode image.
is this O.K??
I have to do something?? (Add DLL file, barcode font or etc....)
I don't know how to print barcode using SAPScript. anybody solve this problem.please.
p.s this system is SAP ECC 6.0 only ABAP.
printer setting is front-end print.hello, everyone.
I have some questions.
now, I have to print some doc. that described by barcode in sapscript form.
so, try to test in t-code so10
input value SAPSCRIP-BARCODETEST, ST, EN.
and click 'print-preview'
result is correctly output in pint privew.
but when I print dis priviewed doc. disappeared barcode image.
is this O.K??
I have to do something?? (Add DLL file, barcode font or etc....)
I don't know how to print barcode using SAPScript. anybody solve this problem.please.
p.s this system is SAP ECC 6.0 only ABAP.
printer setting is front-end print. -
Help in How to Print Lines in SAPSCRIPT
Hi to all,
i am Working on RG1 Report, and i have drawn line in my script, it shows in print preview but it is not getting me on my printout (Hardcopy).
Plz Help ...... its urgent
Thanks in Advance
Kiran GharatH did u draw the line.
Usually in scripts we use uline command to draw a horizontal line.
Example:
&ULINE(72)&
If u want to draw vertical line, u can use box command and keep width 0.
Example:
BOX XPOS '0' CM WIDTH '0' CM HEIGHT &17& CM FRAME 2 TW
Try out in this format and let me know if u face any problem.
Regards -
Hi,
I would like to know how to print euro symbol () in a report.
I've tried with a statement like this:
write ''.
But when I execute it only appears a '#'.
A possible idea is to use unicode (euro symbol is 20AC), but how to print unicode symbol code in sap?
thanks in advanceHi,
UNICODE is supported 4.7 Onwards
try this
TRANSLATE c TO CODE PAGE g2. ( Check this code page translation .may solve ur problem ...not sure )
then write c.
Mark Helpful Answers
Regards
Message was edited by: Manoj Gupta
Message was edited by: Manoj Gupta -
How to print the text in only last but one page in sapscripts
hiiiiiiiiiii,
explian how to print the text in only last but one page in sapscripts? wher to write the code? plz if possible explain in detail with an example?Hello,
The total no pages is given by &SAPSCRIPT-FORMPAGES& command.
So u can handle the situation in ur form like this
/: if &PAGE& = &SAPSCRIPT-FORMPAGES&
p1 TEXT
/: endif
Try in this way it may help u.
Regards -
How to print multiple items in SAPScripts
Hi gurus,
I have a list of items to print out in SAPScript but I can implement it. I've searched this forum for over a day and I can't find the correct answer. I post my code here. Hope you can help me. Thanks in advance.
__P/S:__ I found that someone here solved this by using index. Can you tell me how to implement it?
DATA: BEGIN OF ITAB OCCURS 0,
Elements here
END OF ITAB.
DATA: BEGIN OF XTAB OCCURS 0,
Elements here
END OF XTAB.
DATA: WA_XTAB LIKE XTAB.
DATA: ZOPTIONS LIKE ITCPO OCCURS 0 WITH HEADER LINE.
DATA: ZPAGE TYPE I.
START-OF-SELECTION.
PERFORM PREPARE.
PERFORM FORM_OPEN.
PERFORM FORM_WRITE.
PERFORM FORM_CLOSE.
FORM PREPARE.
Add data to itab & xtab.
ENDFORM.
FORM FORM_OPEN.
CLEAR : ZOPTIONS.
ZOPTIONS-TDDEST = 'LOCLSVC'.
ST_OPTIONS-TDPRINTER =
ZOPTIONS-TDPREVIEW = 'X'.
ZOPTIONS-TDIMMED = 'X'.
ZOPTIONS-TDDELETE = 'X'.
ZOPTIONS-TDPROGRAM = SY-REPID.
ZOPTIONS-TDTELELAND = 'VN'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
FORM = 'ZF_CC_CI'
LANGUAGE = SY-LANGU
OPTIONS = ZOPTIONS
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5.
IF SY-SUBRC <> 0.
MESSAGE E001 WITH 'Output was cancelled'
'by the user.'.
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " FORM_OPEN
FORM FORM_WRITE.
CLEAR ZPAGE.
LOOP AT ITAB.
ZPAGE = ZPAGE + 1.
PERFORM FORM_START.
PERFORM WRITE_TITLE.
PERFORM END_FORM.
ENDLOOP.
ENDFORM.
FORM FORM_START.
CALL FUNCTION 'START_FORM'
EXPORTING
FORM = 'ZF_CC_CI'
LANGUAGE = SY-LANGU
PROGRAM = SY-REPID
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
OTHERS = 6.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
FORM WRITE_TITLE.
DATA: NCOUNT TYPE I,
NI TYPE I.
NI = 1.
DESCRIBE TABLE XTAB LINES NCOUNT.
DO NCOUNT TIMES.
CLEAR WA_XTAB.
READ TABLE XTAB INTO WA_XTAB INDEX NI .
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM'
TYPE = 'BODY'
WINDOW = 'ITEM'.
NI = NI + 1.
ENDDO.
ENDFORM. " WRITE_TITLE
FORM END_FORM.
CALL FUNCTION 'END_FORM'
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SPOOL_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " END_FORM
FORM FORM_CLOSE.
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " FORM_CLOSEHi Le Khanh Vinh ...
In Script have You declare Two pages... Let say there is Two pages with names like ..FIRST and Second.
In Standard Attributes of First Page give Next Page as Second.
and for Second Page Standard Attributes give Next Page as Second only.. This will resolve for more Line Items thats it..
Any Info need plz do reply ..
Regards,
Sg -
How to print currency symbol in SAPScript
Hi,
How to print different currency symbol in SAP?
The requirement is that the SAPScript should print the currency symbol along with the currency code.
i.e. USD ($)
The currency can be any foreign currency.
Is there any table where i can get currency symbol or is there any way i can print this. I am working in 4.6C.
Please help.
Thanks,
PratikHii
When the user has to insert a particular symbol, from menu:
Insert->Character->Displayble Characters:
Here in the input field insert <156> and then press enter -
How to print date in cheque box in sapscript??
Hello Guru,
We have developed or design new form for cheque printing in sapscript
how to print date in cheque box in sap.
1
6
1
2
2
0
1
1
thanks in advance.
Thanks & Regards
Richahi,
If your requirement is to display date with box,first create a Box by using following syntax
* &sy-datum&
/: BOX XPOS '0' CH YPOS '3.65' LN WIDTH '77.50' CH HEIGHT '4.5' LN FRAME '10' tw
then adjust the box size according to your requirement by changing xpos,ypos,width and height
with regards
Edited by: naresh bammidi on Dec 16, 2011 8:00 AM -
How to print header in first and last page only in SAPSCRIPT
Hi!
How to print header in first and last page only in SAPSCRIPT,
in between pages, I need to print all line items in MAIN window only .
Thanks in anticipation!
Aki.Hi All,
Thanks for your early update...but my requirement here is
I have two pages (FIRST , NEXT ) First is having Header, Main and Footer
NEXT is having Main and Footer ..I am printing PO here..let us think that my PO is having 20lines items , let us assume that it takes five pages...
Now how application is printing is ..first set of data is printing in FIRST page and remainiang data distributed to 4 pages printing in NEXT page ..but what my requirement is , I need fifth page print on FIRST page, instead of NEXT page... Ultimately I need last set of data always print in FIRST ie out of 5 pages 1st print on FIRST 2nd 3rd 4th print on NEXT and 5th print again on FIRST .
hope you this will clear you.
Thanks! -
How to print or Fax a file with SAPscript form ?
Hello Gurus,
+ We have a file (Terms) WORD which is contained in 1 PAGE WORD . Font ARIAL size 5. In Word it is OK , Now our client needs this contents to be printed with the SAPSCRIPT ( Sale order) . We can not extract all of this contents into a page of SAPScript .. We've tried with font TIMES size 8 in SAPSCRIPT it printed in3 pages. So We think of another solution is to print or Fax this file at the same time when the SAPscript is printed. Could you please advise us how to do this ? Supposing that this file is stored in the SERVER .
Thank in advance.When you open a PDF email attachment, would you make sure to open it in Adobe Reader for iOS?
When you receive and open an email with a PDF attachment, Apple Mail (the default mail app on iPad/iPhone) uses its own preview feature to display the PDF attachment. However, Apple Mail for iOS does not render or print form fields or comments in the preview.
Please take a look at the Mail section of the following FAQ documents to open a PDF email attachment in Adobe Reader for iOS.
For iPad, see How to get PDF documents into Adobe Reader for iOS (iPad on iOS 7 version)
For iPhone, see How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)
Please let us know if you need further assistance. -
How to print sapscript coding?
Hi friends,
How to print sapscript like form details, attributes and text elements? This is for documentation purposes.
rozieHi rozie,
Go through this url it is given step by step process.
APScripts
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
SAP SCRIPT FIELDS
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
scripts easy material
http://www.allsaplinks.com/sap_script_made_easy.html
Debugging Document.
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
Rewards some points if it is helpful.
Rgds,
P.Nag -
How to print hard-coded data in multiple language in sapscript.
Hi All,
How to print hard-coded data in multiple language in sap-script, here the requirement is when printing the output
we can see the window heading, description which are mostly hard-coded here I want to print these in both language as fallows,
Goods to be delivered: = Morada de Entrega:
Total net value excl. tax = Valor Total (IVA não Incluído)
Description = Descrição
Item = linha
here I want to print in both languages like---- Goods to be delivered:/ Morada de Entrega:
and the above headings in English are hard-coded.
Kindly suggest me on this.
Thanks in advance.
Arun.Hi Arun,
Use Standard text ade those text elements. Then use those in SAP script using different languages.
Regards,
Amitava -
How to print the MICR symbols in sapscript for Cheque printing
Hello All,
I am working on the cheque printing. I want to display check number with MICR symbols like in the original cheque we have at the footer level the symbols.
How to print the MICR symbols in the SAP Script. Could anybody please help me out in this issue.
ThanksHi,
In This case your Printer should support the E-13B Charecters.
Create a ParaGraph with Font family as MICR_E.
use C for ON-US SYMBOL which is printed at the beginig and end of the Check Number
ie C&CHECK_NUMBER&C
then use A for TRANSIT NUMBER and
Use D for DASH SYMBOL in your check.
then while Printing the check the original check number will be printed .
Note: Your Printer should support the E-13B charecters
Thanks.
UmaS. -
How to print last page in sap script in ladscape format?
Hi all,
can any 1 tell me How to print last page in sap script in ladscape format?
Thanks In advance.
PravinHi Pravin Sherkar,
we can do this in SAP Scripts.
we need to create two pages, one of landscape and another of potrait.
now after filling the data at last we need to call the page which is of format landscape using START_FORM function module.
You can use condition &PAGE& = &FORMPAGES&.
Please check this link
Printing Portrait/Landscape in sapscript
Re: Landscape and potrait in same layout?
http://www.sap-img.com/ts013.htm
Best regards,
raam -
How to print two voucher in one page?
HI,
we want to print two voucher in one paper. what are the steps to be taken in sapscript? is it purely relted to SPAD?
Regards,
lijo Josephhi joseph,
i'm not sure how related this would be to your concern, but in my place, we've implemented that by sizing a voucher as half a page, so that when we print vouchers, the printer would know that one page is half of a regular page. SPAD is one place to fix, but the actual printing program and SAPScript was also customized so that it would send two vouchers for printing consecutively, and would fit in one page.
ryan.
Maybe you are looking for
-
How-to: how do I check the disk speed on MacBook Pro?
I ordered and received a MacBookPro 15". I ordered the faster disk: "200GB Serial ATA @ 7200 rpm [Add $100.00]" QUESTION: how can I verify that I did in fact got this 7200 rpm disk? thanks Foad
-
*for the sake of this debate let's say I download a video that was originally set at 30fps and want to run it at 60p fps, my understanding is that if I just run it at 60p fps then frames will be added.* 120Hz refresh rate The digital display technolo
-
PSE 8 editor has stopped opening. I've tried opening it from the organizer and from the welcome page. The loading-the-editor box pops up like it's going to open, but then the loading box goes away with no editor opening. I tried un-installing and rei
-
Not able to see inspection lot in QA32
i did MIGO, but i could not see the inspection lot in QA32.so i checked it in MMBE. there material is showing in Quality inspection stock.
-
Hi, I have created the query for which i ahve a variable for fiscal year and period, but when i try to get the data from F4 help key is taking longer time.. Please can anyone will suggest what should be the problem.. I would like to increase the perf