Passing printer name to smart form
Hi,
How to pass more than four characters printer name to smart form function module name. Please help me. I will give points.
Thanks.
Hi,
Thanks for your reply but there I can pass maximum four character printer name but my case printer name contains 12 characters. If I pass 12 characters printer name it is considering first four characters and it is displaying printer name is not found. So please tell me how to pass more than four characters printer name.
Thanks.
Similar Messages
-
How to Printe Graphics in Smart-Forms
Guys,
Need your help
Is it possible to print graph in smart form???
If yes, if you have any document, please pass it to me
DhirajHi Ram,
Go through this hope u can understand.
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
Pattan Naveen -
Use of NACE after creating print program n smart form
Wat's d purpose of NACE?I hav created my own print program n smart form according to my own requirement.If NACE is necessary 4 my smart from.How can i use NACE i mean navigation steps.
Please help me out.Its urgent.
Thanks & Regards,
Santhosh.Hi Santhosh,
Nace is for message control settings. Say if u want to trigger a Smartform or an Idoc or any other customized program u can do the message control settings.
Say at the time of Sales Order creation or updation u want to trigger a Smartform, then u have to follow the following steps:
Goto NACE
Select application V1 and then click Output Type.
create a new Output type or copy the existing one abd save it with new name
then in Processing Routine Mention the driver program name and in Form routine mention the main subroutine name.
In Smartform mention your SMartform name and also the layout if u have ceated.
Again go to NACE and Select application V1 and press Procedures.
here out of the many procedures u have to select the right one and attach your Output Type to it.
You can also create a condition record..Say if u want to trigger this Smartforms for Sales Order of particular type.
Hope this helps.
Reward Points if useful.
Thanks. -
How to print bullet in smart form
Hi Experts,
I have a requirement in smart form where different points of texts should come under a bullet.
Can you please tell me how to print bullet in smart form.
Note : I have to use Standard text
Thanks in advance
Bikashi
good
We can create bullets in smartforms.
For this change the editor to text editor and then
goto insert->characters->SAP Symbols and select the
symbol you want.
This may help your requirement.
You cannot see the bullets in print preview, it'll
appear only on a hard copy.
reward point if helpful.
thanks
mrutyun^ -
Hi all,
how to view the print preview of a smart form and how to debug the smart form
Thank YouSMARTFORM-> execute->execute->pass values if require to import & table parameters ->execute-> on the pop up window give Printer name as LP01 and press print preview.
For debussing -
1. write BREAK POINT in the code window.
2. Put a break point on the call function in the driver program
3. put a brak point in the generated Function module.
Refer this link too -
Re: smartforms
Regards,
Amit -
Problem in multiple printing in the Smart Forms
Hi Experts,
From the driver program I am passing Internal table with multiple records for employee,
But the smart forms is printing only single form for the employee.
Could you please suggest what need to be done in order to print multiple forms for employee.
Regards,
IFFIF sy-tabix EQ 1 .------>only for first loop it will give dialog box
CALL FUNCTION fm_name
EXPORTING
user_settings = 'X'
vbeln = it_vbeln-vbeln
pdf = r2
rbiclear = c3
IMPORTING
job_output_options = job_out
einv = einv.
ELSE.
c_par-no_dialog = 'X'.----
> if u set this then u will not get dialog box again and again
out_opt-tdnoprev = 'X'.
out_opt-tddest = job_out-tddest.
out_opt-tdprinter = job_out-tdprinter.
CALL FUNCTION fm_name
EXPORTING
control_parameters = c_par
output_options = out_opt
user_settings = space
vbeln = it_vbeln-vbeln
pdf = r2
rbiclear = c3
IMPORTING
job_output_options = job_out
einv = einv.
ENDIF. -
Passing printer name to reports
Greetings:
I have a report in 6i that will print to any of my printers fine if I run it in preview and then select File/Print/<Printer_Name>. The problem is that I want to pass the printer name in code rather than the user manually selecting. I've tried passing a parameter list in run_product (being called from Forms) but all I get in a blank page for output. Any ideas? Thanks!Hey,
I was having the same problem with Report
Background Engine, it was giving me Dr.Watson
I did set orientation to portrait, as you
suggested and it worked?! Wierd is wright.
Just wanted to say thanks!
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by cscopp ():
Thanks everyone,
Yes, I did try that Haritha but it didn't work. I've gotten it to work now, all I did believe it or not was set the "Orientation" in the property pallete to either portrait or landscape before compiling the report and it works now. Seems weird but it worked! On another note, please see my post about the report background engine.
Thanks!<HR></BLOCKQUOTE>
null -
How to Print Vertically in Smart Forms
I need to print data in vertical format into columns in smart forms. Can any one give me the solution.
Hi Sreedhar,
In Smartforms, if you need to print vertical text, only possible way (That i know) is, Create a Bitmap image of the text and rotate the same to 90 deg and then use that image in your smartform....
If you can use adobe forms, you can rotate the text to any angle that you want....this is one of the main advantage of adobe forms.
Best Regards,
Ram. -
Slow down printing speed for Smart Forms
Hi,
Is there any command (etc.) to slow down the printing speed of an Hp laserjet when printing a smart forms?
I need that because when I print that smart form to fast I run into print out quality problems.
Many Thankshi,
take print out in a dot matrix printer instead of your laser printer without changing any settings.
Coz i tried this once, i was successfull. But, the printout will be very slow.
regards,
kool. -
Hi,
There is a Strange issue I am facing now that is print output is getting changed according to the printer settings.
Even though I specified the output_options-tdprinter = 'ZPDFUC',and output_options-tddest = 'LP01' while calling smart form FM the printer option always takes the printer setting present in user profile.
Is there a solution where the smart form by default picks one printer but not in the User profile settings.
Regards,
DeepaHi,
There is a field check it and set the value X to overwrite the system details with manual settings. when calling the smartforms.
Thanks,
Vinayaka -
How to pass printer name as a parameter to Bursting control file
We are on 11.5.10.2 using XML Publisher 5.6.3. We ahve a requirement, where we need to print our invoices to different printers.
How do we pass the printer name as a parameter to Bursting control file. Can the bursting control file be created to use the printer parameter.
If it can, can you please provide some examples.
- Vasu -Hi.
I have created Formula column and it is coming in xml data.
Like this way
<CP_TAX_NO>CZ27813941</CP_TAX_NO>
<CP_CUST_TAX_REG>CZ680527617</CP_CUST_TAX_REG>
<CF_PRINTER_NAME>ABC_hp4250</CF_PRINTER_NAME>
<C_REQ_ID>12310217</C_REQ_ID>
</ISOPTWSHRDPAK>
But while i passed it bursting directory, it is not printing, if i hardcode over there then it is printing.
Bursting file code
<xapi:delivery>
<xapi:print id="printer1" printer="ipp://localhost:631/printers/${CF_PRINTER_NAME}" copies="1" />
</xapi:delivery>
In bursting program file It is display like :
[1]printer-uri:ipp://localhost:631/printers/null
If i pass hardcode value instead of cf_printer_name then it is working fine
[1]printer-uri:ipp://localhost:631/printers/ABC_hp4250
Pls suggest what to do? -
Using Continuos Printing stationary with smart forms is that possible ?
Hi All,
there is an instance where we have to use continuo's stationary for printing Payment Advices for the vendors with bankers cheque attached to the payment advise is that possible in smartforms also i have know that is possible in scripts but the requirement is in smartforms and can we do that in Smartforms.
If any one have seen the same instance earlier, take your time to guide me the process.
Thanx all in advance..
RajWith smart forms i have dropped the idea as it is not that flexible as script..
if am not wrong~
I have resolved it and have done the needful for printing the cheques and Payment Advices... in scripts with any kind of printer.. using Scripts.
Any one dealing with FI ABAP having any kind of issues with the Payments advices and cheques can always ping me for any doubts...
payment advices ,
cheque printing,
vendor aging,
customer aging,
brs upload program,
Service tax reports,
TDS reports,
vendor master upload,
customer master upload,
gl balance upload,
NCR Report,
and some co Reports..
these are some of the things where i have masterd for now..
any one i need of these can always get in touch...
cheers and all the best.. to be a brilliant ABAPER...
Raj ([email protected]) -
Passing SELECT-OPTIONS to smart forms
hi ,
how can we pass select options from a program to a smart form.
Regards
ArunHi,
Just try to append the valid values in select options to internal table from report.
Then pass that internal table(ofcourse, you need to create user-defined struture if needed in SE11) from report to smart forms.
Rgds,
J.Jayanthi -
Print portrait orientation smart forms zebra printer
Hello,
I have designed a label with smart forms. The dimensions are the following: width = 11 cm. Height: 15 cm. The label has been designed in portrait form but the zebra 105 SL printer print it in landscape format. Does Anybody knows how to fix this problem ?
Thank you.Hi,
You didn't check your printer settings in Printers and Faxes in control panel. It cannot happen the way you say.
Feel free to revert back.
--Ragu -
Names of Smart Forms Layouts used in various Modules
Hello Friends,
I am learning SAP ABAP, i want to know the smart form layout names.
As in scripts we have MEDRUCK, RVORDER01, RVDELNOTE.
Please any one can provide with the above information for smart forms.
i will be very obliged if any one can provide me with some layouts.
Best Regards,
Hasanhi Farook_swiss,
I like to know which smart form layout is used for which purpose.
Script use for Layout
purchase order MEDRUCK
Order confirmation RVORDER01
Delivery RVDELNOTE.
Like this i need names of the Layout, hope u understand my view.
if you provide any sample layout with examples that will be great.
Maybe you are looking for
-
When attempting a reinstall of iTunes, I cant delete the file C\Program Files\Common Files\Apple\Internet Services\Shellstream.resources due to same error message as described above for iPod file; however i can't find it anywhere in the Task Manager
-
Problems restoring files with Time Machine after hard drive failure
Hello everyone, I had a Mavericks (10.9.5) installation on my Mac Mini when my hard drive suddenly "died". I therefore replaced the hard drive with a new one and started the recovery mode using the cmd + R keyboard shortcut during booting. I then par
-
Hi, I know this sounds utterly idiotic, but is there a way to rename a photo other than in List View in the Browser View? All I want to do is change the name of a single photo that I imported awhile ago. Thanks. Edit: Especially in full screen. Is it
-
Apple TV cannot connect to iMovie Theater Channel
My Apple TV (3rd generation) CAN connect to My Music, My Films etc... but CANNOT connect anymore to the iMovie Theater Channel. The Apple TV is up to date and its "region" is correct. It happened when I updated my iMac to Yosemite and to the new iMov
-
I use to be able to get the direct link like for the previous version 11.1 But when I look I do not see that anymore for the newest version (11.2.202.228)