Print a form's content that is designed by swings component?
ive 2 questions to ask which ive asked one of them tow days before but i havent got a usefull solution for it!!!
1)
im trying to print a simple document by these codes:
try
FileInputStream textStream;
textStream = new FileInputStream(
System.getProperty("user.home")+"/Desktop/errors.txt");
if (textStream == null)
System.exit(0);
DocFlavor flavor = DocFlavor.INPUT_STREAM.TEXT_HTML_US_ASCII;
Doc mydoc = new SimpleDoc(textStream, flavor,null);
PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
aset.add(new Copies(2));
PrintService[] services = PrintServiceLookup.lookupPrintServices(
flavor, aset);
System.out.println(services.length);
if (services.length > 0)
DocPrintJob job = services[0].createPrintJob();
job.print(mydoc, aset);
} catch (Exception ee)
System.err.println(ee.getMessage());
}but it doesnt work at all !!!the line that has been bolded return 0 that it means it couldnt find ma printer???my printer is HP 1320 that is connected to ma computer by USB port?
2)
my goal after above problem is:i have a swing form that has some information from a user that is loaded from DB...
how can i print this form by its components and information on the paper?
thanks a lot MR/MRS ................
zokho;)
Why don't you use JDK 6's capability to print directly. Please refer to this link.
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/desktop_api/
Shouldn't
System.getProperty("user.home")+"/Desktop/errors.txt")
actually be
System.getProperty("user.home")+"\\Desktop\\errors.txt")
Similar Messages
-
SAPScript: How to print mutiful forms in one program?
Dears,
I want to print invoice in my program, And one invoice number should print one form.
My question is : if there is a internal table contains 10 different invoice number, and I want to print 10
forms. Is that means, I should use FM 'OPEN_FORM' 10 times?
If do, I would have to fill the popup dialogue window 10 times.
Anybody who have good ideas about this problem? Thank a lot.
Sincerely yours,
JulieI suppose you want to print several sapscripts in one spool
In that case you need to use START_FORM END_FORM
It would be something like this
OPEN_FORM
Loop at invoices.
START_FORM
ENDFORM
endloop.
CLOSE_FORM -
Trying to print a form off the internet but get an an error message saying "there is a problem with Adobe/Acrobat. Can you help
What is your operating system?
What is your Reader version?
What is your web browser? -
Hi folks,
I had an question, related to printing the form using sapscript. I am printing a sapscript form using two printers. The first one is HPLJ4000 : HP Laserjet 4000 and the model is Dell Printer and using this printer the form is printing fine.
However when I print using another printer HPLJ4000 : HP Laserjet 4000 but a different model HPLJ 2100TN some of the data is not printing in the right font size. The font I am using is HELVE and I believe it is not recognising it.
I do not know how to work on the issue, asked the Basis guy too he has no clue about it.
Any thoughts or ideas will be helpful?
Thanks,
SkHi
See this OSS notes
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
<b>Reward points for useful Answers</b>
Regards
Anji -
Rearrange pages when printing adobe form with multiple master pages
Hello!
Good day to you all.
I have an issue in regards with printing my adobe form with multiple Master pages. I have 4 master pages:
1st master page: a
2nd master page: b
3rd master page: c
4th master page: d
all with different headers and footers all having the same contents (items). I don't have issue with one page content (it just prints 4 pages with different headers and footers). The issue comes out once the items exceed 1 page.
What happens is that the preview/print shows (example: 3-page item)
a1-a2-a3-b1-b2-b3-c1-c2-c3-d1-d2-d3.
What i need is to print these such that all 1st pages of the 4 master page to be printed first, then all the 2nd pages, then all 3rd pages. Please see below:
a1-b1-c1-d1-a2-b2-c2-d2-a3-b3-c3-d3
This is because we will be using carbonless copy paper during printing and it's possible that it would be printed on batch jobs. Please suggest ways to do this.
Thanks a lot in advance!
Best Regards,
abap_peer_dangsHi,
Is that requirement of multiple pages as groups only at the time of print or at print preview also...?
Can you have a Print button on this screen or you should be using the Abobe toolbar's Print button..?
Well if this on a click of a button in the form and the requirement is only at the time of print and not on print prieview I can have a JS script which does this...
Let me know if this suffice, I can try with a local file and send you the script.
@ Chris: I didn't understand what do you mean by reported, I was eager to hear and learn a solution from you may be a new approach which I am not aware of ...?
Cheers,
Sai. -
Problems printing a form with Adobe 8 Standard
I created a form using LifeCycle Forms ES and sent it out for use in our company.
I have received comments back from Adobe 8 Standard users that when they print the form the form rearranges itself. Has anyone ever run into this issue or know how to fix it?
Thanks!This is basically the same question as : http://forums.adobe.com/message/5405961#5405961
You can only fill out the PDF forms in Adobe Reader, Adobe Acobat and Acrobat Mobile. Some browser will have Reader plug-ins which would allow you to fill out the form dirrectly in the browser but that is not guarenteed. This is a limitation from the browser (like Chrome) pdf capabilities (they just don't support all the PDF form's features and scripting).
You will not have the option to embed the form when it is an PDF imported into FormsCentral. This is a feature only available for forms's designed in FormsCentral (web forms).
We always suggest to people to have a button to download the PDF from their website (not embeded) and that they warn their fillers that they need to fill out the form using Adobe Reader, Acrobat or Acrobat Mobile
For more information see:
http://forums.adobe.com/docs/DOC-2013
http://forums.adobe.com/docs/DOC-2653
Gen -
Please wait message when opening form created by Adobe LiveCycle Designer ES 9.0
Problem
Please wait message when opening form created by Adobe LiveCycle Designer ES 9.0
Full message
Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/products/acrobat/readstep2.html. For more assistance with Adobe Reader visit http://www.adobe.com/support/products/ acrreader.html. Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S
Actions
Updated Windows RT 8 to 8.1
Uninstaled Adobe Reader Touch 1.3 and instaled 2.0 Build 84770
Additional Information
The form was created 10 or 11 months ago, and we are pretty sure that we were able to open it a while back
The same PDF file opens just fine in Windows 8.1 using Adober Reader XI 11,0.06, it is only the app that is affected.
The document cannot be opened by any other mobile app that we have tried or on another mobile OS (iOS)
Any ideas?
Thanks & Regards
JimThe user's assertion is surprising to me, but perhaps I'm missing something important. I thought the correct position was from the conclusion of my earlier post "it can't be done". Adobe state their Reader Touch doesn't support XFA (http://blogs.adobe.com/readermobile/2012/12/13/adobe-reader-for-windows-8-tablets/). Unless (see that blog entry) you changed the type of form.
-
Not able to print wbsit forms with Hp deskjet 1000
Hi, I cant print forms from sites like IRS or other sites I need to print forms. It keeps telling me to register with HP eprint .Well I did that months ago. I did change default printers to HP deskjet 1000 and tested it out with HP print and scan doctor 4.2. It worked out fine on the test print, But when I try to print IRS forms and what not it like hangs. Note I am on win 8.1 and the forms are in PDF files. Do I need eprint to print. I cant even reregister it the codes they sent me gives me an error messege. any suggestions thanks
This question was solved.
View Solution.Hi wigglyworld22,
Welcome to the HP Support forums. I understand that you are unable to print pdf documents from the internet to your Deskjet 1000 printer.
HP ePrint is designed to let you print from virtually anywhere to an HP printer that supports ePrint. If you are just printing from your computer at home I would download and install the full feature software and drivers for the printer. I have included a document on how to install your printer using Windows 8.1.
Installing the Printer Software in Windows 8 for a USB Cable Connection
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
Print size does not default to form size when printing PDF form.
So, we have created an interactive new client form for our firm. The form was created in LiveCycle Designer ES 8.2 and is set to legal size (8.5 x 14). After the form was completed and exported, it was filled out for testing and printed. During the printing process it was noticed that in the print dialog box, the dimentions for the form were wrong. It showed that the default document size was 8.5 x 11. Where and how is this changed in LC?
A new form was created (starting from scratch) with the document settings set to legal again, and inside of LC in the PDF preview panel, I tried to print and the same thing occured.
Please advise as how to set the document to its default size when printing without have to do it in the print dialog box.The print dialog doesn't display the forms dimensions but those of the currently selected paper format of your printer.
If you change the page format in the printer driver the diemensions in the preview will change too. -
Fillable Forms Created with Adobe LiveCycle Designer 7.0
I created a fillable form using Adobe LiveCycle Designer 7.0. Prior to using the form for clients we sent it around to numerous people to make sure it's working properly. We have experienced problems with users that are using older versions of Reader or full versions of Acrobat (5.0 & 6.0). Some problems we have had:
1.) We understand you cannot save the filled out form in older versions, but some users are not even able to print the form (the program shuts down). When the form is opened in an older version it lets the user know that they cannot save the form and it must be printed if they need a copy, but we had one user using version Acrobat version 7.0 that received this message.
2.) Users with full versions of Acrobat 7.0 have been able to fill out the form and save it, but when the form gets back to us it is blank.
3.) Users with Acrobat and Reader 7.0 cannot use the print button, it just does not work.
We were looking to see if there is a way of saving a fillable form down to an older version to see if this can solve our problem. I have not had any luck finding out how to do that. If anyone knows how to do this could you let me know? If not I guess we will go back to the old fashioned way of having the user print the form and fill it out.
Thank you!I'm actually having the exact same problem. I imported a form into Designer 7.0 as an Adobe Reader 6.0 "compatible" form. At first, there were several warning messages in various fields but I changed all of these fields so that they would be compatible. The form works in 6.0, however, whenever a user initially opens the form in 6.0 a message pops up promting the user to upgrade to 7.0 for the form to work. Over half of our users are running Adobe Reader 6.0 so any information on how to prevent this dialouge from coming up would be very appreciated.
Thank you,
Jeff -
Error print success message checksum content error: Action procesada.
I have a problem with an application in the HTML DB that I am creating. the problem is:
I create plicacion from each one of the tables, when trying to enter a registry in the application of concept, sends east error to me, but if it stores the registry. the error is:
Error print success message checksum content error: Action procesada./6Ã1Ã9ÃFE08952600ACEC1E0188Ã C/: 4730F16841157B21D061A969F6640A61.
the design I did it with Oracle designer.
the model contains three tables:
1. file .tab the designer
PROMPT Creating Table 'CONSULTOR'
CREATE TABLE CONSULTOR
(ID_CEDULA NUMERIC(12) NOT NULL
PROMPT Creating Table 'CONCEPTO'
CREATE TABLE CONCEPTO
(ID_CONCEPTO NUMERIC(3) NOT NULL
,DESC_CONCEPTO VARCHAR2(120)
,FACTURABLE VARCHAR(5)
PROMPT Creating Table 'GENERAL'
CREATE TABLE GENERAL
(ID_GENERAL NUMERIC(5) NOT NULL
,CONC_ID_CONCEPTO NUMERIC(3) NOT NULL
,CONS_ID_CEDULA NUMERIC(12) NOT NULL
,FECHA_ACT DATE
,DESCRIPCION_ACT VARCHAR2(120)
,CANTIDAD_HORAS NUMERIC(5)
2. file .con the designer
PROMPT Creating Primary Key on 'CONSULTOR'
ALTER TABLE CONSULTOR ADD (CONSTRAINT
CONS_PK PRIMARY KEY
(ID_CEDULA))
PROMPT Creating Primary Key on 'GENERAL'
ALTER TABLE GENERAL ADD (CONSTRAINT
GENE_PK PRIMARY KEY
(ID_GENERAL))
PROMPT Creating Primary Key on 'CONCEPTO'
ALTER TABLE CONCEPTO ADD (CONSTRAINT
CONC_PK PRIMARY KEY
(ID_CONCEPTO))
PROMPT Creating Foreign Key on 'GENERAL'
ALTER TABLE GENERAL ADD (CONSTRAINT
GENE_CONC_FK FOREIGN KEY
(CONC_ID_CONCEPTO) REFERENCES CONCEPTO
(ID_CONCEPTO))
PROMPT Creating Foreign Key on 'GENERAL'
ALTER TABLE GENERAL ADD (CONSTRAINT
GENE_CONS_FK FOREIGN KEY
(CONS_ID_CEDULA) REFERENCES CONSULTOR
(ID_CEDULA))
3 file . lis de designer
Reconcile Report: C:\Documents and Settings\rolando\Mis documentos\aso\xxx.lis
Generated on Tue Jun 07 09:55:25 2005 by Server Generator 9.0.4.3.14
====== ======== ================ ==============
Object Property Repository Value Database Value
====== ======== ================ ==============
Object Property Repository Value Database Value
Table CONCEPTO * NOT IN DATABASE * ***
Object Type
Data Persistence Permanent
Cluster
Index Only No
Cached
Initial Transactions
Max Transactions
Percent Free
Percent Used
Initial Extents
Next Extent
Min Extents
Max Extents
Percent Increase
Freelists
Freelist Groups
Tablespace
Parallel No
Comment
Column ID_CONCEPTO * NOT IN DATABASE * ***
Datatype NUMERIC
Max Length 3
Scale
Mandatory Yes
Default Value
Domain
Comment
Column DESC_CONCEPTO * NOT IN DATABASE * ***
Datatype VARCHAR2
Max Length 120
Scale
Mandatory No
Default Value
Domain
Comment
Column FACTURABLE * NOT IN DATABASE * ***
Datatype VARCHAR
Max Length 5
Scale
Mandatory No
Default Value
Domain
Comment
Primary Key CONC_PK * NOT IN DATABASE * ***
Enabled Yes
Deferred No
Immediate No
Exception Table
Key Column ID_CONCEPTO
Index CONC_PK * NOT IN DATABASE * ***
Unique Yes
Global No
Bitmapped No
Compute Statistics No
Reverse No
Nosort No
Initial Transactions
Max Transactions
Percent Free
Percent Used
Initial Extents
Next Extent
Min Extents
Max Extents
Percent Increase
Freelists
Freelist Groups
Tablespace
Parallel No
Snapshot Log No No
Table CONCEPTO Differences: 1
Object Property Repository Value Database Value
Table CONSULTOR * NOT IN DATABASE * ***
Object Type
Data Persistence Permanent
Cluster
Index Only No
Cached
Initial Transactions
Max Transactions
Percent Free
Percent Used
Initial Extents
Next Extent
Min Extents
Max Extents
Percent Increase
Freelists
Freelist Groups
Tablespace
Parallel No
Comment
Column ID_CEDULA * NOT IN DATABASE * ***
Datatype NUMERIC
Max Length 12
Scale
Mandatory Yes
Default Value
Domain
Comment
Primary Key CONS_PK * NOT IN DATABASE * ***
Enabled Yes
Deferred No
Immediate No
Exception Table
Key Column ID_CEDULA
Index CONS_PK * NOT IN DATABASE * ***
Unique Yes
Global No
Bitmapped No
Compute Statistics No
Reverse No
Nosort No
Initial Transactions
Max Transactions
Percent Free
Percent Used
Initial Extents
Next Extent
Min Extents
Max Extents
Percent Increase
Freelists
Freelist Groups
Tablespace
Parallel No
Snapshot Log No No
Table CONSULTOR Differences: 1
Object Property Repository Value Database Value
Table GENERAL * NOT IN DATABASE * ***
Object Type
Data Persistence Permanent
Cluster
Index Only No
Cached
Initial Transactions
Max Transactions
Percent Free
Percent Used
Initial Extents
Next Extent
Min Extents
Max Extents
Percent Increase
Freelists
Freelist Groups
Tablespace
Parallel No
Comment
Column ID_GENERAL * NOT IN DATABASE * ***
Datatype NUMERIC
Max Length 5
Scale
Mandatory Yes
Default Value
Domain
Comment
Column CONC_ID_CONCEPTO * NOT IN DATABASE * ***
Datatype NUMERIC
Max Length 3
Scale
Mandatory Yes
Default Value
Domain
Comment
Column CONS_ID_CEDULA * NOT IN DATABASE * ***
Datatype NUMERIC
Max Length 12
Scale
Mandatory Yes
Default Value
Domain
Comment
Column FECHA_ACT * NOT IN DATABASE * ***
Datatype DATE
Max Length
Scale
Mandatory No
Default Value
Domain
Comment
Column DESCRIPCION_ACT * NOT IN DATABASE * ***
Datatype VARCHAR2
Max Length 120
Scale
Mandatory No
Default Value
Domain
Comment
Column CANTIDAD_HORAS * NOT IN DATABASE * ***
Datatype NUMERIC
Max Length 5
Scale
Mandatory No
Default Value
Domain
Comment
Primary Key GENE_PK * NOT IN DATABASE * ***
Enabled Yes
Deferred No
Immediate No
Exception Table
Key Column ID_GENERAL
Index GENE_PK * NOT IN DATABASE * ***
Unique Yes
Global No
Bitmapped No
Compute Statistics No
Reverse No
Nosort No
Initial Transactions
Max Transactions
Percent Free
Percent Used
Initial Extents
Next Extent
Min Extents
Max Extents
Percent Increase
Freelists
Freelist Groups
Tablespace
Parallel No
Foreign Key GENE_CONC_FK * NOT IN DATABASE * ***
Enabled Yes
Deferred No
Immediate No
Cascade Delete RESTRICT
Cascade Update RESTRICT
Exception Table
Join Table CONCEPTO
Key Column CONC_ID_CONCEPTO
Referenced Column CONCEPTO.ID_CONCEPTO
Foreign Key GENE_CONS_FK * NOT IN DATABASE * ***
Enabled Yes
Deferred No
Immediate No
Cascade Delete RESTRICT
Cascade Update RESTRICT
Exception Table
Join Table CONSULTOR
Key Column CONS_ID_CEDULA
Referenced Column CONSULTOR.ID_CEDULA
Snapshot Log No No
Table GENERAL Differences: 1
====================================================================================================================================
Total Differences: 3
====================================================================================================================================Rolando - We don't need all that information about the data model and such. Can you describe what the application does on the page that gives the error? I mean, you submit the page, it performs some after-submit processes (what do they do and how many processes are there?) and then it has some kind of branch to the same page or another page. Describe the processes, show us the success message for each process, exactly as they are formatted in the process definition page, and describe the branches (to the same page, another page, do they use URL redirects? And also please post the entire URL that you see when the error page is displayed.
Finally, please provide all the output from the About HTML DB page: Workspace Home -> Click the About HTML DB link under Workspace Administration on the far right side of the page. Then copy all the output and show it here.
Scott -
I typed in data into the highlighted text box, and then tried to print my form. However, when printed, the copy only showed a portion of my answer. Is there a way to expand Adobe Reader's highlighted text to show my full response, or should I make my responses only as long as the highlighted portion allows?
While printing any pdf file it will print the visible text only. To overcome this, the form needs to be dynamic so that it expands in layout while entering more data. Usually dynamic forms are developed by Adobe LiveCycle Designer.
~Deepak -
Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE
I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
Still my system is not working as expected:
1. FP_JOB_OPEN is called
2. the generated Adobe Forms function is called multiple times
3. FP_JOB_CLOSE is called
This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
(Coding should work anywhere with copy-pase.)
data: fm_name type rs38l_fnam,
fp_docparams type sfpdocparams,
fp_outputparams type sfpoutputparams.
parameters: p_fpname type fpname default 'FP_TEST_02'.
* Get the name of the generated function module
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = p_fpname
importing
e_funcname = fm_name.
* Sets the output parameters and opens the spool job
call function 'FP_JOB_OPEN'
changing
ie_outputparams = fp_outputparams
exceptions
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
others = 5.
* Call the generated function module
call function fm_name.
* SECOND CALL ****************************
call function fm_name.
* Close the spool job
call function 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.Hi ZSOLT,
In order to call the form multiple times please do the following,
1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
CLEAR fp_outputparams.
fp_outputparams-dest = 'PDF1'. "Default pdf printer
fp_outputparams-reqnew = 'X'. "New spool request
Now call your FM FP_JOB_OPEN with the above output parameters.
2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
But here I am enhancing your example code.
In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
data l_datatypes type sfpdatatypes.
prepare test data
l_datatypes-char = '#'.
l_datatypes-string = 'Auf geht''s! '. "#EC NOTEXT
l_datatypes-numc = '42'.
l_datatypes-dec = 0 - ( 12345 / 7 ).
l_datatypes-fltp = 0 - ( 12345 / 7 ).
l_datatypes-int = 4711.
l_datatypes-curr = 0 - ( 12345 / 7 ).
l_datatypes-cuky = 'JPY'. " no decimals
l_datatypes-quan = 12345 / 7.
l_datatypes-unit = 'DEG'. " 1 decimal
l_datatypes-date = '20040613'.
l_datatypes-time = '100600'.
l_datatypes-lang = sy-langu.
FIRST CALL ****************************
Call the generated function module
CLEAR fp_docparams.
fp_docparams-langu = 'EN'.
fp_docparams-country = 'US'.
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
datatypes = l_datatypes
mychar = l_datatypes-char
mybyte =
mystring = l_datatypes-string
myxstring =
mydate = l_datatypes-date
mytime = l_datatypes-time
mynum = l_datatypes-numc
myint = l_datatypes-int
myfloat = l_datatypes-fltp
mypacked = l_datatypes-dec
IMPORTING
/1BCDWB/FORMOUTPUT =
prepare test data
l_datatypes-char = '#'.
l_datatypes-string = 'Auf geht''s! '. "#EC NOTEXT
l_datatypes-numc = '42'.
l_datatypes-dec = 0 - ( 12345 / 7 ).
l_datatypes-fltp = 0 - ( 12345 / 7 ).
l_datatypes-int = 4711.
l_datatypes-curr = 0 - ( 12345 / 7 ).
l_datatypes-cuky = 'JPY'. " no decimals
l_datatypes-quan = 12345 / 7.
l_datatypes-unit = 'DEG'. " 1 decimal
l_datatypes-date = '20100913'. "You need to change your data in order it to trigger a new form with the new data.
l_datatypes-time = '10700'. "You need to change your data in order it to trigger a new form with the new data.
l_datatypes-lang = sy-langu.
SECOND CALL ****************************
Call the generated function module
CLEAR fp_docparams.
fp_docparams-langu = 'EN'.
fp_docparams-country = 'US'.
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
datatypes = l_datatypes
mychar = l_datatypes-char
mybyte =
mystring = l_datatypes-string
myxstring =
mydate = l_datatypes-date
mytime = l_datatypes-time
mynum = l_datatypes-numc
myint = l_datatypes-int
myfloat = l_datatypes-fltp
mypacked = l_datatypes-dec
IMPORTING
/1BCDWB/FORMOUTPUT =
Close the spool job
call function 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
I have tested the above code and I am getting multiple forms.
Please try on your end and let me know if it works.
Thanks
Raj -
Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT
I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
So now I have 2 questions:
a) How can I disable the "Printed successfully"-Message
b) What hava I to do that I not must press on the Refresh-Button to start the printing again
I hope I hava explained my problem clearly. 4
Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');
Many thanx for your help!
Regards
MarcHello,
for the problem:
b) What hava I to do that I not must press on the Refresh-Button to start the printing again
may be it just a setting in your Browser ?
For Internet Explorer :
go to I.E General Options screen. click on settings button and choose
"Every visit to the page " option.
Regards -
How to print a form in a UIX page
I want to print a form in a UIX page? I have tried a lot of methods,but they did not work.I only want to print the contents in the form ,not including the contents of the page title ,tab bar,etc. Can someone tell me?Thank you!
Yu -
You'll want to use the "printable" facet when rendering your page. The following sample page contains a button which allows the user to view the "printable" version of the page. It uses the <showFacet> event handler to switch to the printable facet:
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller">
<content>
<pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
<tabs>
<tabBar>
<contents>
<link text="Hello"/>
<link text="World"/>
</contents>
</tabBar>
</tabs>
<pageButtons>
<pageButtonBar>
<contents>
<button text="Show Printable Page" ctrl:event="showPrintable"/>
</contents>
</pageButtonBar>
</pageButtons>
<contents>
<text text="Printable area"/>
</contents>
</pageLayout>
</content>
<handlers>
<!-- Use the showFacet event handler to switch over to
the "printable" facet -->
<event name="showPrintable">
<showFacet name="printable"/>
</event>
</handlers>
</page>Andy
Maybe you are looking for
-
How can I audit a SSO USER from login in OID to connect on a database i.e. which SSO USER is connected with the database? Michael
-
Fields update in "Schedule Lines for FRC sched." in a scheduling agreement
May I know how the following fields in the "Schedule Lines for FRC sched." section in a scheduling agreement are being updated? We have already a new inbound delivery with goods receipt (last June 1, 2010) but the following fields still show the prev
-
Search and replace string not work as per required
please find the attachment. i am trying to replace the variable names but it doesnt replace the variable as i expected. Please help me in this Attachments: Replace String.vi 8 KB Replace String.vi 8 KB
-
Goods recipt against conformation qty
Dear sir i have production order qty 10 nos and i conformed qty 2nos , but when i do gr system allow to me to do 10 nos . but i want do gr only 2nos as for confrmation. so system should not allow to post order qt, sysytem allow to post for gr only
-
File, Import movies only allows some .mov file to be imported. I, of course, have some that will not import (they are grayed out). How can I get them to a format that will be read by iMovie? If I buy the pro Quicktime, will it let me open them, save