on 03-09-2011 9:52 AM
Hi All,
I have already a sap script which is working as potrait format.But now the problleam is in the 2nd page main window the field count increases to 10 ..So in my last field value doc text (char 30) which was falling at the time of print due to page size.
So now the requirement is to print 2nd page as landscape format ..another issue is if in the 2nd page line item increase and continue to 3 rad page then also the same page print as landscape format only..
So how to acheive this requirement.??
Please help me
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The page format layout can only be achieved in smartforms.
As per my knowledge, In SAP scripts there is no option in changing the page layout for each page.
What i suggest is
you can create 2 script forms one with portrait and another with landscape. But as per your need, 3 rd page should be portrait, but that is not possible i think.
Talk to your consultant regarding this if not go for the smartforms options.
Regards,
Sakthi Sri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are several ways to handle this....for instance, you could change the font size for the 30-character text field, or break it up into multiple rows and write at the correct location, or write it on a separate line under the rest of the data..... Or, you could open form, output page 1, close form. Open another form, output page2 (your landscap page), close form. Then go back to your first form...open and continue... Of course, you would have to manage any page numbering manually....
I'd look at how to adjust my page2 printout to accommodate the longer output length.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In this case you may need to create a customized Sapscript format.
The steps are similar to this:
- Go to transaction SPAD -> tab strip 'Device types' -> button 'Page
formats' and create e.g. <pageformat>
Please enter a suitable height and width and choose Landscape or
Portrait.
- Go to transaction SPAD -> tab strip 'Device types' -> button Format
'types' and add the new format. eg: <pageformat> It should be a Format Type
for SAPSCRIPT and should use page format created above eg: <pageformat>
Usually the Format Type and the Page Format have the same name. This
was mandatory in older releases.
- Copy your device type to a customer defined device type
eg:HPLJ4 to ZHPLJ4
SPAD -> Utilities -> For device types - Copy device type
- Go to transaction SPAD -> tab strip 'Device types' -> button 'Device
types' -> select the new custom device type -> button 'Formats'.
Here add you new format eg: <pageformat> using create icon.
On the next screen from menu
Device Type Formats -> 'Copy format' and copy the format
eg INCH12 of your device type to your new format <pageformat>.
This populates the printer initialization fiels etc
Finally to change the output format of a Sapscript form , you must
change the page format of that form.
SE71 -> <Form Name> -> Header -> Basic Settings -> Page format
-> Change this to ZINCH12 or ZDINA4( whatever you new format is)
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.