<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129851#M111443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;Do you want to know the idea how find out which form should be called depending of number of pages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the question is:&lt;/P&gt;&lt;P&gt;How do you count number of pages ? Usually it's not possible to know that at program running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you count the number of positions? it is not save but it could be use... in the worst case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would I do I would use surely ONLY smartform &lt;/P&gt;&lt;P&gt;if I do not want to change Standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use in Smartform - COMMAND placed within MAIN Window of First page and with it control the flow of pages withouth any small change done in a Sap Standard Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Command included in MAIN Window you can jump to the diffrent pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is complicated but possible to manage...&lt;/P&gt;&lt;P&gt;I have a lot of experience in creating strange&lt;/P&gt;&lt;P&gt;Smartform Flows...&lt;/P&gt;&lt;P&gt;Try to create: &lt;/P&gt;&lt;P&gt;4 Pages&lt;/P&gt;&lt;P&gt;FIRST1 (Next page parked as Next1)&lt;/P&gt;&lt;P&gt;NEXT1  (Next page marked as Next1)&lt;/P&gt;&lt;P&gt;FIRST2 (Next page parked as Next2)&lt;/P&gt;&lt;P&gt;NEXT2  (Next page marked as Next2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(All of them has the same MAIN window &lt;/P&gt;&lt;P&gt; and in that MAIN window depending on condition use&lt;/P&gt;&lt;P&gt; COMMAND at the beggining and jumb to the&lt;/P&gt;&lt;P&gt; requested PAGE accoring to condition &lt;/P&gt;&lt;P&gt; either FIRST1 or FIRST2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must try it and I cannot 100% assure you that it works&lt;/P&gt;&lt;P&gt;Create a simple Smartform and try to test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have no IDEA how to force printing it on diffrent printers... on diffrent trays it is possible but printers I have no idea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Bogusia abapka@op.pl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2006 15:12:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-01T15:12:17Z</dc:date>
    <item>
      <title>SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129843#M111435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement as below. Please suggest me a suitable solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The SAP Standard Program calls the Form. The Standard Form is modified to accommodate the client specific changes and added in Customization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If the numbers of pages to be printed is with in one page, Form1 to be used to print the same using Printer A for printing this Form1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If the numbers of pages to be printed are more than one page, Form2 to be used to print the same using Printer B for printing Form2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Form1 and Form2 have different page windows. That is, both First page and Next page are of different Format for both the Forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please write to me, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is it possible to accommodate the above requirement in SAPScript?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is it possible to accommodate the above requirement in SmartForm?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Kannan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 14:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129843#M111435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T14:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129844#M111436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kannan,&lt;/P&gt;&lt;P&gt;  We can do either way.But you have to change the program for that.&lt;/P&gt;&lt;P&gt;Regarding doing it in sap script.You have to used FM START_FORM &amp;amp; END_FORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 14:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129844#M111436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T14:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129845#M111437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply immediately. I am not supposed to change the SAP Standard Program. I need to provide a solution for the requirement only through the Form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP Script, i can call Form1 and check the total number of pages, if the total page is one, then use Form1 (Linked with Program in Customization) or if the page is more than one, then i have to call Form 2 to print the documents of more than one page in a different printer from Form 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i suppose, i can not have tow Forms Open (Form 1 and Form2) at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if my understanding is correct or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me a suitable solution in SmartForm without modifying the Standard Calling Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kannan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 14:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129845#M111437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T14:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129846#M111438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;   I guess there is no way to do that,without changing the program.&lt;/P&gt;&lt;P&gt;there is no way that you can call form1 &amp;amp; check total no. of pages &amp;amp; then call form 2 with out changing the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 14:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129846#M111438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129847#M111439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this is possible because at the begining of the script *Means OPEN_FORM" program can't trace no. of pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you create twp different O/P types and based on O/P you can control the no.of pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exanple :&lt;/P&gt;&lt;P&gt;/: IF &amp;amp;NAST-KSCHL&amp;amp; EQ 'ZKQ1'.&lt;/P&gt;&lt;P&gt;/: NEW-PAGE&lt;/P&gt;&lt;P&gt;/: ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 14:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129847#M111439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129848#M111440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I can use output type Ztype1 to call Form1.&lt;/P&gt;&lt;P&gt;2. I can use output type Ztype2 to call Form2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since th ecalling program is the same, SAP Standard program for both Forms, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Where will i check the total number of pages?&lt;/P&gt;&lt;P&gt;2. In Program, i can not check the total no ofpages.&lt;/P&gt;&lt;P&gt;3. Do i have to check in the Form1.&lt;/P&gt;&lt;P&gt;4. Unless the program control comes to Form1, no of pages can not be counted, i think. Because, it depends on th epage formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kannan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 14:58:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129848#M111440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T14:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129849#M111441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I can use output type Ztype1 to call Form1.&lt;/P&gt;&lt;P&gt;2. I can use output type Ztype2 to call Form2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling program is the same ---yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where will i check the total number of pages--&lt;/P&gt;&lt;P&gt;            &amp;amp;SAPSCRIPT-FORMPAGES&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 15:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129849#M111441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T15:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129850#M111442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check &amp;amp;SAPSCRIPT-FORMPAGES&amp;amp; in Form1, if it is one, then Execute Form1. If it more than one, then call Form2 from From1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kannan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 15:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129850#M111442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T15:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129851#M111443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;Do you want to know the idea how find out which form should be called depending of number of pages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the question is:&lt;/P&gt;&lt;P&gt;How do you count number of pages ? Usually it's not possible to know that at program running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you count the number of positions? it is not save but it could be use... in the worst case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would I do I would use surely ONLY smartform &lt;/P&gt;&lt;P&gt;if I do not want to change Standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use in Smartform - COMMAND placed within MAIN Window of First page and with it control the flow of pages withouth any small change done in a Sap Standard Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Command included in MAIN Window you can jump to the diffrent pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is complicated but possible to manage...&lt;/P&gt;&lt;P&gt;I have a lot of experience in creating strange&lt;/P&gt;&lt;P&gt;Smartform Flows...&lt;/P&gt;&lt;P&gt;Try to create: &lt;/P&gt;&lt;P&gt;4 Pages&lt;/P&gt;&lt;P&gt;FIRST1 (Next page parked as Next1)&lt;/P&gt;&lt;P&gt;NEXT1  (Next page marked as Next1)&lt;/P&gt;&lt;P&gt;FIRST2 (Next page parked as Next2)&lt;/P&gt;&lt;P&gt;NEXT2  (Next page marked as Next2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(All of them has the same MAIN window &lt;/P&gt;&lt;P&gt; and in that MAIN window depending on condition use&lt;/P&gt;&lt;P&gt; COMMAND at the beggining and jumb to the&lt;/P&gt;&lt;P&gt; requested PAGE accoring to condition &lt;/P&gt;&lt;P&gt; either FIRST1 or FIRST2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must try it and I cannot 100% assure you that it works&lt;/P&gt;&lt;P&gt;Create a simple Smartform and try to test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have no IDEA how to force printing it on diffrent printers... on diffrent trays it is possible but printers I have no idea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Bogusia abapka@op.pl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 15:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129851#M111443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129852#M111444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I can use output type Ztype1 to call Form1.&lt;/P&gt;&lt;P&gt;2. I can use output type Ztype2 to call Form2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling program is the same ---yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where will i check the total number of pages--&lt;/P&gt;&lt;P&gt;&amp;amp;SAPSCRIPT-FORMPAGES&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Lanka but it's not possible to know&lt;/P&gt;&lt;P&gt;at program running how many pages&lt;/P&gt;&lt;P&gt;are to be printed you see it on the output&lt;/P&gt;&lt;P&gt;that's true but if you try to check it within a Sapscript &lt;/P&gt;&lt;P&gt;it has always the current page number...&lt;/P&gt;&lt;P&gt;With greetings Bogusia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 15:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129852#M111444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T15:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129853#M111445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I can use output type Ztype1 to call Form1.&lt;/P&gt;&lt;P&gt;2. I can use output type Ztype2 to call Form2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since th ecalling program is the same, SAP Standard program for both Forms, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Where will i check the total number of pages?&lt;/P&gt;&lt;P&gt;2. In Program, i can not check the total no ofpages.&lt;/P&gt;&lt;P&gt;3. Do i have to check in the Form1.&lt;/P&gt;&lt;P&gt;4. Unless the program control comes to Form1, no of pages can not be counted, i think. Because, it depends on th epage formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Kannan &lt;/P&gt;&lt;P&gt;you have to find out the other way of checking the number of pages the worst but the only solution is to check&lt;/P&gt;&lt;P&gt;the number of positions e.g that fits at one page...&lt;/P&gt;&lt;P&gt;(it not nice but if you alwasy print it on the same printer and nothing changes... so you can use this method)&lt;/P&gt;&lt;P&gt;Bogusia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 15:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129853#M111445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T15:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129854#M111446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My system is very slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you have to do is Set a Command in MAIN Window :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: If NAST-KSCHL = ZOUT1  --You need second page&lt;/P&gt;&lt;P&gt;/: NEW-PAGE = 'NEXT'.&lt;/P&gt;&lt;P&gt;/: ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure at page attribute you have not assigned the next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 15:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129854#M111446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T15:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129855#M111447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bogusia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input, I will impliment your suggestion and let you know my feedback. Please do let me know if you come across any more ideas related to this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Lanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your inputs / ideas. I will update  you the result.Please do let me know if you come across any more ideas related to this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kannan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 16:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129855#M111447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T16:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129856#M111448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;Thanks for your input, I will impliment your suggestion &amp;gt;and let you know my feedback. Please do let me know if &amp;gt;you come across any more ideas related to this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that at the moment this is the one idea... I will try to look something about a printer...&lt;/P&gt;&lt;P&gt;and inform you of course about it&lt;/P&gt;&lt;P&gt;With greetings Bogusia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 19:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129856#M111448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-01T19:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129857#M111449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bogusia / Lanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your inputs / ideas. Actually this requirement is for AR Customer Account Statement and SAP does not allow/ support at the moment to replace the existing SAPScript by a Smart Form in the customization. So i am left with no other option but to go for Z- Program. I have decided to copy the print program and make necessary modification to accommodate two forms with two printers. The Z program and Z Forms will be linked with the Tcode F.27 in Customization.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kannan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2006 15:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129857#M111449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-15T15:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  / SmartForm - 2 Forms &amp; 2 Printer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129858#M111450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Kannan,&lt;/P&gt;&lt;P&gt; So you are able to get what you want..or do you need any help??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2006 15:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-smartform-2-forms-2-printer/m-p/1129858#M111450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-15T15:52:03Z</dc:date>
    </item>
  </channel>
</rss>

