Printing trhough SAPWIN with ZEBRA printer
Hi Gurus
I need your help please since I already spent a lot of time to find a solution and not found any.
I use Smartform to produce labels on ZEBRA printer (output Device Z201, Device Type ZLZEB2:Zebra label printer 203dpi). All fields on my form use HELVE as font. I print my form through Z201 and it works fine.
My requirement now is to print the form to ZEBRA printer locally using SAPWIN (Rel 4.x/SAPlpd 4.09 + ONL:Y) as device type. To do this I created a new output device LCLB, copied the device type SAPWIN into ZWIN and attached to output device LCLB
The problem is when I print the form using LCLB, all my fields with HELV font are printed with COURRIER font.
I went in transaction SE73 and display printer fonts associated with ZWIN and it seems that all fonts (COURCYR, COURIER, OUR_I7, HELVCYR, HELVE, HELV_I7, OCRA, OCRB, TIMECYR, TIMES, TIME_I7) are defined there. Do I miss something? Do I have to redefine the print control in ZWIN with control characters corresponding with ZEBRA printer?
Any feedback would be appreciated
Thank you
Hi Valter,
did you figured it out why do you had a problem with that printer?
tks
best regards,
Pedro
Similar Messages
-
Communication problem with Zebra printer
Post Author: rafu
CA Forum: .NET
Hi,I'm trying to write bidirectional communication with Zebra printer - e.g. send data to print and receive data read from tags. To send data it's possible to use WritePrinter methods described in internet, however I don't know how to get it?? In producer's manuals there is only example to printer connected by LPT1, my uses usb.Does anyone have any ideas??? Help please!rafuI would look at XP's port configuration for the printer and then try and use the same protocol on the Mac. If XP is showing it as RAW Port 9100, then that is shown as HP jet Direct - Socket on the Mac. The only issue then is whether the OS X driver is available in the Lexmark list. Sometimes the provided OS X driver is only for direct USB connections, so you have to look at using an alternate driver, such as those offered by Gutenprint.
-
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. -
Epson RX 700 DVD label printing - "driver dealing with CD printing is not..
Thank goodness I still have my PowerBook with Tiger 10.4.11 on it so I can print DVD labels. But I would like to be able to do this with my intel iMac with Leopard on it.
When I try to print DVD labels on my iMac with Leopard 10.5.3 using the horrible Epson Print CD software I am getting, "EPSON printer driver dealing with CD printing is not installed."
I searched on this message board and others have gone to the Russian website and downloaded the newer print driver which isn't available on the American website. I found driver 3.09, download it, and installed it. It shows up in English and everything LOOKs good.
Then I try to print from the EPSON CD Print software and it gives me this error.
Note that I also bought Roxio's Toast 9 Titanium with Disc Cover RE and try to print from that it and the print job gets all the way to the printer queue which tells me, "CD/DVD guide open". Well DUH, I'm trying to print the CD/DVD so I want it open, stupid printer.
Or I'm just being stupid. Help. Did I forgot to stand on my head, rub my stomach, pat my feet, and chant something before/after installing the new printer driver which is supposed to work?I've done all that (exactly as it is suggested from the Epson support site) and I still get the same error. I called their tech support and they admitted that there is no real fix... only a workaround by doing a manual print. I had already figured that out, but all the instruction on their support site is useless.
My older machines work fine, but our new iMacs running Leopard will not print with Print CD. -
What is the best 3rd party print API available with rich print capabilities
Hi
Our SWING based application is 6 years old and we have been using a third party print API that was available at that time.
As it is a very old API, all the print features are not available and it provides just a minimal print features. Now we are thinking of migrating to a best available print API.
What is the best third party print API available with robust print capabilities? OUR COMPANY IS READY TO SPEND SOME BUCKS TO BUY ANY ROBUST THIRD PARTY PRINT API.
Thanks
ReddyI just put this into my client class (removed the stuff i had that weren't needed):
import java.io.*;
import java.util.Scanner;
public class ListClient
public static void main (String [] args) throws IOException
Friend[] friend = new Friend [20];
List myPals = new List();
Scanner s = null;
try {
s = new Scanner(new BufferedReader(new FileReader("myFriends.dat")));
while (s.hasNext()) {
System.out.println(s.next());
} finally {
if (s != null) {
s.close();
}my file (called myFriends.dat, in the same file this program is in) has 3 names listed in a column with their birthdays right next to each and phone numbers right next to the bdays.
when i right click on the listClient class and "tell it to work", it does nothing... did i do it completely wrong? lol -
Problem with printing barcodes to a Zebra printer via Smartform
Hi
I am trying to create a printed label from smartforms, being directed to a zebra printer. The label must include a barcode.
Via oss notes 750002 and 750772 I have imported the LZEB2 device type.
In SE73 I have created a system bar code on the new technology.
In the smart form style, I create a character type with this barcode font.
The barcode prints okay and can be read when it has up to 10 characters.
However we need a long bar code of appoximately 22 characters.
I can find no supported barcode type which will let me write a barcode of this length
The max length in the smartform style for the barcode format is always coming up as 50mm which is too short.
I have tried with using a printer bar code prefix and suffix with the native zebra ZPI-II commands, attaching to command nodes on either side of the text node in the smart form, But this does not seem to work.
Any advice ?
Thankssounds like the variable containing the barcode data is too short...is it at least 22 characters long?
-
Crystal Reports 2008 and printing with Zebra printer issue
Hello,
Since we have upgraded the reports from XI to 2008, the reports are not printing well in the Zebra printers.
The report gets shrunk to half the size.
Is there something that needs to be done after the upgrade?
Thanks in advanceBoth, install it on your PC first and test. If all is well then build or use the various deployment packages available from our download site.
You may want to test this with a few reports also. Open the report and check off use Default printer and test other printer options. I don't know what options the QA team were using so it's best for you to test. If you don't have a Zebra printer ask one of your customers to do some testing for you.
According to Zebra Developers all their drivers are based on the same code so they should all work the same. Once you have one working they all should work using the same options.
Thank you
Don -
Smart form rotate 90 degrees with Zebra printer
Hi Experts,
We are using smart form to design label which need be printed by Zebra printer, and the label need be printed in landscape. Currently we are using the Zebra command '^FWR' in smartform to rotate the field in each window, but the rotated format is very strange. Can anyone let me know how the rotate command work?
It would be highly appreicated if an rotate example can be provided.
Many thanks.
Benny.The Zebra command ^FWR rotates each individual field by 90 degrees (clockwise). But then you'll have to adjust position of each field again for landscape output.
In ZPL II printer language is no command for rotating label by 90 degrees. The printer driver doesn't understand "orientation=LANDSCAPE".
A slightly better solution could be to define a smartform with portrait orientation. Add a "command node" in first window and enter attribute name "S_LZPL_SETUP" with value '^FWR'.
Please note that this command doesn't has an effect on barcodes. They have their own parameters for rotation. Please define these parameters in SE73 for each barcode type your're using.
Steffen -
Smartforms printing issue with ZEBRA Printer
Hi All,
I am facing a issue where we are printing a 5*4 inch label on a Zebra printer out of SAP,when i Print the same on a Zebra printer the text is Blown up and the entire contents doesn't fit,but when see the spool and when I convert that spool in Pdf using the program RSTXPDFT4 and see the properties it looks perfect with properties as 5*4 Inch.
Can someone give me there inputs of a similar issue they faced.
Regards,
AJHi,
could you take a picture of the label printed by your Zebra ?
Did you use the ZPLII printer driver ?
regards
Fred -
SAP Script : Control Commands for printing Label (barcode) by Zebra Printer
Hello,
I would like to know the control commands in sap script for Zebra Printer. The purpose of task is to print a field in barcode format in Right Bottom of the label.
The sample code is placed below. Kindly have a look at it. The problem now i am facing is, the barcode for Customer PO is printing on the wrong place (Left Bottom, the text & barcode are overwriting). Can anyone suggest a possible way or can any one send the document for Barcode commands in SAP Script for Zebra Printer.
Sample script code:
Initialization and reset Barcode
XAMCY^XZ
Start
^XA
Barcode setup
^BY3,2.7,2.2
Set label home position
^LH
^FWN
FO385,025A0R,40,50FDPN: &VBAP-MATNR&FS
FO385,725A0R,40,50FD&VBAP-ARKTX&FS
FO385,1710A0R,40,50FDRtns: &zsntsc-contr&FS
FO345,025A0R,40,50FDService Order# &AUFK-AUFNR&FS
FO345,725A0R,40,50FDSerial# &EQUI-SERNR&FS
FO345,1710A0R,40,50FDRepair Order# &VBAP-VBELN&FS
FO245,025B3R,N,90,N,NFD&AUFK-AUFNR&FS
FO245,725B3R,N,90,N,NFD&EQUI-SERNR&FS
FO245,1710B3R,N,90,N,NFD&VBAP-VBELN&FS
FO138,1710A0R,40,35FDCustomer PO# &VBKD-BSTKD&FS
FO98,025A0R,40,50FDWrnty: &W_WARRANTY&FS
FO98,605A0R,40,50FDRoute: &W_ROUTE&FS
FO58,025A0R,40,35FDShip-to-name: &W_NAME1&FS
FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS
FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS
FO18,885A0R,40,35FDReported By: &QMEL-QMNAM&FS
FO18,1710B3R,N,90,N,NFD&VBKD-BSTKD&FS
^XZ
Thanks in Advance,
RamasamyHI
GOOD
GO THROUGH THIS
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
Not to fear though, there are two ways to get around this:
- You can have your IT department do some research -
most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
- Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
- Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
Now you have a barcode printed - what next?
Well there are two options, depending on your business requirements:
- You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
- Another solution is to use SAPConsole transactions
or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
GO THROUGH THESE LINKS
http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
THANKS
MRUTYUN -
Greetings,
I have a specific application for Windows I'm developing where I need to silently print a PDF to a real printer. The trick is I need to set specific printing preferences ... such as color/monochrome, # of copies, page size / source tray, etc. The printer is always set to spool documents, and it is key that I know the job id (even if its already done printing) of the resulting print job.
With windows APIs mixed in, I would imagine something like ...
OpenPrinter(printername)
StartDocPrinter(...)
-----> some SDK call to print the document based on the handles I pass it...or perhaps one page at a time after I call StartPagePrinter()
EndDocPrinter(...)
ClosePrinter()
I've been searching for something for days that would give me this sort of control, but I've been finding the documentation very difficult to find on silently printing a PDF through any means other than a command line which doesn't appear to give me the information or control I need.
Is this possible with the Adobe SDK?
I've seen other posts accomplish this by changing the printing defaults for the printer, and then sending the job silently with a commandline. This has two problems for me: 1) I still don't know the Job ID of the print job, and 2) I can't rely on the idea that other unrelated print jobs will not be sent while I'm processing the PDF ... making it difficult to use defaults as a means of controlling the settings without causing a lot of side effects.
Even just a point in the right direction would be a huge help for how I could accomplish this.
Thanks a lot,
WayneYou cannot uninstall Kit Kat from your phone. BTW what kind of phone do you have??
-
.pdf's won't print to hp with ps printer driver
I'm on win7 64 using acrobat pro 11, trying to print to a networked hp laserjet 3015 with hp's universal postscript printer driver.
I didn't have this issue with the pcl5 driver, but it wouldn't allow me to print more that one copy at a time, so I switched to the ps driver.
No other programs are having trouble with the ps driver, and acrobat prints fine to my other networked printer, a canon mx882.
I've found two workarounds and discovered that acrobat XI is very buggy.
I can get it to print the .pdf by selecting print as image, but that takes forever
it appears that .pdfs with only text print fine--it's just an issue if they have some graphic content.
If I go to print, click advanced, and under postscript options select print method "language level 2", and immediately click okay and click print. It will print fine, but the setting does not stay, the next time I open the Advanced dialogue, it's back on language level 3.
1. This makes no sense.
2. a setting ought to stay when you set it.
3. This took hours of trial and error to find--how would anyone know to do this?
Therefore I say this is a serious flaw/bug problem. Where do I report it. You can't reach a human at adobe unless you're a paying subscriber. I just happen to prefer purchasing software outright, so I'm out of luck.
Why can't acrobat just work the way it should?Hi Bruce ,
Please help us with the information below for further assistance on this.
1) Exact version of Acrobat (Help>About Acrobat)
2) How was the PDF created, (PDF Producer) File Properties
3) Size of the PDF not being printed
4) Try printing directly to the printer, rather than spooling the document first
go to device and Printers
Right click on the printer and go to the printer properties.
Advanced>Print directly to the printer.
Also, try printing the documents first to the Adobe PDF Printer and then try printing them to the physical printer.
Thanks,
Vikrantt Singh -
Cannot print or scan with USB printer over wifi from airport express / time capsule wifi
Hi everybody,
I have recently set up time capsule connected to the router from the telephone company but created a new wifi network for the time machine to better work. Now I have bought an airport express to be able to use my USB printer over the WIFI network. I have to laptops, the printing works fine over the mac book air but not over the macbook pro. On top of that I cannot scan with either of the devices.
I have scanned most of the information out there but this issue seems not to be addressed properly anywhere. Advices given do always repeat itself but no solution worked for me.
Now I have plugged the usb from the printer directly back into mac book pro and the problem seems to persist here too. The message I receive everywhere is this one:
The software for the printer was installed incorrectly.
Would you like it to be repaired?
When I hit the Repair button a notice says 'repairing permissions' but nothing really happens. In the end nothing has been printed.
Resetting the printing systems has not really changed anything either. The problems persist.
This is the screen I get when the printer is directly plugged in through USB:
Result: printer recognised and installed, I cannot print (The software for the printer was installed incorrectly), but I can scan (probably because of the hint ('multifunction')
When I try to install the printer through the network connection (wifi network over time capsule and airport express) I get this image:
Result: printer recognised over bonjour but without multifunction (in other words without scanning), I cannot scan nor print (The software for the printer was installed incorrectly)
As I already mentioned any solution I found online would not work. Now the qustions are:
1) why can't I print? The drivers seem to be there but somehow broken, and I don't know how to repair it
2) why can't I scan over wifi? It sould possible that any function that can be performed over cable should also be able to performable over air, right?
I would very much appreciate any kind of help.
Thank you in advance,
CrisWhat's up doc?
HP has not provided "network" drivers to allow advanced features when the the All-in-One is connected to the USB port on the Time Capsule.
Therefore, only the printing function is supported when the All-in-One is connected to the Time Capsule's USB port.
If you need advanced features like fax, copy, scan, maintenance etc., you will need to connect over the WiFI network, or connect the All-in-One directly to your computer. -
How to print Chinese character in Zebra printer?
Hi,
Could you please advise how to print Chinese in Zebra printer, I have added below ZPL command line in SAPSCRIPT, but it did not work.
^CW1,B:MSUNG.FNT
FO711,60A1N,47,79CI17F8FB1561,3,0,LFN998^FSHi,
go through the following links.
[Printing Chinese Characters on Labels using ZEBRA;
I hope it helps.
Regards,
Rohit -
Color control in printing: Aperture mayhem with Epson printer
With monitors calibrated and colorsync profiles loaded for my Epson 1280 printer, Photoshop prints are as close to screen as possible.
Aperture starts off with something strange: each profile for my Epson appears 3X in the menu. When selecting the profile that matches my printer and paper, the result is more than a color cast. It's more like a colorized image. I can get closer by selecting profiles that don't match my paper type, but always with a cast.
Is there a trick to getting Aperture to be reliable and as good as Photoshop?(These aren't Epson's instructions, but might be helpful regardless)
For some Epson printers, the drivers shipped with Tiger are more current that the ones on the Epson web site. You wouldn't want to delete the drivers, but - for example - if you move from Firewire to USB, or Airport, the system can get confused.
I've found that deleting the Epson printers in Print Center (and resetting the printing subsystem if necessary or deleting and installing drivers) isn't enough, but that you also have to eradicate everything inside
/Library/Printers/EPSON/Preferences/
where it remembers printer models, ports and settings.
In addition, ColorSync remembers your profiles for deleted printers in the (hidden) file
/Library/Preferences/.Globalpreferences.plist
DON'T delete this file, just edit it and get rid of the deleted devices (ColorSyncDevices/Device-prtrxxxx)
Maybe you are looking for
-
I am sharing my macbook pro over a network with windows 7, however through windows 7 I can access my whole computer instead of just the shared files!
-
How can I check for corrupt files/ programs?
I have just received a call from a scammer, but before I realised it wasn't real, they logged on to my Mac (using TeamViewer) and had control for about five minutes. At best, they were just trying to hard-sell me some anti-virus protection, but I'm
-
Personal File Sharing on my eMac turns off by itself
I have three computers in my home office environment-- a eMac using Tiger fully updated--in fact it just came back from Apple Care doctors due to hard drive and memory issues-- (we think a power surge into my house caused it)--I also have a iBook-- f
-
"You've been signed out" CC Message
My CC Desktop Application manager became signed out last night, and responded with the 'You've been signed out' message every time I tried to log back on. So I had a Google and found the 'Delete opm.db' tip. I tried to be caucious and just add a .b
-
Mailing summary of successfully executed process flow
i have process flow that includes multiple number of mappings, each one has function that emails the errors if the mapping is not successful. now at the end of the process flow i want to send out summary email with info about all mappings in the proc