on 09-28-2010 3:20 PM
Hi,
I call different smartforms dynamically at runtime.
One of the smartforms has the following structure:
Main Window
- Loop at global table
At "Initialization" I fill the global table. In some cases the table is initial. Still an empty page is printed.
Do I have any chance to prevent the printing of an empty page?
Thanks a lot!
Andrea
Hi,
I would like to know if it's possible to force the end of printing of a receipt in zebra from smartforms. There's some receipt that use only one page, but another receipts use more than one page. The need of forcing the end of the print, is the client don't want a piece of blank page when the data to print doesn't fill the all two pages.
I don't know if i'm doing to understand.
Thank You anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrea,
I do not clear what's your requirement? Do you print 2 smartforms at times or only one? You can control your data to print or not, if global table does not contain data then skip print your form.
Please make it clear.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for reply.
I fill a customizing table containing information which smartforms has to be printed.
My temporary solution is that I extend the customizing table by one column. This column contains the name of the local table in my program calling the smartforms. I check dynamically if this local table has any content. If true I call the smartforms else not.
But I am looking for a solution in the smartforms form, not in the calling program.
Something in the initialization that quit printing for example. I try something like Leave, leave to screen... But then I get error messages like "Open Spool Request found"...
😕
Hi,
well how can I should explain it?
You explain my actual solution. But attention: I call 6 smartforms dynamically, that means I have a customizing table containing
- smartforms name
- active flag
- ...
I append a column "CHKDT" (Check data) to this table. Here the user can enter a name for example "LT_TABLE". In the print program I assign "LT_TABLE" and check if this table is initial or not an call the smartform.. or even not... So only one table can be checked for each smartform.
But I don`t like this solution! I wanne know if there is any possibilty to check the data in the smartform and stop printing out of the smartform.
I hope u can understand
Thanks a lot!!!
Hi,
I try the function modules SSF_OPEN and SSF_CLOSE.
In this context I noticed that the print preview shows an empty page, but printing does nothing. I say print empty page but the printer doesn't print an empty page.
I talk to our customer and he aggrees
- Print preview show empty page
- Printing skip empty page
So I don't need to check any table content before printing or to use the function modules SSF_OPEN and SSF_CLOSE.
I agreed with this solution!
Thanks a lot!
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.