SAPScript print on Zebra 2746
We need to print to an old Zebra 2746 using ZPL code inside a SAPScript.
Unfortunately we can't find a way to do it (and we can't find a a driver specific for such printer).
Does anyone use Zebra 2746? If yes, what kind of driver are you using?
Thanks in advance.
Regards
Simone Zaffalon
Hello,
See SAP note 750002 and 750002.
You can try device type SAPWIN also.
Regards,
David
Similar Messages
-
Printing sapscript label using zebra printer
Hi,
Can anybody please help me regarding "printing sapscript label using zebra printer"?
i hav set the following print default settings in the transaction mb90:
output device :
NO01
device type: YZZX_ZEB
but when i try to print ,i am getting error message stating that "the respective sapscript form is not active ".
i hav also attached my print program for ur easy reference.
====================================================================*
FORM open_form_slv.
*' Description:
*' Add information for the SAP spooler
*' Change the name of the standard customized form for Zebra print
*' Last Change Vers Programmer Reason
*1
DATA: BEGIN OF print_infos.
INCLUDE STRUCTURE itcpo.
DATA: END OF print_infos.
DATA: form_name(16) TYPE c, char1(1) TYPE c, ind_beg TYPE i.
PERFORM itcpo_fuellen.
MOVE-CORRESPONDING itcpo TO print_infos.
WRITE sy-datum USING EDIT MASK '__.__.____'
TO print_infos-tdcovtitle+1.
WRITE sy-uzeit USING EDIT MASK '__:__:__'
TO print_infos-tdcovtitle+12.
CONCATENATE itcpo-tddest sy-uname ' PO'(001) ekpo-ebeln ' Doc.No'(002)
mseg-mblnr print_infos-tdcovtitle
INTO print_infos-tdcovtitle SEPARATED BY space.
form name from the table YZZM_GR_LABEL
IF NOT g_fonam IS INITIAL.
tnapr-fonam = g_fonam.
ENDIF.
if the used printer is a Zebra label printer, then the customized
layout set name ???_???_XXX will be changed to ???_???_ZP
SELECT SINGLE * FROM tsp03d WHERE padest = nast-ldest.
IF tsp03d-patype = 'YZZX_ZEB'.
ind_beg := 15.
WHILE ind_beg > -1.
char1 := tnapr-fonam+ind_beg. " substr(tnapr-fonam,ind_beg,1)
IF char1 = '_'.
form_name := tnapr-fonam(ind_beg).
CONCATENATE form_name '_ZP' INTO tnapr-fonam.
EXIT.
ENDIF.
ind_beg := ind_beg - 1.
ENDWHILE.
ENDIF.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
language = language
OPTIONS = print_infos
form = tnapr-fonam
dialog = ' '.
x_open := x.
IF mseg-weanz = 0. mseg-weanz = 1. ENDIF.
IF syst-tcode <> 'MB90' AND NOT g_flag_popup IS INITIAL.
check for requirement of printing label and ask for gr-quantities (popup)
SELECT SINGLE * FROM yzzm_gr_quantity WHERE ebeln = mseg-ebeln.
CLEAR yzzm_gr_quantity-no_popup.
ELSE.
and ask not for gr-quantities
IF syst-tcode = 'MB90'.
yzzm_gr_quantity-erfmg := mseg-menge.
ELSE.
yzzm_gr_quantity-erfmg := mseg-menge / mseg-weanz.
ENDIF.
yzzm_gr_quantity-no_popup := x.
ENDIF.
determination inspection lot number
CLEAR qals-prueflos.
SELECT SINGLE * FROM qals WHERE mblnr = mseg-mblnr
AND zeile = mseg-zeile
AND mjahr = mseg-mjahr.
determination vendor batch
CLEAR mch1-licha.
SELECT SINGLE * FROM mch1 INTO mch1 WHERE matnr = mseg-matnr
AND charg = mseg-charg.
ENDFORM. "open_form_label
=================================================================== *
FORM we01_print_slv.
*' Description:
*' print out of hazardous symbol
*' controls the Zebra printer
*' Last Change Vers Programmer Reason
*****26.09.2007 Starts
DATA: l_objky TYPE nast-objky,"Object key
l_vstat TYPE nast-vstat. "Processing status of message
*****26.09.2007 Starts
TABLES: mgef, t300.
FIELD-SYMBOLS: .
DATA: aux_index LIKE sy-index.
DATA: count_haz_sym, position TYPE n, zw TYPE p DECIMALS 1.
DATA: aux_value(5) TYPE c.
DATA: txt(10) TYPE c, pos(5) TYPE c.
t001w-werks = r_werks.
t001w-name1 = r_name1.
PERFORM read_address.
*2
SELECT SINGLE * FROM ekpo WHERE ebeln = mseg-ebeln
AND ebelp = mseg-ebelp.
CLEAR mara-stoff.
SELECT SINGLE stoff INTO mara-stoff FROM mara WHERE matnr = mseg-matnr.
IF NOT mara-stoff IS INITIAL.
CLEAR t300.
SELECT SINGLE * FROM t300 WHERE lgnum = mseg-lgnum.
IF NOT sy-subrc IS INITIAL.
for plants without warehouses try to use the country code
CASE mseg-werks.
WHEN 'BUP'.
t300-regkz := 'US '.
ENDCASE.
ENDIF.
CLEAR mgef.
SELECT SINGLE * FROM mgef WHERE stoff = mara-stoff
AND regkz = t300-regkz.
ENDIF.
in case of more then one label, use for each a new output window
(not only for the first)
IF g_count > 1.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = 'NEW-WINDOW'.
ENDIF.
Ausgabe Gefahrstoffsysmbole Neustadt, V.Hilgert 14.07.98
*For output type YNL7, the hazardous warning symbol has to be printed at the bottom of the label.So label is called before that.
IF tnapr-kschl = 'YNL7'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'LABEL'.
ENDIF.
count_haz_sym = 0. position = 0.
WHILE count_haz_sym = 'XN'.
For output type YNL7, the width of the standard text is small.
IF tnapr-kschl = 'YNL7'.
zw = position * '0.2' + '0.1'. pos = zw.
ELSE.
zw = position * '1.3' + '0.1'. pos = zw.
ENDIF.
IF tsp03d-patype = 'YZZX_ZEB'. " device type for ZEBRA label priter
aux_value := count_haz_sym.
ELSE.
aux_value := pos. " HP/Kyocera or other laser printer
ENDIF.
CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
EXPORTING
name = '&XPOS&'
value = aux_value
EXCEPTIONS
OTHERS = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element =
window = 'MAIN'
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
OTHERS = 7.
IF sy-subrc = 0.
*Varying the position for YNL7
IF tnapr-kschl = 'YNL7'.
position = position + 2.
ELSE.
position = position + 1.
ENDIF.
ENDIF.
ENDIF.
ENDWHILE.
IF NOT mseg-vfdat IS INITIAL.
am07m-mhtxt = text-105.
ENDIF.
IF NOT am07m-mhdat IS INITIAL.
am07m-mhztx = text-106.
ENDIF.
IF ekko-bsart = 'UB'.
am07m-litxt = text-101.
am07m-libzg = ekko-reswk.
ELSE.
am07m-litxt = text-100.
am07m-libzg = ekko-lifnr.
ENDIF.
belpos-mblnr = mkpf-mblnr.
belpos-zeile = mseg-zeile.
CONDENSE belpos NO-GAPS.
am07m-belpos = belpos.
IF t156-shkzg = h.
am07m-hdlne = text-020.
ELSE.
am07m-hdlne = text-010.
ENDIF.
Ausgabe der Etiketten mit den ind. Mengen
IF NOT g_flag_popup IS INITIAL.
SELECT SINGLE * FROM yzzm_gr_quantity WHERE ebeln = mseg-ebeln
AND weanz = g_count.
ELSE.
* print the number of labels is handeled by the Zebra printer
IF tsp03d-patype = 'YZZX_ZEB'. " device type for Zebra label prts
g_lbls_tot := mseg-weanz - g_count + 1.
g_break_print := x.
ENDIF.
ENDIF.
mseg-erfmg := yzzm_gr_quantity-erfmg.*
********26.09.2007 Starts
CONCATENATE mseg-mblnr mseg-mjahr mseg-zeile INTO l_objky.
SELECT SINGLE vstat INTO l_vstat FROM nast WHERE kappl = 'ME' AND
objky = l_objky AND
kschl = 'YNL7'.
********26.09.2007 Ends
CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
EXPORTING
name = '&nummer&'
value = g_count.
IF tnapr-kschl <> 'YNL7'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'LABEL'.
else.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'BAR_CODE'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10.
IF sy-subrc <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDFORM. "GR_label_print
*& Form lesen
text
-->OBJKY text
FORM lesen USING objky.
nast_key = objky.
CLEAR retco.
SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
AND mjahr = nast_key-mjahr.
SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
AND zeile = nast_key-zeile
AND mjahr = mkpf-mjahr.
IF sy-subrc NE 0.
retco = sy-subrc.
EXIT.
ENDIF.
PERFORM tab156_lesen.
xskkz = t156-rstyp.
PERFORM tab001w_lesen.
IF NOT mseg-evers IS INITIAL. "Versandvorschriften lesen.
PERFORM t027_lesen.
ENDIF.
PERFORM bestellung_lesen.
IF NOT ekpo-knttp IS INITIAL AND NOT
ekpo-weunb IS INITIAL.
PERFORM kontierung_lesen. "für multikontierte Bestellungen
ENDIF.
IF NOT mseg-ematn IS INITIAL.
PERFORM lesen_htn.
ELSE. "111277/PH
CLEAR am07m-mfrpn. "111277/PH
ENDIF.
IF mseg-matnr IS INITIAL.
mseg-menge = mseg-bpmng.
mseg-meins = mseg-bprme.
PERFORM bestelltext_lesen.
CLEAR mabdr.
ELSE.
PERFORM material_lesen.
ENDIF.
PERFORM tab024_lesen.
PERFORM t064b_lesen.
PERFORM ladr_lesen.
ENDFORM. "lesen
Lesen für WE-Schein Fert.Auftrag -
FORM lesen_wf USING objky.
nast_key = objky.
CLEAR retco.
SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
AND mjahr = nast_key-mjahr.
SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
AND zeile = nast_key-zeile
AND mjahr = mkpf-mjahr.
IF sy-subrc NE 0.
retco = sy-subrc.
EXIT.
ENDIF.
PERFORM tab156_lesen.
xskkz = t156-rstyp.
PERFORM tab001w_lesen.
PERFORM auftrag_lesen.
IF NOT mseg-matnr IS INITIAL.
PERFORM material_lesen.
ELSE.
mseg-menge = mseg-erfmg.
mseg-meins = mseg-erfme.
ENDIF.
PERFORM tab024d_lesen.
PERFORM t064b_lesen.
PERFORM ladr_lesen.
ENDFORM. "lesen_wf
Lesen für Warenausgang -
FORM lesen_wa USING objky.
nast_key = objky.
CLEAR retco.
SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
AND mjahr = nast_key-mjahr.
SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
AND zeile = nast_key-zeile
AND mjahr = mkpf-mjahr.
IF sy-subrc NE 0.
retco = sy-subrc.
EXIT.
ENDIF.
PERFORM tab156_lesen.
xskkz = t156-rstyp.
PERFORM tab001w_lesen.
IF NOT mseg-matnr IS INITIAL.
PERFORM material_lesen.
ENDIF.
PERFORM ladr_lesen.
ENDFORM. "lesen_wa
Druck Vorbereiten -
FORM open_form.
PERFORM itcpo_fuellen.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
language = language
OPTIONS = itcpo
dialog = ' '.
PERFORM lesen_t159p.
x_open = x.
ENDFORM. "open_form
Druck Vorbereiten Sammelscheine -
FORM open_form_sammel.
PERFORM lesen_t159p.
PERFORM itcpo_fuellen.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
language = language
OPTIONS = itcpo
form = tnapr-fonam
dialog = ' '.
x_open = x.
ENDFORM. "open_form_sammel
Druck schließen -
FORM close_form.
CHECK NOT x_open IS INITIAL.
CALL FUNCTION 'CLOSE_FORM'.
CLEAR x_open.
ENDFORM. "close_form
Hilfsfelder versorgen für Sammelscheindruck -
FORM helpdata1.
*mkpf = mkpf.
*mseg-lgort = mseg-lgort.
*ladr = ladr.
save_mkpf = *mkpf-usnam.
save_mblnr = *mkpf-mblnr.
save_budat = *mkpf-budat.
save_cpudt = *mkpf-cpudt.
save_ematn = *mseg-ematn.
save_lgort = *mseg-lgort.
save_ladr = *ladr.
*t001w = t001w.
save_werks = *t001w-werks.
save_name1 = *t001w-name1.
*ekko = ekko.
*am07m = am07m.
save_lifnr = *ekko-lifnr.
save_ebeln = *ekko-ebeln.
save_ekgrp = *ekko-ekgrp.
save_linam = *am07m-name1.
save_lina2 = *am07m-name2.
*t024 = t024.
save_eknam = *t024-eknam.
save_ektel = *t024-ektel.
*mkpf-usnam = old_mkpf.
*mkpf-mblnr = old_mblnr.
*mkpf-cpudt = old_cpudt.
*mkpf-budat = old_budat.
*mseg-ematn = old_ematn.
*mseg-lgort = old_lgort.
*ladr = old_ladr.
*t001w-werks = old_werks.
*t001w-name1 = old_name1.
*t024-eknam = old_eknam.
*t024-ektel = old_ektel.
*ekko-lifnr = old_lifnr.
*ekko-ebeln = old_ebeln.
*ekko-ekgrp = old_ekgrp.
*am07m-name1 = old_linam.
*am07m-name2 = old_lina2.
save_lfa1 = lfa1.
IF NOT old_lfa1 IS INITIAL.
lfa1 = old_lfa1.
ENDIF.
ENDFORM. "helpdata1
--- Versorgung der Hilfsfelder vor CLOSE_FORM bei Sammelscheindruck --
FORM helpdata2.
old_lfa1 = save_lfa1.
lfa1 = save_lfa1.
old_mkpf = save_mkpf.
old_lgort = save_lgort.
old_ladr = save_ladr.
old_budat = save_budat.
old_cpudt = save_cpudt.
old_werks = save_werks.
old_name1 = save_name1.
old_mblnr = save_mblnr.
old_lifnr = save_lifnr.
old_linam = save_linam.
old_lina2 = save_lina2.
old_ebeln = save_ebeln.
old_ekgrp = save_ekgrp.
old_eknam = save_eknam.
old_ektel = save_ektel.
old_ematn = save_ematn.
*mkpf-usnam = save_mkpf.
*mkpf-mblnr = save_mblnr.
*mkpf-budat = save_budat.
*mkpf-cpudt = save_cpudt.
*mseg-ematn = save_ematn.
*mseg-lgort = save_lgort.
*ladr = save_ladr.
*t001w-werks = save_werks.
*t001w-name1 = save_name1.
*t024-eknam = save_eknam.
*t024-ektel = save_ektel.
*ekko-lifnr = save_lifnr.
*ekko-ebeln = save_ebeln.
*ekko-ekgrp = save_ekgrp.
*am07m-name1 = save_linam.
*am07m-name2 = save_lina2.
ENDFORM. "helpdata2
Form Lesen Warenausgang Lohnbearbeiter -
FORM lesen_wlb USING objky.
nast_key = objky.
CLEAR retco.
SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
AND mjahr = nast_key-mjahr.
SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
AND zeile = nast_key-zeile
AND mjahr = mkpf-mjahr.
IF sy-subrc NE 0.
retco = sy-subrc.
EXIT.
ENDIF.
PERFORM tab156_lesen.
xskkz = t156-rstyp.
PERFORM tab001w_lesen.
IF NOT mseg-matnr IS INITIAL.
PERFORM material_lesen.
ENDIF.
ON CHANGE OF mseg-lifnr.
PERFORM read_address.
ENDON.
ENDFORM. "lesen_wlb
*eject
Fuellen der ITCPO -
FORM itcpo_fuellen.
IF xscreen NE space.
*- Testausgabe auf Bildschirm -
itcpo-tdpreview = 'X'.
itcpo-tdnoprint = 'X'.
ELSE.
CLEAR: itcpo-tdpreview,
itcpo-tdnoprint.
ENDIF.
MOVE-CORRESPONDING nast TO itcpo.
itcpo-tdcover = nast-tdocover.
itcpo-tddest = nast-ldest.
itcpo-tddataset = nast-dsnam.
itcpo-tdsuffix1 = nast-dsuf1.
itcpo-tdsuffix2 = nast-dsuf2.
itcpo-tdimmed = nast-dimme.
itcpo-tddelete = nast-delet.
itcpo-tdcopies = nast-anzal.
itcpo-tdprogram = sy-repid.
ITCPO-TDTELELAND = US_COUNTRY.
itcpo-tdsenddate = nast-vsdat.
itcpo-tdsendtime = nast-vsura.
itcpo-tdnewid = x.
ENDFORM. "itcpo_fuellen
*eject.
------------ FORM lesen der Lagerortadr. ---------------------------*
FORM ladr_lesen.
DATA: BEGIN OF addr_sel.
INCLUDE STRUCTURE addr1_sel.
DATA: END OF addr_sel.
CLEAR ladr.
SELECT SINGLE * FROM twlad WHERE werks = mseg-werks
AND lgort = mseg-lgort
AND lfdnr = '001'.
IF NOT twlad-adrnr IS INITIAL AND sy-subrc IS INITIAL.
MOVE twlad-adrnr TO addr_sel-addrnumber.
ENDIF.
CALL FUNCTION 'ADDR_GET'
EXPORTING
address_selection = addr_sel
IMPORTING
sadr = ladr
EXCEPTIONS
OTHERS = 1.
ENDFORM. "ladr_lesen
**& Form REPRINT
text
*FORM reprint.
TABLES : nase.
DATA : x TYPE string.
IF nase-vermo = 2.
x = 'REPRINT'.
ENDIF.
*ENDFORM. "REPRINT
Kindly do the needful.
Thanks in advance
Regards
SwarnaHi Swarna,
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
language = language
OPTIONS = print_infos
<b>form = tnapr-fonam</b>
dialog = ' '.
x_open := x.
I thing its not a good way to pass the Form name to the Parameter.
Try like,
data : temp_form like tnapr-fonam.
<b>form = temp_form</b>
Thanks. -
Is it possible to print barcodes from LT31 (SAPScript) on a Zebra?
Hi
We have a factory that would like to print their picking lists/transfer orders using transaction LT31 to a Zebra ZM600 printer. The transaction appears to create a spool in the SAPScript format.
We have tried pretty much all of the Zebra drivers (ZEB), a standard HP driver and a ASCII line printer driver (in SPAD) but nothing works - barcodes are not printed. For some drivers the format of the spool looks good in SP01, but then nothing is printed at all at the printer! In other cases the text is okay but barcodes are not, in other cases the text is complete gibberish.
The user has been informed that SmartForms should be used instead of SAPScript but we believe this would involve changes at ABAP level and our ABAP support is by a third party company which we are trying to avoid using.
I have seen SAP Note 179534 - Label printing with Zebra printers (SAPscript) but it seems this would also involve Application Support/ABAP teams etc.
Is there anything we (SAP Basis) or the end user can do to be able to print barcodes from LT31 to the Zebra printer without involving Application/ABAP support?
Thanks
RossTried but get an error:
SAP spool error log
=====================
Print request processing log
The host spool is reporting errors
Unintelligible response received from assumed SAPLPD ("#")
(SAP)LPD cannot accept request (Queue LDSP0092 disabled?)
Unable to connect to output processor
Any ideas? -
SAPSCRIPT CODE FOR ZEBRA PRINTING OF SU
Hi friends,
can anyone send me some sapscript code done on ZEBRA PRINTING . I have to create SU label Print program and oprint layout for LT31 .
THANKS IN ADVANCE .Hi, you need to install Label Design for mySAP otherwise you will not understand these control codes.
Also you need to read Note 179534 - Label printing with Zebra printers (SAPscript).
This is an exaple sapscript:
/E PRINT_LABEL
= ^XA
= LH0,0,FS^PRC
= FO53,54A0N,40,59FD5010 Physical Inv./Cycle CountFS
/* BY2,38,78FT78,128^B3N,N,,Y,N
/( BY2,38,78FT78,198^B3N,N,,Y,N
/ FFD&IT_ZINVMSEG-MATNR&^FS
= FO420,159A0N,60,79FD&IT_ZINVMSEG-MATNR&FS
= FT49,284A0N,38,38FD&C_DESCRIPTION&FS
/* IF &IT_ZINVMSEG-TAGNO& NE SPACE
= FT49,340A0N,38,38FDTag Num.: &IT_ZINVMSEG-TAGNO&FS
= FT488,340A0N,38,38FDDate: &IT_ZINVMSEG-IDATU&FS
/* ENDIF
= FT49,401A0N,38,38FDBase Unit: &c_meins&FS
= FT49,474A0N,38,38FDQty: &IT_ZINVMSEG-ERFMG&FS
/ ^PQ1,0,1,Y
/ ^XZ -
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 -
Problem with text printing on ZEBRA printer
Hi all,
I created a label in adobe forms to print output in ZEBRA140xi series printer. In the label I am printing Delivery number,storage bin,material number,delivery date and other details along with barcodes.
I created a header to display company name. In header I kept solid black color as background and company name in white color in foreground with Arial 8 font.
when I print the label all runtime values are printed but the header with black background only printing. The white text on the black background is not printing.
Kindly tell me what I should do to print white color text on black background in ZEBRA printer?
Note: the print is working fine with laser printer problem comes when printed on ZEBRA printer.
regards,
Suresh.Hello,
did you find a solution? I have the same problem: print ADS forms on zebra with black background and withe text.
Regards.
Benjamin -
SAPscript printing (Works Fine in Preview, Disappear in Print Out)
Dear Guru,
i have a problem in SAPscript printing, especially i use ULINE(90) inside forms, it's works fine in Preview, but when i print it out after 89 of ULINE showed, it's show blank area and the 90th uline appear in next line.
any expert in this area can tell me what happen?
thanks.
HowardHi Howard,
this is printer problem.
Appart from regular settings we have left margin and right margin settings for printer.
If you rememmber we can do this setting if we print MS WORD document.
There is no setting available in SAP.
So solution is to increase right margin on your laout and try to fit your contents in same.
The preview is dependening on device type in SAP so u get previeew right.
Hope this will help.
Thanks,
Dhiraj. -
SAPScript - Print Preview 2 Pages - Physical Print overlap as 1 Page
HI Experts,
I have a problem with Invoice SAPScript Printing - where the print preview is good with 2 Pages,
But when it physical prints out - Only 1 page and overlapping the Second page content to the first.
Any idea where did I miss out?
Thank you in Advance.
Regards,
CWLIMHI ,
Sheelesh is right.
I had both SAPScript and Smartform issue with the overlapping printing.
What you need to do is to check your page format to see if it is the correct size for the specific printer.
If it is too big for the printer paper size - it will overlap the printing as 1 page.
For example : A4 Lanscape printing on normal HP Laser Printer - DINA4 Landscape should be used.
Or at least when you define your own page format - refer to the correct size and orientation.
HOpe this helps.
Thank you all -
SAPscript print program for multiple pages
Hello friends,
How to write SAPscript print program for multiple pages? please help me.
Thanks and regards,
Shivanand.I believe you have posted this question in the wrong forum. There is an ABAP Forms Printing Forum.
-
Problem printing in Zebra from hand held device
Hello ,
I have a problem in a label print in Zebra printer . I have uploaded the ZPL commands in the Smartform .
and Iam able to print from my desktop using the SPAD option of ' Front end printing ' . But when I use the option 'L - Local printing using LP/LPR , it is not printing the barcode .
Actually we are trying to print from a handhelp device using SAP console ( Telnet based character screen ) .Hi aravind,
WELCOME TO SDN............
Check this link.It might help you
http://www.redbooks.ibm.com/redbooks/pdfs/sg247166.pdf
Best of luck,
Bhumika -
Migrating SAPscript print program to Smartform
hello everyone,
Requirement is to print transfer orders. Current functionality supports SAPscripts and its print program. Since we are going to be using Smartforms, I need to change the print program so that it calls the custom smartform created by me.
Can anybody help me out by telling me a step-by-step process as to WHERE and WHAT changes I can do in the SAPscript print program so that I can use it for my Smartform?
The SAPscript print program that needs to be changed is: RLVSDR40.
Thanks in advance.
Regards,
Fred.Hi Fred,
The system does not migrate the print program (data retrieval) or the form logic contained in the print program. You must make the required changes to the respective print program yourself. PL take a look at the following
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/9d/9599386185c064e10000009b38f8cf/frameset.htm">SAP help</a>
Regards,
Suresh Datti -
Sapscript printing only the last value
Hello,
Im currently coding subroutine for medruck.. My problem is sapscript is only printing the last value of the item for all items.. For example:
Item # 1 10 pcs 10,000.00
Item # 2 5 pcs 10,000.00
Item # 3 5 Pad 10,000.00
where actually the value of item 1 and item 2 is not 10,000.. sapscript prints only the price of item # 3 for the first two items.. here is my code..
TABLES: konv, ekko, ekpo.
DATA: BEGIN OF tab OCCURS 0,
brtwr LIKE ekpo-brtwr,
ebelp LIKE konv-kposn,
ebeln LIKE ekko-ebeln,
knumv LIKE ekko-knumv,
kbetr LIKE konv-kwert,
END OF tab.
DATA: sum TYPE p DECIMALS 2, gross TYPE p DECIMALS 2, val(16) TYPE c, d_knumv LIKE ekko-knumv, tab1 LIKE tab, val1(20) TYPE c,
ext TYPE p DECIMALS 2, val2(20) TYPE c, extend TYPE p DECIMALS 2.
REFRESH: tab.
READ TABLE in_tab INDEX 1.
CHECK sy-subrc = 0.
SELECT brtwr ebelp ebeln FROM ekpo INTO TABLE tab WHERE ebeln = in_tab-value.
LOOP AT tab.
AT NEW ebelp.
tab-kbetr = 0.
ext = 0.
ENDAT.
SELECT SINGLE knumv FROM ekko INTO tab-knumv WHERE ebeln = tab-ebeln.
SELECT SINGLE kbetr FROM konv INTO tab-kbetr WHERE knumv = tab-knumv AND kposn = tab-ebelp AND kschl = 'ZDEL'.
ext = tab-brtwr + tab-kbetr.
AT END OF ebelp.
READ TABLE out_tab INDEX 1.
WRITE ext TO val.
out_tab-value = val.
MODIFY out_tab INDEX 1.
ENDAT.
CLEAR: tab.
ENDLOOP.
i used this code using abap only and it work. there seems to be a problem in sapscript.. Thank u for the help guys..
Thanks,
JPput ur write_form with in loop...
loop at itab.
write_form..
element = 'ddd'
endloop.
in script check ...
check wheather element is specified there r not
/e ddd.
&itab- & &itab- & -
Hi Gurus,
I am changing one output from normal A4 printer to Zebra printer which is now printed on top of A4 size. This paper is cut and pasted by user. I have set up zebra printer. ABAP guy has made the changes. From his prospective, all changes are done (when he made some changes the label is rotated 180 degree). But, the print is still not coming right. It is still in portriat and only left topmost part in printed on label. The oriantation of label is not changed from portrait to lanscape. Has anyone come accross this issue earlier? How to resolve this issue to change orientation to 90 degree.
Thanks in advance
MHi,
check this article:
Zebra/bar One Label Printing through Scripts and Adjusting the Coordinates VAI a SAP-Script.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0debfc6-138c-2d10-718e-85ddc787c56b
Best regards. -
Hi Sapfans,
We created one form in PDF-based forms for print in Zebra printers. This form has ZPL code.
After we have created in SAP one output device for this printer with all steps of the note 685571, XDC file AZPL203.
Now, when I run this form for one laser printer, we don't have any problem, if I choose the output device for zebra, I have the below error message:
ADS: com.adobe.ProcessingException: XMLFM Exception - P(200101)
Message no. FPRUNX001
I have tested other forms with others printers, run without errors. So my ADS definitions and connections seems to be ok.
Can you help me on zebra output device???
All ideas/comments are welcome.
Ana MoreiraHey
Have you solved the problem by now???
Please post any solution if you have one
Thanks ahead
Eyal -
SAPSCRIPT: Printing international characters on ZEBRA; How to do?
Hi,
I use software NiceLabel software to design barcode forms. I upload the design to so10 Sapscript text and print it on the Zebra ptinter. I used device tape ASCIIPRI. The SAP system is unicode.
Now I need to print chinese pallet labels and I get unexpected problems. I found a lot information but no solution. Is it possible to print international charcters form SAPScript on Zebra?
I got the information from Zebra's White Paper: Solution for Printing International Characters. There it says:
"Unicode UTF-8 is embedded within Zebra printers."
"SAP Forms can be universal. Labels and forms ... do not need to be modified or recreated to print in different languages."
"SAP-developed UTF-8 device type and code page support for SAPscript users"
"Label design software that can generate ZPL with support for Unicode ZPL commands"
Do you now which device type I have to use? I think I need an UTF-8 device type. Do you know how to go on?
Please help. Thanks
FrankHi Frank,
as far as I know, it might be possible when using SMARTFORMS instead of SAPScript!
In that case, it depends of the device type and the printer type, of course.
Have a look on SAP Note 750002 SmartForms: Support für Zebra Etikettendrucker (ZPL2).
Cheers
Klaus
Maybe you are looking for
-
If I buy Lightroom for PC, can I still use it if I switch to a Mac in the future?
If I buy Lightroom for PC, can I still use it if I switch to a Mac in the future? I want to use Lightroom now, but don't want to pay for it again if I start using a Mac.
-
I didn't illegally download the file. I go to the University of Oklahoma and they offered a free download of Windows 8 to students. I downloaded the installation file, but Bootcamp won't let me install Windows 8. What do I do?
-
Synchronous RFC -- SOAP Scenario: problem with SOAP Response/Fault Mapping
Hi, I've a synchronous RFC --> PI --> SOAP Scenario. The problem is that the message structure of the sending RFC doesn't match the Webservice Structure. The (SAP standard) RFC has just a Request / Response message structure. Part of the Response Mes
-
Hi can anyone help me or is there a phone number I can ring regarding I cloud accounts... My fathers I cloud account is now blocked we cant get into it because we have forgotten the password I cant remove it to make a new one n his I phone with out p
-
Is there any solution? Can we make a new apple id and then sign in? Does anyone have any idea how to get around this? INSANE that apple has no further information or communication for it's loyal users.