How to Print two pages in smartforms
Hi All,
How to create two different pages in smartforms.In my requirement the first page contains Table data in main window and in second page only the hard coded desription should be printed containg instructions,but the second page is mandatory after first
page is completed,the first page may have n number of pages after printing those pages my second page should trigger.Help me if any one knows.
Thanks in advance............
Regards,
Satya.
hi ,
once a main window size is declared , then that space will be placed in each page created.
eg. if a table with header and footer is created, first of all the space for header and footer are allocated and body page is allocated.
so we cannot dynamically change the size of the main window , even it is a copied main window.
Otherwise another option is to continue the main window into the second page.
for that first page main window -> create table -> add page break command to page 2 -> hard code description in template.
page attribute for first page --> GOTO assign same page ( for continuing the same page)
Page attribute for second page --> no need default is enough
Similar Messages
-
How to print specific page in smartform !
Hello Friends,
I like to print specific page in smartform. for Ex. page 4. But when I give page no. 4, the print preview not showing the exact page.
Thank you for your time.
SenthilHi Senthil,
chk this link you get a brief idea abt Smartforms.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
Reward points if you find this helpful
Regards,
Harini -
How to Print next Page in smartform ?
Hello ,
I want to print next page in smartform.
The situation is :-
I am passing an internal table containing list of personal numbers.
I have to print their details . Every candidate's detail should be printed on a new page .
I have designed the whole form , but I am not print their details on a New Page.
Please guide.
Thanks in Advance.Hi, Nikita.
Please Have a Look the following Link
[MODERATOR MESSAGE: SapScript/Smartform questions go in FORM PRINTING forum|/thread/1360534 [original link is broken];
So, Please Post Questions Regarding SapScript and Smartform in FORM PRINTING.
1. First of all you need to set a Flag at the end of every Personal Number.
2. Than Right Click on the object Like Main Window
--> Create --> Flow Logic --> Command
3. From First Tab of Command General Attributes Check the Check Box Go to New Page and Select Your Page
4. In the Conditions Tab Give you Flag Condition.
Hope will help you to solve out your problem,
Please Reply if any Issue,
Best Regards,
Faisal -
How to print last page in smartforms
Hi,
In my smartform i have 3 pages (FIRST, NEXT & LAST). FIRST contains some header detail and items. NEXT contains rest of items and this page would be repeatable if more item comes. now after NEXT i want to print LAST page. How to achieve this. PLease let me know. I looked into forum but haven't get exact answer so far.
RgdsHello,
According to your scenario you are having 4 orders and each order has to print seperately with the last page .right?
The best soln would be,
1) create another internal table same as the one you have and delete adjacent duplicates using order, so you will have 2 internal table one with 4 orders (it-1)and other with all the items(it-2).
2) In the driver program ,
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
control-no_open = 'X'.
control-no_close = 'X'.
output-tdnewid = 'X'.
PERFORM ssf_open.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
ARCHIVE_PARAMETERS =
user_settings = ' '
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJ =
output_options = output
control_parameters = control
IMPORTING
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT it-1.
CALL FUNCTION l_fm_name
endloop.
CALL FUNCTION 'SSF_CLOSE'.
2) In the smartform
FIRST -> next page -> NEXT
Beneath the main window -> Table, put Command - Goto new page as LAST.
NEXT -> next page -> NEXT
LAST -> Next page -> Blank
I hope this will work as I have done a similiar dev.
Regards,
Radhakrishnan -
How to Print Particular Page in Smartform
Hi ,
Anyone Give me steps to Print Particular Page when Printing Several Forms in One Print Request .
Am Using smartform Within the Loop , So i Used SSF_OPEN And SSF_CLOSE. When am printing the Smartform i gave particular Page in Dialog Box , But all the pages are Printed.
Please Help me to Solve this Problem.
With Regrds
KesavaperumalHi Kesav,
You can do this in Print Control Dialog, when you give printer name as LP01 or LOCL , just below that, one input field 'Page Selection' is available,
You can give like
Pages selected for printing
You can define which pages should be output in the page selection.
All pages are printed if an entry is not made here.
You can either specify individual pages or a range of pages. These entries are separated by a comma.
Examples:
4 only page 4
2-5 pages 2 to 5
-20 up to and including page 20
3- from and including page 3
4,8-10,15- pages 4, 8 to 10, and page 15 onwards.
And If you need to control the rpinted copies from the program , you can try with the OUTPUT_OPTIONS-TDPAGESLCT parameter of Functionmodule (which is generated from Smartform).
Hope this solves your issue
Rgds,
Sripal -
How to print two pages with same content in sap script?
I have created page1 and copied as page2. 1st page is assigned with Tray1 and 2nd page is assigned with Page2.but while printing page1 is printing properly,but page2's main window values not printing(Note: page2 is not Next page). I need 2 copies printout of check from Tray1 and Tray2.How to do this?
Hi ,
do as following.
Data: wa_options type ITCPO.
wa_optinos-TDCOPIES = '2'.
then call the function module.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZSAP'
LANGUAGE = SY-LANGU
OPTIONS = wa_options.
I have given you for printing multiple copies
But donno what do you mean by Tray 1 and tray 2 ?
Regards,
Nageswar -
How to print last page in sap script in ladscape format?
Hi all,
can any 1 tell me How to print last page in sap script in ladscape format?
Thanks In advance.
PravinHi Pravin Sherkar,
we can do this in SAP Scripts.
we need to create two pages, one of landscape and another of potrait.
now after filling the data at last we need to call the page which is of format landscape using START_FORM function module.
You can use condition &PAGE& = &FORMPAGES&.
Please check this link
Printing Portrait/Landscape in sapscript
Re: Landscape and potrait in same layout?
http://www.sap-img.com/ts013.htm
Best regards,
raam -
Mac printing two pages on the same sheet of paper double-sided
I have a large PDF file that I'm trying to save paper by printing two pages of the file on the same sheet of paper and then printing double-sided, e.g. pages 1-2 would be on the front and 3-4 on the back. I can accomplish the first part by changing the page layout, but then can't figure out how (or if) I can duplex print. Can anyone help? I'm using Adobe Reader 8.1.2 on a Mac running OS 10.4.11.
Yes I do. Normally, I just have the printer print even pages on one side and odd on the other side. But, putting two pages on the same side fouls up that process. If I try printing odd pages, I get 1 and 3 on the front and 5 and 7 on the back, instead of what I want. Maybe I'm wanting to do something that can't be done. After I changed to the two-page layout, I thought maybe I could do a Save As PDF in the Print dialog box, but that was not allowed by Reader.
-
Printing two pages per sheet with equal margins
My first post here. I did a search but didn't see an answer to my question.
How can I get equal margins when printing two pages per sheet?
I print aviation approach plates 2 pages per sheet and fold the sheet of paper in half and carry with me in a knee board. I had no problem doing this until last week after my hard drive was changed. The steps I normally take are:
click file
print
print range: all
copies: 1
page scaling: multiple pages per sheet
pages per sheet: 2
page order: horizontal (for the first pass through the printer and horizontal reversed for the second pass)
print to file: box checked
the preview now shows a winder margin on the left side of the page than the right.
I can't figure out any way to even the margins. Anyone have any ideas?
John W.
ColoradoWhat printer model? What program are you printing from?
Bob Headrick, HP Expert
I am not an employee of HP, I am a volunteer posting here on my own time.
If your problem is solved please click the "Accept as Solution" button ------------V
If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V -
PS CS6 13.0 x64 prints two pages when one copy is set.
I have an image that when I print it, to a printer or to PDF generates two pages of the same thing when only one copy is selected.
The Layer> merge layers, merge visible and flatten are all greyed out so it looks like only one layer is there.
I'm on a MacBook (not Pro) Core2 duo circa 2008 running 10.8 and haven't any idea how to make it print only one page from within PS.
About all I can propose to get past this is to print to PDF, delete the extra page then print it from Preview or Acrobat, but I'd like to know how to stop Photoshop from doing what it's doing in the first place.
Any ideas out there? What other info do you need?It might have something to do with the print menu which always says Range: page 1 to page 2, even though there is only one page worth printing. It's quite illogical to print a second page when only one is there. If I wanted two pages of the same thing that's what copies are for.
As near as I can tell, a range would only be used for an image that doesn't fit on one page. My image is less than 5cm high and less than that wide. (It's the same size as the lit apple logo on the lid of my Mac, which is what the image is of.)
I tried setting and saving the default from range to single, but even then it prints two pages of the same thing both to a physical printer and a PDF file, and when I next print the range is back to page 1 to page 2. This is all without even exiting PS. Do I have to restart PS for the default to take effect?
Why can't I save a default? Is this a directory permission thing, and why don't I get an error that they can't be saved if permissions are the reason? -
How to print blank page in script
Hi all,
how to print blank page in scriptHi,
Try the command /: NEW-PAGE. Let me know if it is working.
Ray -
How to print horizantal lines in smartforms?
hi friends,
how to print horizantal lines in smartforms.
waiting for ur valuble replies.
Thanks,
KiranHI,
If u use templates or table,then use borders to print the horizontal lines.
Eg : Create template-->Table painter->click select pattern button->Display framed pattern->select 3rd one.it will display only horizantal lines.
if want to print horizantal line under the text, then create one paragraph or character formate with Underline in smartstyles.Use that paragraph or character to u r text element -
How to print a bullet in smartforms?
Hi All,
How to print a bullet in smartforms?
I need it urgently.
Any help would be appeciated.
Regards,
Mahesh.Hi,
if i remember correct <600> is the value for bullets.
you can insert this using sap system symbols ---> select bullets (before this place your cursor where ever you want the bullets.
eg:
P1 <600> test.
Thanks,
Sree. -
How to print Check Box in smartform
HI,
How to print check box in smartforms. I am using Include Sap Symbol but in the print it is coming as #. Do we need to do any setting like we do for barcode?
Thanks
Raghavendrahi,
u can print a check box in different ways.. by inserting symbols and making window as check box..
once go through the thread u will get to k now differnt ways
putting checkboxes in smartform?
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K -
How to print the page in custom format
Hi All,
I've a login page like
USER ID : Test box to enter data
PASSWORD: Text Box to enter data
A Button named as Print
When i click on print button i want to print the form in custom format. when i use window.print in java script it is printing text boxes and button . but i dont want to print button and text boxes. i just want to print the user id and password entered by the user with corresponding labels.
Can anyone suggest me how to print the page in the above format with out using the request object. coz i need to implemnt above with plain java script and html.
Tks in AdvanceUse CSS. Check out the 'media' attribute. http://www.w3.org/TR/REC-CSS2/media.html
Maybe you are looking for
-
Weird problem with jpanel vs jframe
I'm using jmathplot.jar from JMathTools which lets me do 3d plotting. I used a JFrame to get some code to work and it worked fine. Here's the code that worked for a JFrame: public class View extends JFrame private Model myModel; private Plot3
-
BPL / BC - ACCOUNTING DOCUMENT no actuallizing number ranges ?
Hi all One question, is it correct that TDMS not update NRIV Table ? Should i transport now the table with customer BPL or why isn't inside? Has nobody FI User question about these ? If yes what have you done ? Thanks for Answers
-
Once created a message SOAP with KSOAP2 in J2ME How I make to obtain a string that it represents message SOAP?
-
I am trying to access the Air Force Web sites. I used to be able to access my web mail. Now, I can't even get there. I can access no web sites, despite MAC saying that they should be accessible as native. Any ideas?
-
HD Video Cam Model #: VF0580 Shuts down after 3 seconds of recording
My Vado HD Cam will automatically shut down after recording for 3 seconds. I have purchased and installed new battery and updated firm ware but it still happens. Any advice?