Printing logo in smartform
Hi all,
I've embedded a logo (background color is white) in tif format in a smartform.
When I print it out with printer A, it looks perfect. But strangely, when I print it out with printer B, the logo's background color becomes dark.
I just want to make the logo's background to white with any printers, what's wrong there?
Thanks.
HI ,
Please save the logo file (Bmp format) as 256 colors then upload the logo using se78 and then incarporate it in your smart form . you can avoide gray back ground ..
*Please mark useful answers
Similar Messages
-
Printing LOGO on smartform based on Printer
Hi All,
I want to print LOGO on my smartform(PO) based on a Printer which i am using.If i use one perticular printer(PRIMO) i should get the LOGO and for other Printers it should not appear.Will it be possibel to control the printing based on a printer condition? if yes please suggest me where i can add these conditions.
If u need any further information please revert back to me.Thanks in Advance.
Best regards,
Shanker.Hi,
Based on the device type in OUTPUT_OPTIONS in smartforms interface find out the printer name and write logic for printing appropriate LOGO in smartform.
Regards,
Raju. -
Problem with printing logo in smartforms
Hi guys,
we have a logo in a window, its working fine in print preview, however when printing the document its all black. The logo does not display, instead the window is blackened.
Please advise.Hi freishz ,
When u r sayin 'document its all black' do u mean that the background of image is appearing black or it is completely black nothing is displayed?
I had faced similar problem in smartform,where i was gettin grey background of the logo...
For this, you need to edit the logo image first. open the logo image in ms paintbrush and save it as 256 color bitmap image. now upload this bitmap in sap using tcode se78.
Now use this logo...... -
Problem with printing logo in smartform.
Hi guys,
We have a logo in a window, its working fine in print preview, however while printing the page data ,other than logo is comming fine on printout , but logo is not comming fine. Logo is comming like one black vertical strip on left side of page. Even if i used standard Logo like ENJOY , same problem is comming. Please please give solution.
Regards,
PradipHello Pawar,
The the problem is with printer drivers thats what i think....Please ask you SAP Basis guys to work on it..Tell them logos are not printed correctly....Please do the config and install the driver for the same.
Regards,
Nabheet Madan -
Dynamicaly print logo on smartform(if a person email id change logo ischang
hi expert,
actually i want all the variable of smartform in one table.
so i crated ztable,
my logo is in database i want to fetch the logo from z table .
(v_logo logo name in table how can i fetch logo from database with refrence of email id of person)
so plz suggest me step by step method.
i am working on hr module.
condition is if pernr (person)email id chang logo is also change both fields are in one table .Hi
This is very simple, create all the logo's with the actual name of the person or perner.
Use a select query on your table and pass the value of the seleceted record as the name of the graphic in the smartform node.
Something like this:
MAPPING TABLE"
PERNER IMAGE_NAME
0001 0001
0002 0002
in se78, you logo name should be '0001' , '0002' and so on....
in smartform, based on ur pernr, select a record from mapping table and pass the value of the image name to a variable in the graphics display node.
this should solve your prob.
Cheers
Ravish -
Logo printing issue in Smartform
Hi,
I have uploaded company logo and i am using this logo in my Z*PO smart form, during printpreview it is showing correctly (the alignment and resolution), if i print that, the logo alignment is not proper, it is coming down than what i am aligned, the placement is perfect in printpreview.
Let me know, is there any other setting that i need to make.
Thanks,
Prasad S.Hi friend,
I think there are lot of related post in SDN for this problem. Just search the forum before posting questions.
One of the similar post i have attached below.
Link : [Problem with printing logo in smartforms|Problem with printing logo in smartforms;
I think this will help you. If you still did not get the answer just search in Google by giving the key word "SAP + SDN + Smartforms + Logo printing problem". There are large of solutions to help you.
Thanks,
Sri Hari -
Print Logo in Classic Report (Write Method,Not ALV)
Hi All,
I'm currently doing conversion of the All the Classic Report with addition of Header with 'LOGO'.
I'm willing to find out that Function (CALL FUNCTION 'WWW_GET_MIME_OBJECT') is only able for display but not show out during printing.
Is that any method, I can do it(Print with Logo) without conversion to SAP Script or Smartform that was exhausted.
*Please take note is Classic Report with Write Method (Line by Line), Not ALV.
Thank you all in advance
Regards,
Trevor Wong.Hi,
It is possible to include logo in classical report but its not possible to print logo in classical report. It can be done in ALV's.
Write the code in Top-of-page event in ALV.
The following is the code for inserting the logo in ALV.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
I_LOGO = 'ENJOYSAP_LOGO'
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
ENDFORM.
Regards
Purnand -
How to upload a logo in smartforms
can anybody tell me how to upload logo in Smartorms
Hi,
Inserting Logo in SmartForm
Follow the given steps in order to add a logo,
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
8) User TCode SE78 to upload new pictures and logos.
or----
u can
Try executing program RSTXLDMC program. There also you can upload a graphic.
Run RSTXLDMC
Enter file name C:\MAIL\COMPLOGO.TIF
Resolution for Tiff file
Absolute X-position
Absolute Y-position
Absolute positioning
Reserved height
Shift to right
UOM = CM
Text title
Line width for text = 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Postscript scaling
Width & Height according to PS scaling
Number of Tiff gray levels (2,4,9) 2
Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Window type CONST
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally u can make use of the text name and text id to print the logo.
Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
Go thru this,
http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/SAPSmartFormsVersion3.pdf
Refer these threads,
How to upload logo in Smartforms.
logo insertion in smartform..
Regards,
Padmam. -
Hi All,
Can anybody guide me to enter logo in Smartform.
I want to print one logo on inspection setup print program.
Please suggest me the steps to do the same.
Regards,
Deepak.Hi,
Inserting Logo in SmartForm
Follow the given steps in order to add a logo,
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
8) User TCode SE78 to upload new pictures and logos.
or----
u can
Try executing program RSTXLDMC program. There also you can upload a graphic.
Run RSTXLDMC
Enter file name C:\MAIL\COMPLOGO.TIF
Resolution for Tiff file
Absolute X-position
Absolute Y-position
Absolute positioning
Reserved height
Shift to right
UOM = CM
Text title
Line width for text = 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Postscript scaling
Width & Height according to PS scaling
Number of Tiff gray levels (2,4,9) 2
Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Window type CONST
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally u can make use of the text name and text id to print the logo.
Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
Please reward points if useful.
Regards
rose -
How to print logo when ever new customer arrises?
hi friends
i have range of customers . i have to print logo when ever new customer arrises . if the customer data continues in 2nd page i dont have to print logo. how to get it ?
regards
thiruhi,
are you using smartform or script for printing ?
write the condition in program lines using the control commands ie on change of customer.
Take separete window for logo and print that in the first page so that if the customer data extend as to next page logo window will not appear in the next window.
and is there any table maintained for logos and customer details. if its maintained it would be easy to put the condition in the print program itself or else you can hadle it in the form.
Regards,
Prathima. -
Label printing on ZEBRA printer TLP2844 with smartform
Hi Gurus,
Requirement:
Print label on Zebra printer with smartform
1. i have created a smartform with desired layout
2. and trying to print on Zebra printer
Questions:
1. smartform is not printing on zebra printer
2. suggest me if there are any ways to print smartform on zebra printer
3. does it requires any native programming language for printing labels on zebra printer
Best Regards,
Krishnahi Krishna,
This printer does not support ZPL2 so I thnk you cnnot use the device types like LZEB2. It should work to print via windows and a device type like SAPWIN or SWINCF.
Regards,
Aidan -
Hi Experts,
I'm using SSF_OPEN and SSF_CLOSE, to print multiple smartforms. In between SSF_OPEN and SSF_CLOSE, there is a loop at a smartform. The output prints each smartform in different pages. Is it possible to print the second smartform in the first page since there is still space for printing there?
Thanks in Advanced,
JackHi Jack,
As per my knowledge,
you can't print two smartform in single page because smart form having own page-size.
If your layout page is A4 size then first layout print in A4 page and next layout will be go-to next print page. but if you have different kind of page size for both layout then you can control from printer side then that case both page will be printed in single print page.
Regards,
Prasenjit -
How can i print logo in all the page
i've created a form(SAP script) which have five page.pls can anybody tell me how can i print logo in all the five page?
hi,
u can try this in
windows
change window type as CONST or MAIN.
cheers,
sam -
How to print logo in standard report
Hi,
How to print a logo in sap ordinary report
Thanks,
SreedharHi Sreedhar,
It is not possible to print logo in the ordinary report, but it can done through ALV.
Write the code in Top-of-page event in ALV.
The following is the code for inserting the logo in ALV.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
I_LOGO = 'ENJOYSAP_LOGO'
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
ENDFORM.
Rewards if it is helpful...
Regards,
Omkar. -
How to print logo in printout using classical report.
Hello Friends,
By using below code i am displaying logo in output using Classical report.
What my problem is it is not displaying in print out.
Please help. or else tell me how to print logo in classical report as well as output print out.
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c ,
query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i,
repid LIKE sy-repid.
repid = sy-repid.
START-OF-SELECTION.
CREATE OBJECT picture_control_1
EXPORTING
parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 100
left = 700
top = 1
width = 200.
"Position
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
" Logo Name
query_table-value = 'ENJOYSAP_LOGO'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
WRITE : /'Classical Report Logo'.
Regards,
Phaneendra
Edited by: phaneendra punukollu on Dec 31, 2009 11:38 AM
Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 4:52 PMHello Nidhi,
Thanks for your sugessition.
Actual we have data from IDOCS and it is maintained in Ztables
and need to dispaly in report ( Service centre - Warranty data ).
The report is completed. So again going to Script means waste of time for us.
So Plz help me if possible in Classical report.
Regards,
Phaneendra
Maybe you are looking for
-
Need help bcuz of stupid itunes wont open? i have answer no jokes ^_^
hello im like all of yall...who cant open the itunes. This is a problem to all people using ipods (all version). I myself did this method which i will show you today. read the instrution carefully..i am not responsible for your mistakes Your problem
-
My images look blurry, jagged, pixelated and low quality when I publish or export my site from Muse. Is there any way to avoid or fix this problem?
-
Error while Configuring Repository INS0017: Installation of the seeded data
I am getting error while configuring repository at 36% Error: Seeding Failed: The warehouse builder workspace owner installation failed on user OWBSYS. INS0017:Installation of the seeded data failed java.io.FileNotFoundException: xmlClasses.xml (Acce
-
Hi all I have completed the IDOC>XI>HTTP scenario. When I trigger a material in the source R/3 system, material details are being posted in to the destination JSP page. The problem I'm facing is that same material record XML message is appearing in m
-
So I woke up in the morning today, detached my phone which was connected to a Bose Sound Dock II using an original Apple 30-Pin to Lightning connecter. I checked my notifications, replied to some messages on Whatsapp, GTalk, Snapchat and then unplugg