Smartforms: Printing Selective Pages
My smartform have 5 pages. My aim is print selective pages (ie page 1-3).
In the global definition -> initialization, i wrote the statement below:
OUTPUT_OPTIONS-TDPAGESLCT = '1-3'.
My problem is all 5 pages are still being printed out instead of page1 to page3. Please advice.
Hi,
With the specified way , the condition cann't work.Once check it.
In the generated FM you have parameter OUTPUT_OPTIONS-TDPAGESLCT, which is for "Pages selected for printing".
You have to call FM 'SSF_FUNCTION_MODULE_NAME' to get the generated FM name, then call this FM dynamically with the mentioned parameter.
Reagards,
Shiva Kumar
Similar Messages
-
How do I print selected pages from a multi page document
How do I print selected pages from a multi page document?
This question was solved.
View Solution.Hi,
It depends on the software you are using, what is it ? In general you can select a range or just a number of pages.
Regards
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
Printing selected pages of a PDF to Adobe PDF
I have Acrobat 9, Windows 7, and was happily creating new files from existing PDFs by printing selected pages to Adobe PDF. After having done this a hundred times or so, the process stopped working. I got this message: "When you create a PostScript file you must rely on system fonts and use document fonts. Please go to the printer properties, 'Adobe PDF Settings' page and turn OFF the option 'Rely on system fonts only; do not use document fonts.'" Then I get a message, "The document could not be printed." Then I get a message, "There were no pages selected to print."
First, I wasn't having any problems up to this point; second, I'm not trying to create a postscript file, I'm just trying to print to Adobe PDF (as in, just page 3 of a six-page document."
Any suggestions? Thanks!I downloaded the Arcobat SDK and now learning to use it with its sample.
However, I got stuck when I run the program BasicIacVB.
I got the following error message:
Cannot create ActiveX component.
When running the line
gApp = CreateObject("AcroExch.App")
I run this program on my PC with VS2005 installed.
What extra step do I need to do to use the sdk?
Seems there's no installation package there...
Sorry about my stupid question, I am a total newbie in AcrobatSDK.
P.S. My ultimate goal is to develop the program in VB6 (not using VB2005),
as my client PCs does not (and cannot for some reason) install .net framework. -
I have AA 8.0 on two PCs. One will allow printing selected pages and the other will not. How do I correct this for the one that does not print select pages.
Here's what I do.
On the PC that is able to print select pages:
Open the "Pages" tab, select two pages out of say 4, click the Print botton and the "Current View" changes to "Select Pages"
Is there a setting that will enable printing Select Pages?Brad,
I don't have 8 on my system any longer. It works in 9 just fine. I'd
suspect that there might be a damaged preference file somewhere. Things
that you can try:
1) Repair installation with Acrobat.
2) Quit Acrobat, remove printer driver, reboot, install printer driver
and test.
3) Remove Acrobat completely and then re-install.
Interestingly enough in Acrobat 9 you can select pdfs in a portfolio and
print them, but you cannot select pages in the pages pane in pdf in a
portfolio to print. The entire pdf gets selected to print. Strike one
against portfolios. You can of course just enter the pages you want to
print---which may work in your senario as well. You may not be able to
select the pages to print, but you can place them in the print dialog
box and it should print only those pages.
Mike -
ARGH-HUH! Print v Print Selected Pages
Good god almighty.
Is there a way to get Preview to Default (I know I said Preview) to print all the pages when I go Print and then I end up pulling down to "pdf" to print a pdf?!
For the umpteenth time I have scanned a 50 page document, gone to print a pdf of this scan, and accidentally hit "Print" (go figure) instead of selecting all the pages (!?) and hitting Print - and then of course pulling down the pdf and going to Save As pdf.
Print defaults to the selected page ?! and Print Selected Pages works if you select all the Pages?
I have to scan the whole darn document again...
What am I missing? Also, apologies for posting in Pages but I can't find any place else to address this.
Thanks!As we will have to wait for at least a few days, here is my workaround.
--[SCRIPT printseveralpictures]
Enregistrer le script en tant que Script : printseveralpictures.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
Ouvrir plusieurs images dans Aperçu
Aller au menu Scripts , choisir "printseveralpictures"
Le script sélectionne toutes les vignettes d'images
puis exécute la commande "Imprimer les images sélectionnées…"
Il vous reste à définir la destination (imprimante ou PDF) et à valider.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
Sous 10.6.x,
aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
puis cocher la case "Afficher le menu des scripts dans la barre des menus".
--=====
Save the script as a Script: printseveralpictures.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:
Open several pictures in Preview
Go to the Scripts Menu then choose "printseveralpictures"
The script select every pictures thumbnails
then trigger the menu item "Print Selected Pictures…"
Then you must define the target device (printer or PDF) then validate the action.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2011/02/04
--=====
on run
run script doyourduty
end run
--=====
script doyourduty
my activateGUIscripting()
tell application "Preview" to activate
tell application "System Events" to tell application process "Preview"
set frontmost to true
tell (first UI element of scroll area -1 of first splitter group of window -1 whose role is "AXGrid")
set {grid_X, grid_Y} to position
set {grid_w, grid_h} to size
end tell
click at {grid_X + (grid_w div 2), grid_Y + 20}
keystroke "a" using {command down} -- cmd + A
keystroke "p" using {command down, option down} -- cmd + alt + P
end tell
end script
--=====
on activateGUIscripting()
(* to be sure than GUI scripting will be active *)
tell application "System Events"
if not (UI elements enabled) then set (UI elements enabled) to true
end tell
end activateGUIscripting
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) vendredi 4 février 2011 15:22:47 -
How to print selected page no. with smart forms?
Say hello to everybody,
I just want to print page from 4-6 for example, how can I make it?
I have a mothod that we can use T-code sp02 to print page 4-6, and it works.
Is there any other way to make it? Such as setting some parameters for the function of smartforms? Any help, many thanks!Hi
Printing of pages is controlled only after the generation of spool
though we use the variables &SFSY-PAGE& for page number
to display some data based on page condition, but for printing i think we can't put a condition based on this field.
The way you are doing is the way to do/control page wise printing while printing the spool pages
Reward points for useful Answers
Regards
Anji -
How to: print selected pages, same pages, odd pages on a book?
hi,
about book:
how can I print only pages that I want to?
Like selected pages, odds pages or only that I want?
How can I print front-back sheet?
Thank you[Jongware] wrote:
I don't think it's possible to set the page range of a Book.printPreferences
Theoretically it ought to be possible. Can't test for myself now; what does happen when you set the pageRange to overlapping sub-files?
I've just tried it with CS3. It might have been implemented in later versions.
In the print Book dialogue the page range field is disabled. You cannot enter anything there.
If you try to do it with a script it says that printPreferences is read only. -
Printing selected page as a pdf in adobe reader
Hi,
I have Adobe Reader for the Mac. I'm dealing with pdf documents that are hundreds of pages. If I wanted to save a single page (or several pages), it seems I have to go through an extra step:
1) print
2) then select printer
3) then get warning window telling me to go to applications dialogue box
4) click ok, go to box
5) select page range in applications printer box.
that's a lot of steps. Preview does this in one step (but has other problems). Is there a way of selecting pages and going directly to save as pdf. I know there's no extract page feature like there is in Acrobat.
thanks for any help,
jeffNot in the free Reader, no.
-
How does one print selected pages of a PDF document
I deal a lot with lengthy PDF documents and always need to print just a few pages from it. In Windows after I selected Print I could choose certain pages (e.g. 2-5,18,23, 44-46). On Leopard every time I select Print I don't get a choice and the whole document prints, wasting a lot of time, ink and paper in the process. I followed instructions from the Help file but I never get to the expanded menu that would give me that choice.
Also, when printing from the web I am used to highlight what I wanted printed and click Print, then Selection. The only way I get it to print just what I want is by using the Grab program, capturing the selection and printing from it. Is there an easier way?
Any and all help is greatly appreciated as I make my transition from Windows XP to Leopard a smoother transition. Thank you.Open the document. On the left of the document there should be a scrolling list of the pages of the document. Select the first page. Hold down the 'Command' key. While the 'Command' key is pressed down, select another page from that list. Repeat until you have selected all the pages you want to print. Select 'Print' from the 'File' menu. The Print dialog box which shows up should say that you want to print 'x' pages, where 'x' is the number of pages you have selected. Click on 'Print'. The pages you have selected will print.
-
Printing selected pages to new PDF
I have done this before, but not sure what has changed? I have "Adobe PDF" configured as a printer and Acrobat 9 Pro Ver 9.3.4 installed on my computer. I used to be able to print individual page selections or ranges to the "Acrobat PDF" printer and get an extracted PDF file with my selection. Now I get a .PS file with some text in it. What am I doing wrong? Is there a better way, other than Snag-It? Can I do this with Acrobat Reader?
As I have told many people "I am only blind in two eyes, the rest are OK".
I think I see the problem now:
%%[ ProductName: Distiller ]%%
This PostScript file was created from an encrypted PDF file.
Redistilling encrypted PDF is not permitted.
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
Although these are company files, for legal reasons, they get encryped when placed on the company site. They can be sent to a printer, but not to the Adobe PDF printer. I already have steps to provide open PDF files for internal use. I think that may be my fix.
Thank you for your input. -
Trouble printing selected page range as handout
I am trying to print for a keynote but only want a selected page range and just cannot seem to get it to work. When I go into print and select under the pages tab the "from" button and type the range ( eg 184-189 ) I only get the option of slides with notes or outline. I want to pront as a handout with 2 or 3 sldes per page. The preview shows no pages selectde and it is unable to print.
I've tried highlighting the slides I wish to print and trying that but to no avail. The silly thing is I did manage to get it to work this way once but now it doesn't seem to work that way. I'm frustrated as I don't want to print the whole presentation off and throw away the sheets I don't need as it seems to defeat the object of page selection. I also don't want to watse ink by having one slide per page.
Any help will be gratefully received.I have this issue with my printer also
my work around is to delete the pages I dont want printed, save this version as a separate file and the pages I want print out correctly. -
hi all
I am new in smartform and form printing in general, and I have a problem: I need to print a smartform with two kind of pages and each kind can stay on more pages. So I thought that I have to create 4 pages:
KIND_1_FIRST
KIND_1_NEXT
KIND_2_FIRST
KIND_2_NEXT
on KIND_1_FIRST and KIND_2_FIRST I set respectively KIND_1_NEXT and KIND_2_NEXT as next page. The working hould be that when finished processing KIND_1 I need to start processing KIND_2 ... if I simply put KIND_2_FIRST and KIND_2_NEXT after KIND_1's pages in the tree of the pages, they are not processed and in output I can see only KIND_1_FIRST and KIND_1_NEXT.
I don't know if I am missing something important to set the order of the page to be processed.
I hope I've been clear ...
thanks to anyone eill help me
gabrieleHi
I don't know how your smartform is arranged, but I've done this:
- Create a simple smartform having two pages: PAGE1 and PAGE2, the page flow is:
PAGE1->PAGE1 (so it has itself as next page)
PAGE2->PAGE2 (so it has itself as next page)
U can have a different page as next page, it's the same.
- Create 2 internal table ITAB1 and ITAB2;
- Create a MAIN with two loop (one for ITAB1 and one for ITAB2)
- Insert the command to skip from PAGE1 to PAGE2 between the loop of ITAB1 and loop of ITAB2
In this way the smartform skips to PAGE2 as soon as has finished to print the data for ITAB1, and then start to print the data of ITAB2.
As the logic of the MAIN is not finished at the statament to skip to new page, the data will be print in PAGE2 and in the next page.
Max -
Why SmartForm Printing empty pages??
Hi All,
I got a production ticket belongs to shipment (VT03N) prints packing list smart form. The Output data is only 2 pages. but it is printing 68 pages. From last two years, the same smartform working fine.
The first page prints only 3 materials, and 68th page prints grand total. Rest 66 pages empty (header prints on every page but no items)
Only one shipment causes this problem. Rest all shipments are printing fine. Version 4.6C.
I appreciate your suggestion.
Thanks in advance,
AshokThe empty pages can come because of couple of reasons:
1. Check: If you have more than one line in your text element in your main window. If yes, than put the text element in the folder and set the "page protection on" on the folder.
.... MAIN
......... TABLE
...............TEXT ELEMENT
........................LINE 1
........................LINE 2
Should be
.... MAIN
......... TABLE
.............FOLDER (Page protection ON)
...............TEXT ELEMENT
........................LINE 1
........................LINE 2
2. Unnecessary COMMAND which triggers the next page. If yes than remove them.
Regards,
Naimesh Patel -
Regarding Smartforms printing - multiple pages
Hi Friends:
Please help me out on this query. I know how to make a smartform. I've made smartforms but the condition is that it triggers only one smartform. I've a requuirement that I've to trigger smartform for multiple vendors.The format of the smartform will be the same.Logo will be same. The address of the vendors will be changed.The line items in the main window will be changed.Footer will be constant. There will be a select option on the selection screen, which will select a range of the vendors.There will be some other parameters.I tried using loop, but every time it triggers one smartform & then again displays "print preview dialog box". I want all the smartforms to generate in one go.once the smartform for one vendor finishes, it should trigger a new one on the next page.Please help me out urgently.If anyone has a sample program, please send it to me.Reward points will be there.Hi,
Pass the select-option as a input to smartform.
Check this link.Here I am explaining how to do this.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
If you want to restrict print dialog box,you can achieve it by the following coding.
*& Report ZZZ_JAYTEST1 *
REPORT zzz_jaytest1 NO STANDARD PAGE HEADING MESSAGE-ID zhrt.
Variable Declaration
DATA : v_form_name TYPE rs38l_fnam,
itab TYPE STANDARD TABLE OF pa0001,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl.
SELECT * FROM pa0001 INTO TABLE itab UP TO 5 ROWS.
SORT itab BY pernr.
DELETE ADJACENT DUPLICATES FROM itab COMPARING pernr.
DATA: control TYPE ssfctrlop,
control_parameters TYPE ssfctrlop,
output_options type SSFCOMPOP.
control-preview = 'X'.
control-no_open = 'X'.
control-no_close = 'X'.
control-no_dialog = 'X'.
control-device = 'PRINTER'.
output_options-tddest = 'LOCL'.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
USER_SETTINGS = ' '
OUTPUT_OPTIONS = output_options
CONTROL_PARAMETERS = control
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.
output_options-tddest = 'LOCL'.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
CALL FUNCTION '/1BCDWB/SF00000066'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = control
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = output_options
USER_SETTINGS = ' '
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = w_return
JOB_OUTPUT_OPTIONS =
TABLES
itab = itab
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.
CALL FUNCTION 'SSF_CLOSE'.
Kindly reward points if it helps. -
Smartform printing all pages from 2 trays
Hello all,
can we print Smartforms from 2 diffrent trays we have a tray selection option in smartform but is there a way we can print all the pages from tray 1 as well as tray2?
for example if i have 3 pages i want to print all 3 pages from tray1 as well as tray 2.
Thanks,
Moderator message - Moved to the correct forum
Edited by: Rob Burbank on May 28, 2009 5:13 PMYou will have to send the form to the printer 2 times to print from different trays. I seriously doubt it would be possible to do it otherwise, but you might want to check in the forum specific to forms.
Maybe you are looking for
-
Convert a string to double with precision
I am getting a value amount of say $45.00 from a jsp and set this value as a string for my other work. then i am changing this string to double by using this statement setAmount(Double.parseDouble(cstmt.getString(1))); my precision is lost when i get
-
Datasource configuration error.. Please Help
Helo, I'm a newbiue to SAP WebAs.. we installed kernal 6.3 part of SAP WAS 6.4 preview release. I'm trying to configure the ORacle database using the admin gui. But we are not able to get it up, after adding the driver ojdbc14.jar and configuring t
-
Please refer to http://forum.java.sun.com/thread.jsp?forum=58&thread=510804&tstart=0&trange=100 Cheers ... Gregg.
-
Apps open in Script Editor after Security Update 2006-001 Mac OS X 10.4.5
Several applications, notably "MathGo 2.2", no longer open when double clicked. Instead they open in a Script Editor window (after informing me they are not scriptable). It is as if Finder no longer recognizes them as applications! "Get Info" shows t
-
I am new to the MacBook Pro and am wondering if I make an Album in iPhoto by using events that have titles and dates will I loose the titles and dates??I had hoped to combine my ie. 2010 Trip pictures Grandchildren pictures etc but do not want to lo