Smartform printing copies automatically
Hi everybody,
I need to print 5 copies of a smartform, I'm doing it with a cycle in the Smartform function call and changing a text in the footer, but when the printing is sent the printer tries to take paper from the feeding tray and stops, when I print a sapscript or other documente in SAP it takes paper from Tray 1 nad continues with the printing, does anybody know the parameter to control this in the smartform call????
Regards
Julio Cesar
Thanks
Similar Messages
-
C309a print copies of 1 page documents
I've been using Photosmart printers with duplexing for years. In the past, I've always left two-sided printing on "Automatically" as the default for general printing. If I had a one page document, and asked it to print, say, 3 copies of the document, I would get 3 pages with one side each.
I just intalled a C309a on the same Vista system I've been using in the past. I've set my printer default to "automatically" for two-sided printing. Now if I want to print several copies of a one-page document, it prints both sides of the page. So a request for 3 copies of a one-page document results in two printed pages - one page has the document printed on each side, plus one page has it on only one side.
The only way around this seems to be to alternate between printing shortcuts. If I have a one-page document, and I want several copies, I have to switch to the General setting with two-sided printing set to "off". If I want a multi-page document duplexed, I have to switch over to the Two-Sided printing setting. I'm disappointed because I didn't have to switch back and forth with any of my former Photosmart duplex printers.
Is my new C309a really supposed to work this way? Or should I be able to get 3 single-sheet copies of a one page document, even with two-sided printing set to "Automatically", like all my previous printers allowed?
Thank you!audpilot,
same boat, same printer...
this is not how the other printers worked.
is there any workaround? -
Hp 6310 all in one printer keeps automatically uninstalling
HP 6310 All-in-one printer purchased in 2008.
The printer keeps automatically uninstalling itself.
1. I have tried everything including downloading drivers.
2. I have completely uninstalled and reinstalled from disc. It still keeps happening.
3. I have tried leaving the computer and printer on over night so that the setup does not change. No it still happens.
4. Even when I do get it printing. It can print of some pages. The after some pages it decides that it and the printer has again uninstalled.
5. It can take hours to get the printer to work. Installing, switching the printer on and off. Even when the printer is set up and states its all ok. The printer won't work. Well sometimes it might but mostly not.
HELP.
ViHello @Vipro9 , and welcome to the HP Forums, I hope you enjoy your experience!
I see you are experiencing printer driver issues. I would love to try and help you, but I do need a little information first. I am linking a few HP Support documents below that will show you how to find which operating system you are using. Also, if you're using Windows, please include whether your operating system is 32-bit or 64-bit.
Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
Which Windows operating system am I running?
Is the Windows Version on My Computer 32-bit or 64-bit?
Also, do you have the same issue making a copy as opposed to a print?
Good luck and please let me know the results of your findings. Thank you for posting on the HP Forums!
Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
Jamieson
I work on behalf of HP
"Remember, I'm pulling for you, we're all in this together!" - Red Green. -
Smartform printing on Dot Matrix printer for continuous stationery
Hi Friends,
I'm throwing my smartform print output on printer using local printer .Now the problem is as i have designed the SF using A4 page size , the output on Dot matrix is my output (WHICH IS 1/3rd OF a PAGE) + rest of empty space which is actually wasting pages.
Settings in SPAD are as follows:
Output device : Lp01
Device type : SWIN
and page format : LINE_21
Format Type : LINE_21
What i want is a restricted output .please let me know the possible solutions and do i need to load the driver for my printer in SAP as well (Printer is : wipro WEP 800 DX)
Thanks and Regards,
Sachin SoniHi,
Change the page settings in the form
-> under the form attributes you can find the page format there you can set up your required format
Thanks,
Nethaji. -
MN05: setting the number of printer copies for the whole range of vendors
Hi all,
by t.code MN05 I can set the number of copies of the MM documents printed the FIRST TIME. I can do it for doc.type or vendor.
I can't set the number of printer copies for the whole range of vendors. Should I do it for each one of them?
Thanks
GandalfUnfortunately,
setting for document type, it doesn't work for all range of vendors.
Setting for document type, in the field "PartF" I've put in "OA". Could it depend on it?
you do for document type and then it will cover all range of vendors.
If you want prints for a specific vendor then set condition recrod for that vendor only.
regards -
Smartform print program for order confirmation
Hi experts.
I am looking for a smartform print program for order confirmation.
The order confirmation in standard is a script with the name RVADOR01 and I tried to copy and change but I don't know which to eliminate and whcih to keep it.
If any body written the program already please provide me or provide the link to check.
Thanks in advance
Saithis is the processing form.
form processing.
data: lf_fm_name type rs38l_fnam.
data: ls_control_param type ssfctrlop.
data: ls_composer_param type ssfcompop.
data: ls_recipient type swotobjid.
data: ls_sender type swotobjid.
data: lf_formname type tdsfname.
data: ls_addr_key like addr_key.
data: document_output_info type ssfcrespd,
job_output_info type ssfcrescl,
job_output_options type ssfcresop.
perform get_data.
check retcode = 0.
perform set_print_param using addr_key
changing ls_control_param
ls_composer_param
ls_recipient
ls_sender
retcode.
*Get the Smart Form name.
if not tnapr-sform is initial.
lf_formname = tnapr-sform.
else.
message e001(/smb40/ssfcomposer).
endif.
determine smartform function module for invoice
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = lf_formname
importing
fm_name = lf_fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
error handling
retcode = sy-subrc.
if sy-subrc = 1.
message e001(/smb40/ssfcomposer).
endif.
if sy-subrc = 2.
message e002(/smb40/ssfcomposer) with lf_formname.
endif.
perform protocol_update.
endif.
call function lf_fm_name
exporting
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
importing
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
tables
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
it_vedpa = tkomservp "Contract Item Validity
it_vedka = tkomservh "Contract Header Validity
it_vedpn = tkomservpn "Contract Item Cancellation Data
it_vedkn = tkomservhn "Contract Header Cancellation DA
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
if sy-subrc <> 0.
retcode = sy-subrc.
perform protocol_update.
get SmartForm protocoll and store it in the NAST protocoll
perform add_smfrm_prot.
endif.
endform. "processing -
Logic to get 2 print copies separately
Hi All,
We have a req on check printing to add logic to take care of 2 print copies (check and office copy)separately and save them in a PDF file in a location thru pop-up.
Pls. provide your valuable pointer.
Thanks,
Deepti.Hi,
Refer to the following code. it will be helpful for u.
REPORT ZPRACSCRIPT.
TABLES: likp, lips,itcpo.
Data: struct type itcpo,
pdftab type standard TABLE OF tline,
datab TYPE standard TABLE OF itcoo.
DATA: BINFILe type I,
filename type string,
filepath type string,
fullpath type string.
struct-tddest = 'LP-01'.
struct-tdnoprev = 'X'.
itcpo-tdgetotf = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'Z_PRAC'
LANGUAGE = SY-LANGU
OPTIONS = itcpo
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
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 'CLOSE_FORM'
TABLES
OTFDATA = datab
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
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 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
IMPORTING
BIN_FILESIZE = BINFILE
TABLES
otf = datab
lines = pdftab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 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 METHOD cl_gui_frontend_services=>file_save_dialog
CHANGING
filename = filename
path = filepath
fullpath = fullpath
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
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 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = binfile
filename = 'D:\MYFILE.PDF'
FILETYPE = 'BIN'
tables
data_tab = pdftab
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Rajesh Kumar
Edited by: Rajesh Kumar on May 4, 2009 8:43 AM -
Smartform printing & sending multyple table data
Hi All..
I designed a smartform & print Pgm.( for Invoice not SAP standard)
How can i send multiple table(kna1,vbrk,vbrp,vbdk) data in to a smart form? & how can i declare that internal table in smart form & in print pgm?
And it is also not printing.even i set it in NACE.
Plz any one can help me asap..
Thanks & Regards
RajHi Raj,
You must have to create a new Structure and a new TABLE TYPE in program to send multiple data.
Lets say, you have created Main internal table in your print program to send multiple data to smartforms as below.
TYPES: BEGIN OF ty_cus,
F1,
F2,
F3,
F4,
END OF ty_cus.
so, instead defining above types in your program, just create a new structure(lets say Z_CUS) with the above fields in SE11.
Then create new TABLE TYPE (ZT_CUS) with that structure (Z_CUS).
Now, in your print program, create internal table with the type of Z_CUS as below.
DATA: it_cus TYPE TABLE TYPE z_cus,
wa_cus TYPE z_cus.
And in the Layout, Form interface - Tables section give it as below
IS_CUS TYPE ZT_CUS.
In your print program, assign your internal table to IS_CUS for generated function module.
CALL FUNCTION fm_module.
EXPORTING
IMPORTING
TABLES
IS_CUS = it_cus
EXCEPTIONS
Let me know if you hav any quesions -
Hello All,
I´m developing a smartform to print information in a label that has 6cm height.
My problem is that when I print the informaton the smartform prints information of the next label on the previous information. It seems that the smartform understands my label has 5cm of height.
How can I 'enlarge' the height of the window or table so smartform will print the correct information on the next label ?
Thanks in advance.
Best regards,
Marcelo PerineMatt,
The smartform receive information in Form interface -> Tables -> ZTB0014
Each register of this table is printing in one label. Then, my problem is that the smartform is printing two registers in one lable. It´s seens that the new-page function ins´t working.
Main window
-Loop
--Table
---Text1
---Text2
--Command
Main - Output options
Left margin 0,00 CH
Upper margin 0,00 LN
Width 82,00 CH
Height 15,00 LN
Loop
Internal table ZTB0014 INTO EST0014
Table
Table width 80,00 CH
Horizontal alignment Left 0,00 CM
Minimum Height 0,00
Line1 50,00 CH | 30,00 CH
Text1
(1) Recebedor das Mercadorias.
&EST0014-NAME1&
&EST0014-STRAS&
&EST0014-ORT01& - &EST0014-REGIO&
&EST0014-ORT02&
CEP &EST0014-PSTLZ&
(4) Transportadora
&EST0014-TRANS&
Text2
Volume
&EST0014-VOLUM&
Command
X Go to new page %PAGE1
Reset paragraph number P1
Message was edited by: Marcelo Perine
Message was edited by: Marcelo Perine
Message was edited by: Marcelo Perine -
Smartform Printing on both sides
Hi.
I am fasing an issue in smartform printing.
we are printing the Invoice.this invoice data is dynamically comming on the front side of the page.
and printing normally.
but back side of the page they want to print the comapany rules(on every page back side).(these rules are comming with in one page only).
so on the front side this invoice data and back side Comapany rules shouls come.(we don't know how many pages of invoice data will come).
Plesae help me to solve this issue.
Thanks in advance,
Regards,
EswarHI Eswar,
If you have only one page made in your smartform you can make one more page with just the main wiindow.This window will have all the rules of the company.Now make the first page point to this page and make this page point to the first page.
Select duplex printing in the page attributes and print.This will solve the issue.
Reward if useful.
Thanks,
Dishant -
Hello All,
I have a MacBook Pro 15", Intel Core 2 Duo, 2.16 GHz, Mac OS X version 10.4.11.
I am connected to a network printer at my office. The printer is a HP Business Inkjet 2800 model. My mac recognizes it as bonjour printer and everything is ok. I can even see the status of the printer (i.e. ink levels, paper, etc of the printer). When I send a file to print, it automatically stops it. Why is this?
I tried resetting the printers from the Printer's Setup Utility, but didnt have any luck in fixing this problem.
Can anybody advice?
Thanks in advance.
andreasDoes it do this with all applications, or a particular application?
See Troubleshooting printing issues in Mac OS X
http://docs.info.apple.com/article.html?artnum=106714
Cheers, Tom -
Printing JE automatically when it is added!
Hi All,
Is it possible to print JE automatically when it is added by one user but not by another user.
Is this settings are user specific?
SV REddyHi SV.......
Go to Administration> Setup> General> User Default> Print--> Select Journal Entry and tick on while add document.
Then open the user window for which you want to set this and link this User defaults there in user. Once you do this the momet you add the document it will print JE automatically......
Regards,
Rahul -
Unable to disable Cover Page printing on automatic billing jobs
Unable to disable Cover Page printing on automatic billing jobs
Hi
Goto VV32 for your billing output type. Double click on your condition record for this output type. On next screen we can find "SAP cover page", select 'Do not print' here.
try and revert -
Comment empêcher la copie automatique de fichiers sur le bureau?
Bonjour,
A chaque fois que j'ouvre un fichier depuis internet ou thunderbird, il se copie automatiquement sur le bureau .
Je dois donc régulièrement faire le ménage.
Comment empêcher cette copie automatique?
Merci de votre aide.
ChristopheI don't think you should ever drag a photo from Lightroom to somewhere else.
The proper way is to select the file in Library (in the Film Strip at the bottom of the window). Then press the button "Export". You will then get a dialogue box. Type in the information for the place where you want to save it. Press the button "Export". The changed (edited) photo will then be where you told it to be saved.
(I am a beginner in Lightroom but think the above is correct) -
Hi Experts,
I am modifying an existing smartform print program,
after modifications, when I am clicking on printpriview button after selecting the zee Output Type
in order to test the form, I am unable to see the preview,
Can anybody tell me what are the points to check?.
I already checked the parameters passed to control structures.
They are fine. Even i am not able to see the printpreview.
Kindly help.
The sf is for Delevary
and the transaction i am using isVL03N
Regards,
Noor.hi,
Put break points in your program and execute it or else check for address nodes read_text fm
There may be some error in smartforms or driver program,
just make the break point and trying to debugg that
We can consider many checks in this case.
1. Check whether the Local printer exists or not.
2. If you are using any Address NOdes, check whether the Address number is holding a value.
3. Also check whether a record exists with your condition type/Delivery in the NAST table.
4. You can see the default local printer in SU3.
Use SFTRACE tcode to trace the error.
Maybe you are looking for
-
I build websites with Dreamweaver CS3. I am operating on Mac OS 10.4.11 using Firefox 3.6.13 - The problem began on the last software update. I like to use Firefox instead of Safari. Up to the point where I upgraded, I never had a problem but now, wh
-
How do you turn Magic Trackpad off when shutting down?
Hi folks-- I just got a Magic Trackpad and I am learning to use it on a Mac Mini 2.0 Mid 2007, My question is; how does one turn it off, as I shut down my computer every night. I have seen that I could turn "off" Bluetooth before shutting down. I hav
-
cant play on Pogo.com, error: theres a bug that prevents everyone from playing Java games with Firefox new version.
-
TS3221 How do I resolve error meassage 0xE800007F please
How do I resolve error message 0xE800007F please - cannot sync with iphone over wifi
-
Hi All, I have one procedure is running in one database which is taking 2 urs. But same procedure (sama data volume,same execution plan) is taking 4 hours in another database. Both system are different and it is in window OS. Could some please clarif