Smartforms - To print on continuous stationary
Hi! Experts,
Help me to Print on Continuous Pre-Printed stationary.
Now im able to Print the First page perfectly, and those data are not printing on its particular location(as its a pre-printed stationary) on the second page.
In main window i have used Tables to Print the columns. and now after it reaches the end of main window, its not printing on the correct position where it needs to print on the second page, instead its printing from starting(i,e from line.no: 1) of the second page but i need it to print on the line.No - 10.
Kindly help me.
Thanks and Regards,
Nagulan
Hi ,
Which page format u are using . U have to use the page format equal to the dimensions of your page . Ask your basis person to create a page format matching dimensions of your paper .
and if u are already using the page format according to the dimensions of ur paper then in the properties of the printer change the page format to type fanfold .
This will sove urv pblm .
Regards
Similar Messages
-
Error in smartform when printing multiple pages
Hi,
I m using a smartform which have two pages in it,
i m able to save and activate it without any error message and when i run the function module generated to chk my smartform
it runs fine and diplays two pages i m using.
but as i m attaching this form with my driver program it is giving an error message while running . the error message is " No other output defined in main window."
Please help me out to resolve the issue.Re: error in smartform when printing multiple pages
dharani tadikonda
Thanks for this answer. It is absolutely correct. -
Problem printing on dot-matrix printer with continuous paper
Post Author: kdebruyckere
CA Forum: .NET
Hi,
We're currently developping an .net application for a customer of ours in VS2005 (c#). I used crystal reports for VS2005 to create an invoice.
The invoices have to be printed on a dot-matrix printer with continuous paper (Brother M-4318). When an invoice is only one page long, there's no problem. Even when printing several sigle-page invoices after another, all goes fine. The problem occurs when an invoice is more then one page longe. The first page comes out correctly, but on the following pages everything moves ca. 3 mm upwards (3 mm on the second page, 6 mm on the third page, and so on...). On the report 'Design > Printer Setup', I selected the right printer, the right paper size, ... On the report there's a page header (consisting of two sections), and there's a page footer that is only printed on the last page, but there are no report header and no report footer.
I can not figure out what seems to be the problem. Has anyone else had this or a similar problem before? If so, please let me know. Any suggestions are welcome.
thxPost Author: ole
CA Forum: .NET
Continuous paper is a little bit longer than normal A4 paper. I found only one way to set it: ReportDocument.PrintOptions.PaperSize =CrystalDecisions.Shared.PaperSize.PaperFanfoldStdGermanI had no success, setting continuous papersize by printer setup. ... waiting for CustomPaperSize-Property (like CustomPaperSource)... Olaf -
Steps involved to Configure a Smartform for printing TO Item
Hi,
I want to develop a Smartform to print TO for each Item.
Currently it is being done using SAP Script.
I checked the Configuration in OMLV and assigned my print program Z****** .
This thing here is I don't see any values passed to my program like TO Number, Whse Number etc when called through LT31.
Where as I assign the standard program RLVSDR40 and debug it all the details are being passed to this program.
I am not sure if I am missing any configuration.
Please help me to figure out the issue and let me know all the steps involved in configuring the Smartforms to print Transfer Orders.
Thanks in Advance.
MK.Hi Murali,
The SAP delivers the solution to print the TO item by SAPScript, but we can do it by Smartform as well, as in
You need to create a project for the enhancement MWMD0001, because EXIT_RLVSDR40_001 will fulfill your purpose of doing it the other ways i.e. via Smart from.
For this you have to use CMOD transaction to create the project for the above said enhancement.
Note: If you do this way any configuration done via OMNU wont't be considered.
Then after in teh import parameters you have a table XRLDRI, which contains both the warehouse number and the transfer order number, the same can be passed on to the designed Smartform to fulfill your purpose.
Sample Code, you can refer to:
*local variable declaration.
DATA: l_wa_fm_name TYPE rs38l_fnam.
* Local Field Symbols
FIELD-SYMBOLS : <l_fs_rldri> TYPE rldri.
* Local Constant declaration
CONSTANTS : lc_fmname TYPE tdsfname VALUE 'XYXYXYXY', "Smartform name, here designated by 'XYXYXYXY'
lc_chk TYPE rldrudruck VALUE 'X'.
*Moving Transfer Order Print :Item level data into corresponding work area.
LOOP AT xrldri ASSIGNING <l_fs_rldri>.
* Determine smartform function module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lc_fmname
IMPORTING
fm_name = l_wa_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc = 0.
* Call the function module of the smartform
CALL FUNCTION l_wa_fm_name
EXPORTING
user_settings = lc_chk
tanum = <l_fs_rldri>-tanum
lgnum = <l_fs_rldri>-lgnum
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc = 0.
ENDIF.
ENDIF.
ENDLOOP."LOOP AT xrldri ASSIGNING <l_fs_rldri>.
Please validate the same at your end and let me know in case you require any further inputs from my end.
BR/Thanks
Pranav Agrawal -
How can I set the printer to continuously print from a roll of paper?
I need to print something continuously from one long piece of paper. I have googled this but all I find are answers on how to do this with an epsom printer! Just got my first HP printer today (J110) and pleased with it so far, but I'm having trouble finding out how to set it to continuously print.
Many thanks for any advice.Hi,
I can not find your printer in this list
http://support.apple.com/kb/ht4356
How old id it ?
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. -
How to Import customized internal table to smartform from Print Program
Hi Gurus,
I want to Import customized internal table to smartform from print program, Can anybody tell me how it is possible.
With regards,
S.SaravananThere is no problem passing an internal table to a smarforms, smartforms have the same interface as a function module ([Defining the Form Interface|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm] in [Smart Forms|http://help.sap.com/saphelp_nw70/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm]) so could you elaborate a little more on your requirement (is it a standard a custom forms, etc.)
Regards,
Raymond -
Hi Folks,
Here we have designed a Invoice-smartform and converted it into PDF which is by default storing in c-drive as mentioned in the code.When we open the Pdf it is displaying it fine but when given a printout except the logo nothing is getting printed,I mean it is showing all junk characters.May I know what is the problem and how to rectify the same.
Points will be given.
K.Kiran.Hi Kiran, see the OSS notes: 960341 and 776507.
I downloaded and copying here, Hope this will be helpful
OSSNote:960341
Symptom
In some device types (e.g HPLJ4, HPLJ5) you experience non-uniform character spacing in the PDF document after the PDF conversion of SAPscript or Smart Forms documents, using HELVE or TIMES fonts. You want to know the reason.
Other terms
CONVERT_OTF, SAPscript, Smart Forms
Reason and Prerequisites
The problem is not due to an error in the PDF converter but due to the fact, that the printer font, underlying the device type (e.g. Univers or CG Times in PCL-5 device types), is not available for the PDF converter and is either not available in Adobe Reader. The PDF converter has to try to simulate the layout of the printer font by means of a font which is predefined in Adobe Reader. This is done by assigning the letter widths of the printer font to the font used in Adobe Reader.
The PDF file contains a table with letter widths, used by Adobe Reader in the output of text, for each used printer font (except PostScript fonts).
Example:
%Charwidth values from HP4300 HELVE 060 normal
/Widths
[ 278 333 500 633 633 1000 758 333 333 333 633...
Adobe reader converts this width table, by modifying the space between each character, so that the specified letter width (= space between the current and the next letter) is kept.
This 'Simulation' of printer fonts results in the sometimes visible irregular spaces in PDF.
The PDF converter always uses the Helvetica Adobe PostScript font for the display of HELVE and the Times Roman Adobe PostScript font for the display of TIMES. However, for these Adobe PostScript fonts, Adobe Reader often uses a Windows TrueType font, which differs slightly from the original PostScript font.
Solution
Workaround: Use the POST2 PostScript device type or the PDF1 PDF device type for the PDF conversion of documents in the Latin-1 character set. They both use the Adobe PostScript fonts Helvetica or Times Roman for the HELVE/TIMES printer fonts.
Header Data
Release Status: Released for Customer
Released on: 30.06.2006 12:44:06
Priority: Recommendations/additional info
Category: Consulting
Primary Component: BC-CCM-PRN Print and Output Management
Secondary Components: BC-SRV-SCR SAPscript
OSS Note: 776507
Symptom
Documents printed via SAPscript or SmartForms do not print with correct special characters, e.g. ### prints instead of Japanese or Russian characters. What to do?
Other terms
SAPscript, SmartForms, printing, device types, OTF
Reason and Prerequisites
Help required to choose proper fonts in a SAPscript or SmartForm
Solution
When using SAPscript or SmartForms to print (or email or fax) a form from a business application, many factors influence the outcome of the actual text within the form. All these factors must be checked in order to ensure a correct printout:
1) The language version of the form used to produce the printout.
Example: If you want to print a French invoice, you need to have a FR version of your SAPscript or SmartForms invoice form RVINVOICE01. And the application program must specify the corresponding language key (FR) when calling the SAPscript or SmartForms API.
2) The font selections specified in the form (possibly also in a SAPscript style or SmartStyle used in a form).
Example: In a SAPscript form or a SmartStyle you need to specify HELVE if you want to print German text in Helvetica (or similar) font. If you want to print Japanese text, HELVE is not a valid choice but you need to specify a Japanese font like JPMINCHO in your Japanese form.
3) The output character set of the device type
Every printer in transaction SPAD has a "device type" assigned. Device types used by the spooler for printing support only one single specific output character set. All text from the form has to be converted (using SAP's built-in character conversion mechanism) to this output character set.
A character set can typically support either a single language (e.g. Shift-JIS which supports only Japanese) or a set of languages (e.g. ISO 8859-1, which supports Western-European languages). It is possible that a given language (such as German) can be supported by several output character sets, e.g. you may use either ISO 8895-1 (Latin-1) or ISO 8859-2 (Latin-2) to represent German text. This is so because both character sets contain the special characters used in German.
Example: HPLJ4000 is a HP LaserJet device type supporting the ISO 8859-1 (Latin-1) character set. ISO 8859-1 can be used to represent e.g. Dutch, English, French, German, Spanish, Swedish but NOT Russian or Japanese.
As a consequence, it is ok to use HPLJ4000 to print English, German French etc. but not for Japanese or Russian.
4) The set of available printer fonts for a given device type
When formatting a document, SAPscript and SmartForms perform an automatic mapping of the font definitions in the form (e.g. "HELVE 14 point bold") and the available printer fonts of the device type. A replacement printer font is chosen, should the specified font selection not be available in the device type. Now this replacement can be problematic if a language-specific font, such as Chinese CNSONG, is specified in a form and it gets replaced by a font which does not support this language, e.g. COURIER.
To solve this problem, font families in SE73 have language attribute assigned, e.g. some fonts are characterized as being suitable only for certain languages. And when a replacement has to be chosen because the original font from the form is not available in the device type, a replacement font is chosen which has the same language attributes.
If no fonts for the language in question exist in the device type, the resulting font will not be able to print the special characters and you will see "wrong" output characters in the printout.
Note on SAPscript/SmartForms Print Preview:
The OTF Print Preview available in Windows GUI (e.g. from transaction SP01) will sometimes not show the "wrong" characters which appear on the final printout. Here is the reason: since the Print Preview runs in Windows environment, it will use Windows fonts to represent the actual printer fonts. A Windows font typically has more available characters (i.e. covers more character sets) than are actually available in a printer's resident font.
A typical example where the Print Preview will differ from the printout is here: if you have a Chinese PCL5 printer such as CNHPLJ4 and use the Western Latin font COURIER in your document, the print preview will show you Chinese characters if you (by accident) tried to format Chinese characters in COURIER font. This is because Windows will automatically choose a font that can output Chinese characters (which is actually not Courier). But when you print the job on an actual PCL5 printer with resident Western and Chinese fonts, the Courier font will not print any Chinese characters but Western special characters instead, because the printer's resident Courier font does not include Chinese characters.
Rule of thumb: all Asian device types (e.g. CNHPLJ4, JPHPLJ4, JPPOST, KPHPLJ4) support not only Asian fonts but also COURIER, HELVE and TIMES fonts. But these Latin fonts can only be used to print English text, not Chinese/Japanese/Korean characters.
Which fonts are suitable for a given language?
Language(s): Font family to use in a form:
Latin-1 (Western Europe/Americas) *******
DE,EN,FR,ES,NL,SV COURIER, HELVE, TIMES
(LETGOTH, LNPRINT)
Latin-2 (Central Europe) ****************
PL, CZ COURIER, HELVE, TIMES
ISO 8859-4 (Baltic) *********************
ET, LT, LV COURIER, HELVE, TIMES
ISO 8859-5 (Cyrillic) *******************
BG, RU, SR, UK COURCYR, HELVCYR, TIMECYR
ISO 8859-7 (Greek) **********************
EL COUR_I7, HELV_I7, TIME_I7
ISO 8859-8 (Hebrew) *********************
HE COURIER, HELVE, TIMES
ISO 8859-9 (Turkish) ********************
TR COURIER, HELVE, TIMES
Simplified Chinese **********************
ZH CNHEI, CNKAI, CNSONG
Japanese ********************************
JA JPMINCHO, DBMINCHO, DBGOTHIC
Korean **********************************
KP KPBATANG, KPDODUM, KPGULIM
KPGUNGSE, KPSAMMUL
Traditional Chinese *********************
ZF TWDPHEI, TWMING, TWSONG
Thai ************************************
TH THANGSAN, THDRAFT, THVIJIT
Arabic (Unicode systems only) ***********
AR ANDALE_J
Verify your output by examining the OTF data
When analysing printing problems of this type, be sure to check the OTF data which gets produced by SAPscript or SmartForms. OTF or "Output Text Format" is the intermediate page-description format generated from SAPscript or SmartForms. OTF will contain the final printer font names and character set/language identifiers which help to solve the problem. OTF will even name the form and the language of the form used to create the output.
The easiest way to do this is to create a spool request from your application, run transaction SP01, use menu
Goto->Display Requests->Settings
and choose
Display Mode: Raw
Now display your spool request. If this is a SAPscript or SmartForms spool request, you will see OTF data. Each line represents one OTF command, every command starts with a 2-character cmd identifier and possibly some cmd parameters follow.
Here is an excerpt from a sample OTF file where we highlight the most interesting commands:
//XHPLJ8000 0700 00000000001
IN04EALEXTEST_ZEBRA
IN05%PAGE1
OPDINA4 P 144 240 1683811906000010000100001
IN06%WINDOW2
MT0024401289
CP11000000E
FCHELVE 120 00109XSF100SF101110000067E X
UL +0000000000000
SW00067
CT00000000
ST0453037Dieses SF hat Stil ALEXTEST_ZEBRA mit
The 1st line with the // (Control) command reveals the device type usedto print: HPLJ8000
//XHPLJ8000 0700 00000000001
The 2nd line (IN = Info command) shows the name and (internal 1-char)language key of the form:
IN04EALEXTEST_ZEBRA
In this case it is the English (E = EN) SmartForm ALEXTEST_ZEBRA
The OP-line (OP = Open Page) gives the page format used in the form, it is DINA4 Portrait orientation:
OPDINA4 P 144 240 1683811906000010000100001
The CP (CodePage) cmd shows the SAP system codepage used to code the text and the active language. In our case it is codepage 1100 and language E = EN = English.
CP11000000E
Finally, the FC-cmd (Font Call) lists a printer font selected within SmartForms. Please note that every SmartForm has a designated default SmartStyle under "Form Attributes->Output Options". In addition, every text node can have a SmartStyle attached (which will override the definitions from the default style for the text). In our case the resulting printer font that was selected is HELVE 12.0 pt bold-off, italic-off.
FCHELVE 120 00109XSF100SF101110000067E X
Header Data
Release Status: Released for Customer
Released on: 22.08.2005 09:57:20
Priority: Recommendations/additional info
Category: Customizing
Primary Component: BC-CCM-PRN Print and Output Management
Secondary Components: BC-SRV-SCR SAPscript
BC-SRV-SSF Smart Forms
regards,
Anji -
Two SAP systems, same smartform, different print outputs
We have two SAP systems, because of the different business areas that our company has.
We develop a smartform with a custom style which has Gill Sans MT as default font. The smartform is printed directly into PDF format.
On system A on all environments it works fine and we transported it to system B.
On system B the output on PDF format comes in bold, all the characters are bold. This happens on all environments. On preview we don't see bold font but the spacing between characters is larger than expected (for example, a date is printed in two lines of a cell).
I've checked the settings on SE73 and they are the same on both systems.
I've also created a second style were I've taken out all bold settings. On system A, the smartform' style was changed to this new one. The changes were transported to system B, and still it prints all bold.Thanks for the replys. I think this is an answer to both.
Checked SPAD and differences are:
1. output device LOCL:
System A:
- Device Type: ZSAPWIN
- Host Spool Access Method: F
System B:
- Device Type: SAPWIN
- Host Spool Access Method: G
2. Device Type:
System A:
- has two custom formats (none used on this specific smartform) -
Reader 9 Acrobat PDF Printer Driver Continuously Installs
Since I have installed Reader 9, the Acrobat PDF Printer Driver Continuously Installs in the background degrading system performance. Does anyone else have this problem? It auto created a System Restore point, so check that. I am running XP with all patches applies.
Hi Mike,
I have exactly the same problem that you describe. At first I thought it might be malicious software that was installing a fake driver, but after running Malware, Spybot and some other programs, I'm still left with the problem. I have a lot of Adobe software installed (Adobe Premiere Elements 7, Adobe Acrobat Pro 8, Adobe Audition 3, Adobe PhotoShop 7 and of course Adobe Reader 9, plus as you indicate Adobe Air and Acrobat.com I'm not sure when my problem started, since I only recognized it when I went to do a system restore. It appears to install the driver about once a minute. This leaves me with about 3 days worth of useless restore points.
The only advice that I have received is to un-install all my Adobe stuff, then check the System Restore, then one by one re-install the packages checking each time what happens in the system restore.
Have you found any solution since your original post?
Dave Freeman
Peterborough, Ontario
Canada -
Hello Experts,
Can anyone please let me know where HR_SGPPP smartform and print form is configured(Transaction code and steps to configure the smartform and print program ).
Kindly do the needul help.
Thanks & Regards,
Lakshmi PrasadHello Experts,
Details :
For the pensionable employees, the form 'Option for Retirement Benefit' needs to be printed along with pension paper.
The standard pension paper print program u201CRPUPBSR8_PRINTu201D calls the smatform u201CHR_SGPPPu201D from the routine u201CPRINT_PPu201D.
Thanks & Regards,
Lakshmi Prasad -
Smartform preview / print of chinese characters
Hello all
I am facing this issue:
After implementing SAP Note 852926, the Smartform preview / printing works fine with Chinese characters in DEV system.
The Unit test were OK and then the SAP Note has been transported to our TEST env, but the chinese characters are not previewed and printed correctly there.
I see characters as "»ÆêÍ" instead of "黄晖"
I can not find any difference in settings / fonts of the two systems. What am I missing?
Anybody can give a hint?
Thanks
ImrichHello Imrich,
Do you use the same device type to print in th test system?
To print Chinese characters from SAP, there are some rules:
1. The form must have Chinese language key 'ZH' or the Chinese texts must be included as standard texts with the language key 'ZH'.
2. The correct Chinese fonts(e.g. CNHEI or CNSONG) must be used for the Chinese texts in the form.
3. The form must be processed with a device type that supports the simplified Chinese language.(eg:device type CNSAPWIN).
Another possibility if you have a Unicode system is tp print via desvice type SWINCF. Here the language of the form doesn't matter.
Regards,
Aidan -
E-Mail print error; check SmartForm or printer definition
Hi Team,
We are facing an issue when we try to print the email in SAP CRM 7.0. Getting an error saying -Mail print error; check SmartForm or printer definition.
Any pointers on this how this can b resolved will be of great help.
Have gone through the similar sdn thread, not able to really understand how the issue was resolved.
Error when printing an email > CRM_IC_APPL_UI_CHMSG
Regards,
UdayaHi Udaya,
Try to maintain a default printer for a particular user in t-code SU01 (on Defaults tab -> Output Device).
Then, when you print again it will generate a spool order for chosen printer (can check on t-code SP01).
Kind regards,
Garcia -
Standard smartform and print program for sales document
HI All,
Is there a standard smartform and print program for sales document or sales order. If someone has worked with it do reply.Hi Shashank,
What exactly you would like to print for Sales Orders in Smartforms..?
regards,
Ram. -
Scan scan bar on the printer is continuously moving back and forth.
The printer is connected via USB to a computer using Vista and also used remotely by a MAC, IPad, and IPhones.
The scan bar on the printer is continuously moving back and forth, I ran the HP Print Scan Doctor and it found no problem.
I can print, copy, and scan but the motion of this piece on the device will not stop.
No change to the issue occurred when I turned the printer off, waited several hours, and turned it back on.Hi @GGx3,
Welcome to the HP Forums!
I noticed that the scan bar on your HP Officejet pro 6830 printer is continuously moving back and forth. I am happy to look into this scanning issue for you!
First, I would recommend a hard reset, by going to this post, How to perform a Hard Reset, by @Rich1. it is important that the printer's power cable is plugged directly into the wall outlet, and not a surge protector. Please, see this article, Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector for more information. This applies to Inkjet printers as well.
After the hard reset, I would go through this guide, The HP Printer Does Not Turn On or Respond When the Power Button is Pressed, and watch this video:
(Even though the guide title may not match your issue, I believe the solutions will help.)
The last step I would do is to also make sure your printer's firmware is up-to-date. Getting Printer Updates for HP Officejet 6810 and Officejet Pro 6830 e-All-in-One Printer Series.
Hope this solves your problem, and have a good day!
“Please click the Thumbs up icon below to give me a virtual high-five for responding.”
RnRMusicMan
I work on behalf of HP
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" to say “Thanks” for helping! -
How to use Smartform to print check as payment method?
Actually I'm using Sapscript to print checks as payment method.
The configuration is at OBVS transaction, but at detail of payment method in "form data" option I can only choice Sapscripts.
How can I to migrate Sapscript existing to new Smartform to print check as payment method?Hi,
Please check this path :
Financial Accounting (New) > A/R A/P > Business Transactions > Outgoing Payments > Automatic Outgoing Payments >
Payment Media > Make settings for classic payment medium programs.
Here you assign your smart form and the relative program.
Regards,
Sadashivan
Maybe you are looking for
-
My WiFi is down and the icon states ´´No Hardware Installed´´. Sometimes the WiFi will come back, but it will shut me out after an hour or two. I´ve tried shutting it down and pressing P, R, Option, Command while turning it on, but it only sometimes
-
Moved iTunes music folder to new HD and it won't play
I recently moved my iTunes music files to a larger external hard drive (for the third time) and now iTunes can't find any of the songs. It has worked in the past on 2 other HD's but not this time. I've selected the correct iTunes Music Folder locatio
-
Camera Raw updates Date Taken in JPG Files
Hi, I have CS6/CR 7.2. I have had this issue where my file dates became changed (8000 odd files) so I had to restore 23000 files from backup . When investigating trying to find out what happened. when I open a JPG from Windows Explorer, photoshop
-
My ipod does not appear in tunes
my ipod does not appear in tunes
-
Basic operations in Sales Order
I have a questions that is pretty basic, that I have search for a shortcut and can't find. In a sales order is there a way to carry the same value down a column? so if I have a 35 line item BOM is there a shortcut key I can use to change the qty from