Zebra label printing with Smartforms
Hi
I am currently using smartforms to print to Zebra printers. the fields are printing on Portrait format, i am not able to get them to print Landscape. I used the documented Command Node in Smartforms -
Attribute Name: S_LZPL_SETUP
Attribute Value: '^FWR'
this is still not working for me...am i doing something wrong in this Command line?
Documentation says i can only use Portrait in smartforms because Zebras doesn't understand Landscape...documentation offers the above workaround, but it doesnt seem to work for me...has it work for any of you?
Hello again,
currently i have some smartforms printing to zebra printers, and i did it, using BARONE for ZPL generation.
it's exactly the same thing, you create a main window, and in the text editor toy click "TxtEditor" just above the "Check" buttonm and you pass to the sapscript tradicional editor. In there copy adn paste the ZPL code.
Define the parameters in the "Form interface" and i'ts done.
this way you will be able to resolve your problem, it's up to you to use (or not) the barone for Smartforms.
Regards,
Similar Messages
-
Issues with Crystal 2008 Printing to a Zebra Label Printer with SP2
Hi there
We are having issues printing to a Zebra Label Printer using Crystal 2008 SP2.
When you attached a .rpt file to the .NET Application which is accessed via RDP/ICA the reports in Crystal XI worked fine.
Steps we have taken are:
Printing direct from Crystal 2008 Designer to the Zebra Printer works using a Generic Text Driver
Printing direct from Crystal 2008 Designer to the Zebra Printer using a Zebra Universal Print Driver DOES NOT work (we were advised the Universal Print Driver may assist with the issue)
The report when accessed via the .NET Application via RDP/ICA using the Universal Print Driver it doesn't work.
The report when accessed via the .NET Application via RDP/ICA using the Generic Print Driver it doesn't work.
The report when accessed via the .NET Application drectly from Server Console prints fine using Generic Print Driver, but not with RDP/ICA.
Can anyone offer any suggestions to a fix?
Many thanks.Hello,
I'll look at this tomorrow when I get into the office. An I am moving this to the developer forum.
Thank you
Don -
Font Problem: Zebra label print
Hi,
I'm designing label print with Zebra Z4MPlus, I can rotate the text in 90 degree, but the problem is the printed font is so ugly and letters are twisted together, I take the font 'HELVE', it should be all right, how can I solve it?!
Any suggestion will be appreicated!I've try to find font HELVE in zebra web site to upload in Z4MPlus printer, but I couldn't find ? how can I?
-
Zebra Label Printing - DPI issue.
Hi Guru's,
I have a script for Zebra label printing. its an old script working fine. Now the issue is:
The above script is printing labels for 200 dpi printers as per the requirement.
Now one of the Markets have purchased 300 dpi printer. When the print the same label using the new printer using the script, they are getting the Label compressed.(i.e.. the Script is now much smaller and aligned to the left top corner, no data is missing but the Lettering is compressed and not occupying the total space alloted on the label).
I have chcked the manual for Zebra label printers, but could not solve my issue. Can any one of u help me. Thank you.
Here is extract of script used for initialisg the label:
/: NEW-PAGE
/ ^XA
/ ^PW1200
/ DFI128FS
/ ^PRC
/ LH0,0FS
/ ^LL1500
/ ^LT12
/ ^MD0
/ ^MNY
/ CW1,B:CGTRI_NCW2,B:CGTRI_ICW3,B:CGTRI_BCW4,B:CGTRI_J^CW5
= ,B:CGTRCO_NCW6,B:CGTRCO_ICW7,B:CGTRCO_J
/ LH0,0FS
Can anyone of you check this code & tell me where exactly the 'DPI' issue is handled in the script. Also any additions to the above script to acheive the solution....
regards,
Chaitanya LHi Balakrishnachaitanya,
i've made just a couple of sapscript whit the ZPL language, and i dont't think that you can set the DPI of print,
maybe you have to set the printer' settings.
Regards,
Davide -
Help with Zebra Label Printer and Multi Order Shipping Tool- Partial Label Printing
I have a zebra gx420d which is compatible the zebra 2844 (its the new model) and I am having a hard time printing labels with the multi order shipping tool. I have the correct driver, the printer test page works fine, and everything is configured for a 4x6 label.
I have set the selling preferences in paypal to match the zebra 2844 printer and within the mult order tool, I have edited the settings to also match zebra 2844.
My problem is that regardless of what or how I do it, my printer will only print a 1/4 of the label. It is not shrinking the label, it is starting to print at the correct size but stops 1/4 of the way through. Almost like it thinks my label size is too small but as i mentioned, I confirmed 4x6 on the label settings at both printer properties and printer preferences. I spent and hour on tech support with zebra and they confirmed the printer is working as it is supposed to. I also know this because my Amazon labels print correctly as well. Its only paypal and ebay labels that are not working. Very frustrating. Can anyone help?Hi,
did you upload the desgin in a standard text with option ITF? This you can copy then to the layoutset. At least this is the way of working with BARONE.
Cheers,
Stefan -
Problem in Chinese Label Printing with the Zebra Printer
Hi Experts,
I have a requiement in which I have to print the Chinese Label with the Zebra Printer. But it's not printing the same.
I have created SAP-Script for it.
It's seems that I am missing some prerequisites.
If anybody have worked on such issue, can u help me in the following scenarios:
1 What are the prerequisite to print Chinese label??
2 What are the SAP server side requirements?
3 What are Client side requirements??
4 What are Printer Side requirements??
5 Which font we need??
6 Can we print with SAP script??
I am using the Zebra 110XiIII Plus (200dpi) printer for this purpose.
Please tell me all the above prerequisite.
Thanks
krishanHi Krishan,
I want to print latin and chinese characters on the Zebra printer. How did you solve? What device type do you use?
I have created a standard text with SO10.
Currently I use ASCIIPRI and all chinese characters are printed as #. The device type is obviosely wrong.
I hope you can help me.
Frank -
BarTender for Zebra Barcode Label printing using Smartform
HI Experts,
Does anyone know how to use BarTender 7.10 software to create barcode labels for Zebra printer?
I have to include a jpg Logo into the Label using BarTender.
But when I test using the Zebra printer - the logo/picture won't print out.
Any idea?
Thank You.
Best Regards,
CWHi There,
I had problems with using Bartender when I tried to print a logo onto my labels, but I contacted a [labelling company |www.iidsolutions.net] who specialise in barcode label printing and the bartender software, they sorted out my problem but then after a chat with them I decided it would be easier to get them to print the labels for me as I had loads of changes and they were quite cheap. See if they can help you. :~)
Good luck.
Dave. -
Hi,
PO printing is done with Standard Tcode at present.
Pls forward me Z_smartforms for PO printing with future modifications or additions to that Zform available.
I would like to print Many PO at one timeCreate Purchase Order Smartform
Create a Smartform, copy the existing SAP provided purchase order Smartform to ZSFM_PURCHASEORDER for
customizing as per business requirement.
1. Form Settings under Global Settings node, set the parameters in Output Option:
Page Format: Letter
Character per Inch: 20
Line per Inch: 6
Style: ZSTM_SMB40_SF
Output Format: Standard Output
2. Form Interface
We can add parameters in the Import Parameters and tables in Tables tab of the form interface for the application
data to be available for the Smartform to print.
3. In Global definition we can define the all the global variables which can be used in Smartforms. Initialization
can be used for initializing the variables and even for retrieving the data.
Creating pages:
Each form consists of one or more pages. The first page in the tree structure is the start page and the
processing of the form starts with this page itself.
1. Open the context menu for existing page node and choose create page
2. Enter a unique name (FIRST) for the node and a description (Page)
3. Determine the format (1, 2, 3...)and the mode of the page counter (Increase counter) on the general
attributes tab
4. Determine the print attributes (Portrait Format) of the page on the output options
5. Determine a background graphic for the entire page on the background tab (Not used in PO).
Creating windows:
The size and position of the window can be graphically set in the form painter. There are main windows and
secondary windows. The difference between these two is that the output in a main window can cover several
pages.
1. Open the context menu for an existing page node and choose window
2. Enter a name for the node (NAMEFORM) and a description (Title Window).
3. On the general attributes indicate type of window. NAMEFORM is secondary window.
In similar fashion all the other windows are created and positioned as per the form design. Only one MAIN
window is created, it is used for line items which can cover several pages.
Positioning texts on the form
The texts are displayed in the form using text nodes. The only exceptions are addresses.
The predecessor node of the text node determines its use:
Predecessor node Used to
Secondary window Position text on one or more pages
Main window Display text in relation to other nodes in the main window, it may cover several pages
Template Displays texts for table cells of a static table
Table Display table contents
There are three text types:
1. Text element : to enter new text in the PC editor
2. Text module : to include a text module
3. Include text : to include an existing SAPscript text
Entering texts in PC editor: (TITLE)·
To create a text node call the context menu for that node in the tree structure that should receive the
text, then choose->text
· Enter a unique name (TITLE) for the node and the node description (TITLE)
· On the general attributes tab choose text element as text type
· In the text node box choose whether the text should be started with a new paragraph or only in a new
line
· Enter the text in the PC editor. Text could be a program element like &Title& or u2018Purchase Orderu2019. &Title&
is a variable for which the value is assigned in Program line before the text.
Including text modules: (TERMSCONDITION)
Text module of the text node is used to refer to an existing text module in the system. The text modules can be
used in two ways:
· To create a text node, call the context menu for that node in the tree structure that shall contain the text
and choose create->text under the window TERMSCONDITION.
· Enter a unique name for the node (TERMSCONDITION) and a description (Terms and Condition)
· On the general attributes tab select the text type text module
· Enter the name of the text module in the text name field (&G_TERMS_TEXT&). &G_TERMS_TEXT& is
used to determine the Text name dynamically in the program lines preceding the text module node.
· Program Lines: GETTERMSCONDITION
Concatenate 'ZTMM_PO_TERMS_' ZXEKKO-BUKRS
INTO G_TERMS_TEXT.
Including SAPscript texts:
(HD_TXT_F01 u2013 Order Header Text)
The text type include text node to refer to a SAPscript text, which already exists in the system. To identify the
text the text name, object, id and the language is needed.
· To create the text node, call the context menu for that node in the tree structure that shall receive the
text and choose create -> text under the main window.
· Enter a unique name (HD_TXT_F01) for the node and the node description (Order Header Text).
· On the general attributes tab choose include text as text type
· Text Name - &ZEKKO-EBELN&, Text Object u2013 EKKO, Text ID u2013 F01, Language - &SY-LANGU&. Also check
mark u2013 No error if no text exists.
Tip: Since the size of text is not known, its better to have the text in MAIN window, so that it can run to more
than one page if required.
Inserting addresses: (SENDER):
Address node is used to insert an address into the form. This guarantees that the address is formatted
according to the postal rules of the sender country.
· To create an address node , call the context menu for that node in the tree structure that one wants to
contain the text and choose create->Address
· Enter a name for the node (COMPANY_CODE_ADDRESS) and a description (Company Code Address)
· Determine the address type (Organization Address) on the general attributes tab
· For organizational addresses - specify the address number, for any other - specify the person number
and the address number. In this case we get the company code address into variable &ADDNR&, so we need
program lines (SENDER) preceding the address text.
· In the box additional addresses, attributes to specify how to display the address are maintained.
Printing graphics: (LOGO):
Tcode SE78 is used to import graphics into the SAP system. The transaction imports the graphics and stores it
in the BDS (business transaction server) and then it can be displayed in the form.
· To create the graphic node , call the context menu for that node in the tree structure and choose create-
>graphic
· Enter a name (LOGO) for the node and the description (Logo Graphic)
· On the general attributes determine whether a colored or a black and white
· On General Attributes use the fields object - GRPAHIC, id u2013 BMAP and name - &G_LOGO& to identify the
graphic. &G_LOGO& is variable and therefore we can print company code specific logo. Program line preceding
the graphic is required.
· Program line COMP_LOGO is used to assign the value to G_LOGO. Concatenate 'ZCOMPANY_LOGO_'
ZXEKKO-BUKRS INTO G_LOGO. So, the name of graphic for example will be ZCOMPANY_LOGO_0202 for
company code 0202.
Displaying a static table (Window u2013 INFO, Template - TEM_INFO)
Use node type template to display a table whose layout and size is determined before the runtime of the print
program.
To create a template, define a table layout to determine the cell structure for each line. The cells are used to
display the cell structure for each line. The cells are used to display the contents of the successor nodes of the
template node.
· Create Template under the INFO window node. Create > Template.
The template layout is used to determine the following,
1. The number of lines and cells
2. The height of each cell
3. The width of each cell
4. The alignment of the table in the window
5. Whether and where to display separator lines or frames
Use the table control on the template tab to define the layout of the lines. Each line of the template must have
a definition.
Use the pattern box to select the desired table pattern.
Displaying contents in cells: (TLE_CONTACT)
The template node defines the table layout. The successor nodes of the template determine the data to be
displayed in the table cells.
In General Attributes choose Text type u2013 Text Element. In editor, type u2018DTE Contactu2019.
In Output Options, define the output structure LINE u2013 5 and Column u2013 1.
Similarly all other information for each cell can be filed using the text module and address module.
Displaying Dynamic Table (ITEM_TABLE)
· Create TABLE under the MAIN window node. In DATA Tab, loop through the data internal table.
L_XEKPO is the item table which has all the line item details.
Define the line types based on the positioning of the text in main window. For example: TABLE_HEADER1
is used for positioning Header texts in the table.
· Table is divided into three parts: Header, Main Area and Footer.
· Header is used for printing the Header Title of the table and it at the start of the table on every page.
· Main Area is used to print the line item details of the PO. Create a line (ITEM_DETAIL) of the line type
TABLE_HEADER1. It will dynamically generate number cells based on the line type defined in the table layout.
Name all the cells as per the usage. For each cell create the text node to display the information. For example:
Cell VAL_MATERIAL, Text node MATNR is created which has text element - -matnr.
· Footer is used for printing the information after Main Area data is printed. This can be used for Total
printing or any other information which needs to be printed after all line items are printed. Create line
TLE_CONTR_STP for Contractual Stipulation of the line type u2013 LINE which has only one column. Create the
text element to print the information.
Special Requirement: Printing the Acknowledgement text if the order value is greater then USD 50,000.00 on
the second copy only.
· This requirement needs the modification in the print program and the Smartform.
· Modification in Print Program to trigger the second copy if the order value is greater then 50K. Its
advisable to copy the standard print program to custom Z program (Z_SMB40_FM06P), and changes should
be made to Z program. Number of copies is passed from NAST to ls_composer_param-tdcopies in Smartforms.
The value ls_composer_param-tdcopies is modified in the print program to 2 if the order value is greater then
50K.
· The printing of Acknowledgement Text only on second copy is achieved using the COPIES WINDOW in
Smartforms. Define Window ACKN_COPY of the type COPIES WINDOW and Output to u2013 Only Copies u2013 Copies
Differ. Also set the condition in the Condition Tab of the window u2013 SFSY-JOBPAGES = 1, so that it only print
on the first page of the copy.
· If user selects to print 2 copies and the order value is more then 50k, program needs to print 2 sets
meaning 4 copies. So number of copies is taken care of in Print program but again the printing of
Acknowledgement Text should be only the Even number copy meaning Copy# 2 and 4. This achieved by using
the program lines to determine the even copy. SFSY-COPYCOUNT will tell us the current copy number being
printed. -
How do we enable cutter option in the SAP Script for Zebra Label Printer
Hi Gurus,
We use Zebra Label(ZM400) printers to print the material documents(SAP Script). Could someone please tell me how do we enable the cutter option in the Zebra printer for the SAP Script?
Your vaulable answers will be highly appreciated.
Thanks in advance.
Regards,
Manoj.Hi Manoj,
In Script you dont want to add any logic for Label Cutter, It should be in the Zebra printer settings if the printing is over it should cut the paper. If the print area is predefined for your material label then you can make use of standard label papers (Like 2"x4", 3"x4"....)
Regards
GK. -
Label Printing with Deskjet D1660
Having problem printing full page Avery L7160 labels. Have Deskjet D1660.
Prints first three labels on top of page then stops printing with page stuck in printer.
Will print full page if load with just paper.
Have tried to contact HP help desk no luck.Hi @cwat51 , and welcome to the HP Forums!
I see you're looking into print cartridge options. I would like to help!
You can utilize whats called Single Cartridge Mode.
I would recommend checking out page 30 of the HP Deskjet 3050A J611 series User Manual.
Please let me know if you have any questions. Thanks for posting on the HP Forums!
Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
Jamieson
I work on behalf of HP
"Remember, I'm pulling for you, we're all in this together!" - Red Green. -
Remote Zebra (label) printer
Once connected to a VPN (manually as you mention), it is essentially "local" (the PC) and therefore the printer should be able to be shared/mapped as such.
Printers don't require IP's to be shared on a network.... but the PC will have to have an IP and remain on.This is a continuation of another unresolved issue that we have in a remote warehouse. I'm not much of a printer guy, and need some advice on this -Backstory-We previously had a vpn tunnel to a remote warehouse, and the label printer connected to the network (network printer // connection). The printer was assigned a static IP on the subnet of our primary domain via the VPN tunnel. We have a PC inside their network with logmein, so I can access it directly to gain access to the router, etc. Note that this is not a company location, but a partner who ships product on our behalf, which is why we generate the labels from our main office- we set up the entire shipment, all they do is pack it and slap the label we print onto the box. We're not looking to add work for them.Due to the other issue with bandwidth issues, the primary router was...
This topic first appeared in the Spiceworks Community -
Hello
I'm trying to print a SmartForm.
I've got a function module from which i want to call the form.
The functions I use are these here:
control_parameters-no_dialog = 'X'.
control_parameters-device = 'PRINTER'.
control_parameters-langu = 'E'.
output_options-tdnoprev = 'X'.
output_options-tddest = p_printer.
output_options-tdprinter = ''.
output_options-TDIMMED = 'X'.
output_options-TDDELETE = 'X'.
output_options-TDLIFETIME = 0.
output_options-TDCOPIES = '001'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZPITU_LABEL'
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION lf_fm_name
EXPORTING
control_parameters = control_parameters
output_options = output_options
p_vbeln = p_vbeln
p_posnr = p_posnr.
but it prints every time on the standard printer.
which option do I have to set that it prints on another printer?
thank you and regards
Dominik ForsterCheck the code.After executing the code it will ask you for the printer enter your printer name.
data : g_dest TYPE rspopname,
g_printer TYPE rspoptype.
*FM to accept the device type and returns the short name of the output device
CALL FUNCTION 'EFG_GET_PRINTER'
EXPORTING
x_no_dialog = ' '
x_obligatory = 'X'
IMPORTING
y_tddest = g_dest
EXCEPTIONS
cancelled = 1
failed = 2
OTHERS = 3.
*device type name for the output device
SELECT SINGLE patype "#EC CI_NOFIELD
FROM tsp03d
INTO g_printer
WHERE padest = g_dest.
output_options-tddest = g_dest.
output_options-tdprinter = g_printer.
Add this FM and this code smartly in your program .If you face any problem revert back -
Select printer in Bartender labels printing with SAP Idocs
Hi Guru's.
I'm using Bartender to print labels with SAP Idocs.
The method is create a trigger with Bartender Commander and write Idoc format files in the path where the
trigger is scanning.
It works fine but the problem is that even prints in the same printer ( selected when I created de label design ).
The question is : How I can to select the printer I want to print the label ?????
Thanks a lot
regards
IsmaelHi Krishan,
I want to print latin and chinese characters on the Zebra printer. How did you solve? What device type do you use?
I have created a standard text with SO10.
Currently I use ASCIIPRI and all chinese characters are printed as #. The device type is obviosely wrong.
I hope you can help me.
Frank -
Hello All,
We are trying to print labels with Zebra printers using ZPL II programming.
The prints are ok for english characters but it does not print the characters belonging to European characters.
We changed the device type to support special characters. But we are not sure if the new device type will support that.
Please suggest your thoughts on this.
thanks
SeemaHi Seema,
if you use sapscript, I guess you use the method described in SAP Note 179534 where you create the label in the third party BAR-ONE program and upload it to the sapscript form in the SAP system. In this case, device type like LB_ZEB is used which just passes the print data with the embedded ZPL-II commands to the printer without changing anything.
I'm not sure which languaegs you are trying to print. Usually, it is necessary to copy the device type e.g. ZLB_ZEB and change the character set of the device type to a character set, which supports the required language. The current character se for device type LB_ZEB is 1162.
Regards,
Aidan -
Crm_ml_preview - Unable to print with smartforms with bitmap images.
I'm using CRM 4.0 and I've an issue on Enterprise Portal when I try to print an Activity.
In fact, If I press the botton "PRINT" a new window opens with following URL:
http://myhost:8080/sap/bc/bsp/sa/crm_ml_preview/ml_preview.do? ...
If the smartform linked, has a bitmap inside (for example the company logo) I receive from this linhk a blank page. If the smartform contain only text, everithing is printed correctly.
With SAP gui, inside CRM system both smartfoms (with or without bitmaps) are printed correctly. This problems arise only when I try to print the activity from Enterprise Portal.
Any suggestion to solve the problem?
Regards
Luca Sozio.It's an HP P3005dn (duplex+network) printer. OS X simply recognized the printer on the network and set itself up accordingly (without the option of selecting PCL or Postscript). The Windows computers in the office, though, - ugh - it was ugly getting them set up. None of them would recognize the printer on the network, and couldn't even browse for it and find it. I wound up having to download Bonjour for windows, and set it up that way. I downloaded the drivers from HP.com, and believe I set them all up to print using PCL.
It sounds like PCL v. PostScript may be the issue; is it possible to print using PCL on Macs?
Maybe you are looking for
-
Intermittently using Time Machine with an External Hard Drive
Ok, Kappy answered some questions I had about how Time Machine works with an external hard drive. After doing more reading about Time Machine, I found out that a person can, for example, leave the drive powered-off for a couple of weeks and only peri
-
Pc Suite: File Manager not working
I can't access file systems on my E50 using PC Suite's file manager, neither via Bluetooth nor via cable. The message is something like "Can not connect to mobile phone" (Original German message: 'Verbinden zum Telefon nicht möglich'). When I tried
-
I am trying to buy panadora and it is saying my apple id has been disabled
I am trying to buy pandora and it is saying my apple id has been disabled. What does that mean?
-
To display the actual revenue on ERP Service order
Hi , I am working on below scenario 1) i am using a service order type for which the revenue posting is active.I am creating a service order for a customer 2) Booking Planned resources , adding DIP profile to create the resource related billing 3
-
Hello All, I'd set the dubug mode on and did the following :- 1. Choose Run --> Debug... in the main menu. 2. In the list of possible configurations, select Web Dynpro Application and then choose New. 3. Under