Logo not printing for Zebra printer
Hi All,
I have a requirement to print company logo after executing MIGO using Zebra printer. I have added the Zebra print parameters in SAPscript and uploaded the ITF file of logo to SO10 and from there copied to my SAPscript and tried printing, there is no logo displayed. I have tried using including standard text in sapcript with help of INCLUDE text statement that also is not working. Please help me to print logo using SAPscript for zebra printers.
Thanks & Regards,
Priya
Hi All,
If I directly printing the uploaded ITF file from standard text, I am able to print the logo. But when copy paste the same code in SAPscript its not printing. Please can anybody explain why?
Thanks & Regards,
Priya
Similar Messages
-
In Smartform able to see the logo in print preview but logo not printing.
Hi All,
In Smart form there is a logo which i am able to see through Print Preview but when trying to print that form the logo is not printing. What might be the reason for this problem, please suggest a solution for this problem.
Regards,
Siva.Hi,
I am able to see the logo for all other smart forms i have developed using the same printer. But the problem is only with this Form. If the printer settings are not correct i should not be able to get the output for any form using that printer.
Regards,
Siva. -
Hi I am not able to print the logo in scripts. I have tried with another images. Nothing is working. Can anyone help me.what might be the problem.
Hi Sam,
Please check the following process in case you missed something.
For uploading a LOGO in Scripts there are a series of steps to be followed.
STEP 1:
Go to SE38, enter the program name "RSTXLDMC" and execute it.
STEP 2:
On executing this program it display a new session where you need to mention your Logo name.
For this enter your Logo name in the select option "Param. for standard text->Text Name".
The name given here should begin with 'Y' or 'Z' .Eg: YLOGO or ZLOGO.
On execution this it will ask for the location where your logo is stored.The logo should be of type .TIFF extension.(Tag Image File Format -TIFF)
Once the location is specified the .TIFF file gets uploaded and stored as a text element in SO10 and a new session is shown which say if the logo is successfully saved or not.
STEP 3:
TO view your logo go to the TCode SO10 mention your file name i.e.,YLOGO or ZLOGO and click on print preview.This diaplays your LOGO.
TO BE PROCESSES IN SE71.
To display output in scripts we need to maintain a page windows in a page.
Say for example we a Page Window with name LOGO.
Double click on this and traverse through the following menu : Edit -> text Elements.
Now enter the command line(/:)in the "Tag Column" and traverse through the following menu :
Insert -> Text ->Standard.
Mention the Logo Name in our case it is either YLOGO or ZLOGO.On doing this the logo will be inserted in the Text Elements with the message as follows:
INCLUDE ZLOGO OBJECT TEXT ID ST.
Activate and execute the same.
Regards,
Ferry Lianto -
Logo not print in Background Job
HI,
I am running my report in the background i found that logo is not printing.
And the same report when i print in foreground then the logo is been
printed so what are the changes tht i need to do to print the logo in background.
Regards
VEnk@Hi suhas,
I have uploaded my logo in SMW0 in Binary format.
And i am able to find the logo when i run the report(classical) in the Foreground
and the same report when i am runnning in the background logo is missing.
This is the code which i am using to display the logo.
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
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 = 90
left = 40
top = 30
width = 190.
CHANGE POSITION AND SIZE ABOVE****************
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
CHANGE IMAGE NAME BELOW UPLOADED IN SWO0*****************
query_table-value = 'YREDDY'.
APPEND query_table.
query_table-value = 'YLOGO'.
APPEND query_table.
*FORMAT HOTSPOT ON.
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.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
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.
Regards
VEnk@ -
I have a BW logo created in Illustrator that contains shapes and outlined type. When I reverse the black and white sections of the logo -- in order to make a reverse logo to run on top of a black background -- several portions no longer print. As in not not even showing up in my print settings viewer and not showing up on the paper.
If you go to www.wga.org, you will see the logo is a box on top of a stroked box with type on top of the first box and next to it. (This is just to show you the logo; I am working on a print project, not on the Web page.) It is the stroke and the words to the right of the boxes that are not printing.
Do you have any suggestions on where I should go with this? TIA
--Sarah>Scott, thank you. You are a bloody genius.
(spit take soda on monitor and try to prevent myself from falling out of chair) ;)
[no insult is intended Sarah, Scott knows I'm kidding] -
Logo not printing properly in Invoice converted to PDF and emailed
Hello,
I am having a problem with a programming issue and have searched lots of forums but have found no solutions. We are on 4.7 and are not likely to upgrade any time soon. Therefore, I don't think any of the newer solutions are gonna work for me. I believe that I'm stuck using a couple of function modules to get t he job done. I am attempting to modify our Invoice Print program (uses SAPscript, not SmartForms) to have the output converted into a PDF file and then attached to an email that is then sent to the customer. Everything is working fine except for the company logo. It has been uploaded via SE78. It is a 24-bit bitmap file. I have played around with the DPI to have it appear correctly on the form. I added a FM GUI_DOWNLOAD step to verify that it is saved to my hard drive correctly. The PDF file saved t o my hard drive appears normally in Adobe Acrobat and Adobe Reader. So the problem occurs sometime after that. I have a routine wherein I convert is from 132 to 255 bytes. I then use FM SO_DOCUMENT_SEND_API1 to send it. When I swap the customer's email address to my own personal external emal address, the resultant email has an attached PDF file but the company logo is garbage. The top portion of the logo looks good and then at some point in the lower portion is appears as squiggly lines. This is not acceptable, of course. I have included the relevent code below:
DATA: ITAB_OTFDATA TYPE TABLE OF ITCOO WITH HEADER LINE.
DATA: ITAB_PDFDATA TYPE TABLE OF TLINE WITH HEADER LINE.
DATA: ITAB_DOCTAB_ARCHIVE TYPE STANDARD TABLE OF DOCS.
DATA: ITAB_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE.
DATA: ITAB_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
DATA: ITAB_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
DATA: ITAB_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
DATA: ITAB_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE.
DATA: BINFILESIZE TYPE I,
G_LINES_TXT TYPE I,
G_LINES_BIN TYPE I,
DOCDATA TYPE SODOCCHGI1,
WA_RESULT TYPE ITCPP,
WA_BUFFER TYPE STRING,
WA_OBJHEAD TYPE SOLI_TAB,
G_INVOICE(10) TYPE C.
CLEAR: BINFILESIZE.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
* ARCHIVE_INDEX =
IMPORTING
BIN_FILESIZE = BINFILESIZE
TABLES
OTF = ITAB_OTFDATA
DOCTAB_ARCHIVE = ITAB_DOCTAB_ARCHIVE
LINES = ITAB_PDFDATA
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\TEMP\TEST.PDF'
FILETYPE = 'BIN'
tables
data_tab = ITAB_PDFDATA.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*-- Convert PDF from 132 to 255
LOOP AT ITAB_PDFDATA.
* Replacing space by ~
TRANSLATE ITAB_PDFDATA USING ' ~'.
CONCATENATE WA_BUFFER ITAB_PDFDATA INTO WA_BUFFER.
ENDLOOP.
* Replacing ~ by space
TRANSLATE WA_BUFFER USING '~ '.
DO.
ITAB_RECORD = WA_BUFFER.
* Appending 155 characters as a record
APPEND ITAB_RECORD.
SHIFT WA_BUFFER LEFT BY 255 PLACES.
IF WA_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
REFRESH: ITAB_RECLIST,
ITAB_OBJTXT,
ITAB_OBJBIN,
ITAB_OBJPACK.
CLEAR: WA_OBJHEAD.
ITAB_OBJBIN[] = ITAB_RECORD[].
G_INVOICE = VBRK-VBELN.
SHIFT G_INVOICE LEFT DELETING LEADING '0'.
*-- Create Message Body Title and Document
CLEAR: ITAB_OBJTXT-LINE.
CONCATENATE 'Invoice'
G_INVOICE
'for Purchase Order'
PO_NUM
'is attached to this email.'
INTO ITAB_OBJTXT-LINE SEPARATED BY SPACE.
APPEND ITAB_OBJTXT.
CLEAR: ITAB_OBJTXT-LINE.
APPEND ITAB_OBJTXT.
CLEAR: ITAB_OBJTXT-LINE.
CONCATENATE 'Please see attached invoice.'
'Thank you for your business!'
INTO ITAB_OBJTXT-LINE SEPARATED BY SPACE.
APPEND ITAB_OBJTXT.
DESCRIBE TABLE ITAB_OBJTXT LINES G_LINES_TXT.
READ TABLE ITAB_OBJTXT INDEX G_LINES_TXT.
CONCATENATE 'Invoice' G_INVOICE
INTO DOCDATA-OBJ_NAME SEPARATED BY SPACE.
DOCDATA-EXPIRY_DAT = SY-DATUM + 10.
CONCATENATE 'Invoice for P.O.'
PO_NUM
VBDKR-NAME1_WE
INTO DOCDATA-OBJ_DESCR SEPARATED BY SPACE.
DOCDATA-SENSITIVTY = 'F'.
DOCDATA-DOC_SIZE = ( G_LINES_TXT - 1 ) * 255 + STRLEN( ITAB_OBJTXT ).
*-- Main Text
CLEAR: ITAB_OBJPACK-TRANSF_BIN.
ITAB_OBJPACK-HEAD_START = 1.
ITAB_OBJPACK-HEAD_NUM = 0.
ITAB_OBJPACK-BODY_START = 1.
ITAB_OBJPACK-BODY_NUM = G_LINES_TXT.
ITAB_OBJPACK-DOC_TYPE = 'RAW'.
APPEND ITAB_OBJPACK.
*-- Attachment (pdf-Attachment)
ITAB_OBJPACK-TRANSF_BIN = 'X'.
ITAB_OBJPACK-HEAD_START = 1.
ITAB_OBJPACK-HEAD_NUM = 0.
ITAB_OBJPACK-BODY_START = 1.
DESCRIBE TABLE ITAB_OBJBIN LINES G_LINES_BIN.
READ TABLE ITAB_OBJBIN INDEX G_LINES_BIN.
ITAB_OBJPACK-DOC_SIZE = ( G_LINES_BIN - 1 ) * 255 + STRLEN( ITAB_OBJBIN ).
ITAB_OBJPACK-BODY_NUM = G_LINES_BIN.
ITAB_OBJPACK-DOC_TYPE = 'PDF'.
CONCATENATE 'Invoice' G_INVOICE
INTO ITAB_OBJPACK-OBJ_NAME SEPARATED BY SPACE.
CONCATENATE G_INVOICE '.pdf'
INTO ITAB_OBJPACK-OBJ_DESCR.
APPEND ITAB_OBJPACK.
*-- Create Table of email recipients
CLEAR ITAB_RECLIST.
ITAB_RECLIST-RECEIVER = KNB1-INTAD.
ITAB_RECLIST-REC_TYPE = 'U'.
ITAB_RECLIST-COM_TYPE = 'INT'.
APPEND ITAB_RECLIST.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOCDATA
PUT_IN_OUTBOX = ' '
SENDER_ADDRESS = 'arcredit @ companyname.com' <-- modified to comply with forum rules
SENDER_ADDRESS_TYPE = 'SMTP'
COMMIT_WORK = 'X'
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
* SENDER_ID =
TABLES
PACKING_LIST = ITAB_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = ITAB_OBJBIN
CONTENTS_TXT = ITAB_OBJTXT
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
RECEIVERS = ITAB_RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*-- Send the email immediately
WAIT UP TO 3 SECONDS.
SUBMIT RSCONN01 WITH MODE = 'INT'
WITH OUTPUT = 'X'
AND RETURN.
Thanks in advance for any and all advice.
Best Regards,
Nik von Ruden
Edited by: Nik Von Ruden on Nov 3, 2009 6:48 PM
Edited by: Nik Von Ruden on Nov 3, 2009 6:49 PMHi Friend ,
I hav gone through your code ... I have one Question why you are changing from 132 to 255.inside your program
if there is a purpose then , please can you change your company logo Image size accordingly and uploaded it into SAP mime repository using se78.then your program let it convert from 132 to 255. definely you will see some change's in the Logo,then keep on adjusting you can acheive you result.
sometime the Image size also plays major role ,which we need to modify the sizes of image.
I am giving you an link which is already there but still from myside , just compare the code .
Link: [http://www.scribd.com/doc/454814/SAPSCRIPT-to-PDF]
Regards, -
Logo not printing in classical report
hello friends,
i have displayed logo in classical report but while taking printout its not showing any image in printout.
pls suggest.
Regards,
SunnyHi Sunny,
Printing logo is not possible in classical using write statments, but it is possible using ALV grid.
Still you can refer to these links:-
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9ba5061c-0901-0010-2da8-9a0ac9a313c4
Re: Logo in Report
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir -
Logo not printing in pdf attachment
Hi,
When printing the billing document, i need to save the document in PDF file in local drive and i need to send the same pdf file in mail to the customer. When saving the pdf file in local drive i can see the logo clearly, but the same attachment when i am sending in mail, the logo is not getting displayed. The customer can open the pdf attachment, but cant find the logo. Pls let me know how to solve this problem.
Thanks,
RajuRaised different thread.
-
Logos not printing in SAPScript in background
Hi all,
Company logo is part of check printing, which is developed using SAPSCript.
The printed checks have the logo, if the job is run from foreground.
But, when check printing is scheduled, it is not getting printed. Ideally, check printing will be a scheduled process only.
Also, this issue happens with certain users only. Can anybody help me in identifying the auth object that relates to logos?
Request the experts to provide input on these.
Regards,
Sridevi
Edited by: Sridevi on Jul 2, 2008 10:39 AMHi,
I ran ST01 and found S_BDS_DS object missing.
Regards,
Sridevi -
Logo not printing in PDF form, when being printing from the B2b Portal
Hello -
I have a smartform, in our CRM 4.0 system. When I go into transaction smartforms, the logo shows up in the preview of the smartform. In displaying the PDF from the Portal, the logo is not showing. I debugged in the background, the function SSFCOMP_PRINT_GRAPHIC is returning a value of sy-subrc = 0. Any ideas?
Thanks,
GeorgeRaised different thread.
-
Not printing the label in the zebra printer for 4 X 7 inch size
Dear all,
Iam trying to print the barcode in the label of size 4.00 X 7.00 inche in smartforms , for which i have created a page format in SPAD with 4 x 7 inch and specified the same in Form interface and specified 4.00 x 6.00 inche in the MainWindow of smarforms,
im getting the print preview ,but it is not printing it in the printer, i checked with the zebra printer set up also and in the printing preferences i gave it as user defined.
but when i tried with page size of 4.00 x 6.00 , it is printing without any problem. but my requirement i need to print that in 4.00 x 7.00.
Can anybody guide me how to resolve this.
thanks in advance. Points assured.sorted out by setting the SPAD - Device types
format, just added the zxxx format to this and now it is working -
Not printing...zebra printer
Hi All
I am using zebra printer TLP 2844, all the fonts are feeded in the printer.
I am printing a simple text.. but its not printing anything.
REPORT ZTEST2 .
data: x-prin(4) value 'LOCL'.
data:
t1(80) value 'A100,100,0,d,1,1,N,"Material Number"'.
do 1 times.
new-page print on
destination x-prin
copies '1'
immediately 'X'
keep in spool 'X'
no dialog.
write: / 'O'.
write: / 'Q1217,1'.
write: / 'q811'.
write: / 'S2'.
write: / 'D6'.
write: / 'ZB'.
write: / 'JF'.
write: / 'N'.
write: / t1.
enddo.
any idea what can be the reason
cheers
AJHi Pavan
As the SAP vesion is 4.6c...and they have no support package for printing using samrtforms.
but other reports, which prints the labels in the warehouse are printing the barcode labels....
and I am using the same printer........so definetly it should print.
but I dont know what mistake I am doing........
AJ -
PDF/X1a with a logo containing a colorized grayscale tiff not printing properly
I have a 3 color logo: black, PMS 200U, and PMS 1955U. The logo was built in Illustrator and I have placed grayscale tiff ontop of it. The grayscale tiff is a stipple (dots) effect that I colorized to PMS 1955U in Illustrator, masked it out on top of the logo, and set it to multiply. Within Illustrator, the separations look good and it prints fine when printing directly out of illustrator.
The problem is when I export it to a PDF/x1a and try to print it, it doesn't print properly. Printing from acrobat, it only previews and prints the PMS 1955U stipple and black. The flat PMS 200U under the tiff doesn't print. I've tried bitmapping the photoshop file and making the stipple monochromatic and still doesn't seem to work when exporting to a PDF and printing.
Funny thing is, when I do the whole process for the CMYK logo (not PMS), it all prints out fine as a PDF/x1a.
Any ideas on how to get the logo to export and print properly?
Any help is much appreciated!!Press quality uses PDF version 1.4 which supports transparency while PDF/X-1a uses PDF version 1.3 which requires transparency to be flattened.
For your issue, try enable Overprint Preview in Acrobat preferences and see you are getting the expected results, use Output Preview panel in Acrobat to turn off individual plate to see if your missing PMS 200U is listed and flat color appears.
If the above does not works please send me the files to reproduce this issue at my end, i will send my email in private message to you.
-Rama -
Barcode not printing on Zebra printer
Hi All,
We are facing an issue while printing the barcode from ECC 5.0 using a smartform.
The problem is that the z program creates a spool when we click the print option but does not print the barcode in the zebra printer.Also when we try to print from spool directly it doesn't print anything.
We are on Ecc 5.0
zebra printer is Z4mplus.
Any help is appreciated and will be rewarded with points.
Thanks
UmangHi,
Please check with your Printer Vendor, whether it supports the Barcode font which you have used.
Also check for SAP notes. There are several sap notes on Zebra printer.
Goto www.service.sap.com
Best regards,
Prashant -
LOGO is not printing correctly in Production but printing correctly in Qual
Hi Friends,
I am an ABAPER.
In Scripts I had a logo. Problem is in development and quality systems it is printing correctly but it is not printing correctly in Production system. I have tested all the development, quality & Production systems with the same printer. Experts please guide me where exactly the problem is how to solve it. Good points will be rewarded for related solutions.
Hi Nageswar,
The exact problem is the logo is alphabetical characters only, but for example APPLE is the logo. The word Heading 1: APPLE. is in Coloured BOLD letters. In development and quality it is printing as it was original logo. But in Production the letters for APPLE is printing in such a way that A is printing as dotted letter A and so on for PPLE. But in quality and development is working fine Printing as BOLD letters.
Finally want to mention that APPLE is a scanned logo. Its properties were same in three systems i.e, development, quality and production.
Experts please help me.
Edited by: pavan kumar on Feb 6, 2008 12:26 PMNot correctly in the sense. Please explain the error you are getting.
Hi Pavan ,
Check the printer settings it SPAD transaction and check printer settings were smae in both systems.
Regards,
Nageswar
Edited by: Nageswar Vattikuti on Feb 6, 2008 5:01 PM
Maybe you are looking for
-
I'm so pissed at BB. I looked up the schedule dates for a TV delivery in the Charlotte area. At 4am when I looked I was provided dates. When I logged back in at 10pm I was told the 28226 zip code was not in the delivery area. WTH! It was there t
-
FILE to IDOC SCENARIO NEED MANDATORY FIELDS IN MATMAS IDOC
Hi I'm learning a scenario like File to Idoc which is i need some what are the mandatory fields for creting the message mapping.. between source file and MATMAS IDOC... because it was showing several fields. is there any way to find out the f
-
Help needed in making a login screen
hi all, i need to make a login screen in flash in which a user enters a password and username and both are checked from an xml file. i need your help in making it. could anyone redirect me to some tutorial or if anyone can post the code here, i would
-
I have successfully changed my apple account using my iphone. Can i now just plug my iphone into my pc using the itunes account in my husbands name (this used to be my apple id too) or do I need to set up a whole new itunes in my name and download al
-
Default Subinventory/Locator for item during Shipping Transaction-Any API
Hi, If we need to define a Default subinventory or locator for an item during Shipping Transanction, we are setting it up from Application as follows: Inventory --> Setup --> Item Transaction Defaults window Can we define the same setup using any und