‎2007 May 14 5:15 AM
Hi experts,
where we setup the printer for an output type in smartforms, can you please help me in this.
Thanks & Regards
Ahammad.shaik
‎2007 May 14 5:17 AM
Hi,
After creating the smartform, whenver ur will execute it, a popup will automatically come asking for printer.
If u want the printer to be always same then u can use Function GET_PRINT_PARAMETRS to define the print parameters in ur code.
Regards,
Himanshu
‎2007 May 14 5:17 AM
Hi,
After creating the smartform, whenver ur will execute it, a popup will automatically come asking for printer.
If u want the printer to be always same then u can use Function GET_PRINT_PARAMETRS to define the print parameters in ur code.
Regards,
Himanshu
‎2007 May 14 5:24 AM
Hi,
I got requirement like this for this can you give me clarification.
For print,
The invoice ouput batch job (see below) points to output type Z120,
which seems to be setup to print on the Tustin printer. Do we need to
setup another output type for Mexico or can we setup a condition based
on the plant?
Thanks & Regards
Ahammad.shaik
‎2007 May 14 5:28 AM
Hi Ahmmad,
I think there is no need to setup a new output type. U can place conditions based on the plant.
Regards,
Himanshu
‎2007 May 14 5:29 AM
Hi,
When you execute teh smart form, it will give a popup and there you can enter your printer (say "LOCL or any printer where you want the printout)
Regarding output, you may not require 2 output types.
You canuse the same output type Z120 for printing on any printer in the network.
based on the plant, you can pas the printer name to the GET_PRINT_PARAMTER FM.
sachin
‎2007 May 14 5:35 AM
Hi,
You gave me answer for one printer we call that funciton .
If the printer is different which funcion we have to call which parameters we have to give.Help me.
Thanks
‎2007 May 14 5:38 AM
Hi,
What u can do is that if plant is say X then Use function GET_PRINT_PARAMETERS to set up the print parameters for Printer X1
elseif pant is Y the use the same function but set the parameters for Printer Y1.
What this will do is that when u enter the plant X, then the output will be shown on the printer X1 else if plant is Y then on Y1.
Hope this helps u.
Regards,
Himanshu
‎2007 May 14 6:32 AM
Hi,
Please clarify me that , where we setup the printer for an output type.
Thanks
Ahammad
‎2007 May 14 6:38 AM
Hi,
U can do this using SPRO.
e.g. if for a Sales Order and Output Type BA00 u need to setup a printer them u goto SPRO --> SAP Reference IMG --> Sales and Distribution --> Basic Functions --> Output Control --> Define Print Parameters .
Similarly for ur requirement u need to define the print parameters in SPRO in the appropriate scenario.
Regards,
Himanshu
‎2007 May 14 5:29 AM
Hi Ahammad,
When u execute ur driver program.A pop up comes ,where u can set the printer settings.
or use can while calling smartform function module
data: output_options TYPE ssfcompop.
output_options-TDDEST = 'CTR7'.
CALL FUNCTION '/1BCDWB/SF00000001'
EXPORTING
OUTPUT_OPTIONS = output_options
TABLES
IT_PALLET_LABELS = ct_label4.
IF SY-SUBRC <> 0.
To set the printer by default :
Go to the menu bar -> System -> User Profile -> Own Data.
Then click on the Defaults tab and give the default name there.
However, when the funcition is called, the print that appears by default is the predefined user printer.
Reward points if helpful.
Regards,
Hemant
‎2007 May 14 6:06 AM
Hi,
For setting defalut printer you gave me answer. I have to set one more printer.
Can you please help me in this to set some other printer connectivity.
Thanks