Error in printing parameter
when i compile this page i got in the user_id field null but it's available in the url which means that it send it but there is an error in the printing code.the code of this page is below:
<!--
Project Name: CMS
File name: listArticles.jsp
Description:This is a jsp page to list articles
Data: 23423
-->
<html>
<head>
<%@ page import="java.sql.*" %>
<%@ page import="java.io.*"%>
<%@ page import="java.util.*"%>
</head>
<body bgcolor="#fdfcdd">
<form name="article" action="saveedited.jsp">
<%
Statement createStatement = null;
ResultSet rs = null;
Connection con = null;
String article_id= null;
int category_id=0;
String category_name = null;
String headline = null;
String summary = null;
String body = null;
String keywords = null;
String user = "cms_onf";
String password = "cms1234";
String url = null;
String user_id=request.getParameter("user_id");
try{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
url = "jdbc:oracle:thin:@172.16.50.66:1521:csdb";
con = DriverManager.getConnection(url,user,password);
createStatement=con.createStatement();
article_id=request.getParameter("article_id");
rs=createStatement.executeQuery("select * from articles,categories where articles.category_id=categories.category_id and article_id="+article_id);
}catch(SQLException e){ /*if any error ocurred print error*/
out.println("Error in connection");
catch(Exception e){
out.println("Error in your connection");
%>
<%
while (rs.next()){
headline = rs.getString("headline");
category_id= rs.getInt("category_id");
category_name = rs.getString("category_name");
summary = rs.getString("summary");
body = rs.getString("body");
keywords = rs.getString("keywords");
%>
<table width="100%">
<tr>
<td>
user_id
</td>
<td>
<input type="text" name="user_id" size="4" value="<%=user_id%>">
</td>
</tr>
<tr>
<td>
Article Id
</td>
<td>
<input type="text" name="article_id" size="40" value="<%=article_id%>">
</td>
</tr>
<tr>
<td>
Headline
</td>
<td>
<input type="text" name="headline" size="40" value="<%=headline%>">
</td>
</tr>
<tr>
<td>
Category
</td>
<td>
<select name="category name">
<option><%=category_name%>
<option>Sports
<option>Technology
<option>Science
<option>History
<option>Geography
<option>Computer
<option>Media
</td>
</tr>
<tr>
<td>
Summary
</td>
<td>
<textarea><%=summary%></textarea>
</td>
</tr>
<tr>
<td>
Body
</td>
<td>
<textarea><%=body%></textarea>
</td>
</tr>
<tr>
<td>
Keywords
</td>
<td>
<input type="text" name="keywords" size="40" value="<%=keywords%>">
</td>
</tr>
<%
%>
</table>
<br><input type="submit" value="save">
<input type="hidden" name="article_id" value="<%=article_id%>">
</form>
</body>
</html>
don't you need a method="post" in your form tag?
Similar Messages
-
Error printing Check - "Missing Parameter Values. Error During Printing"
Dear friends,
Our client is in SAP B1 8.81 Pl07 and is facing an error while printing checks designed in Crystal Reports. As soon as they click on "Print" button, we are getting an error "Missing Parameter Values. Error During Printing".
We have checked the Crystal Reports and all the parameters are given.
Can anyone help me regarding this?
Thanks and regards,
Bharath Shi,
Quoted from Note 1555170
1555170 - Error 'Missing parameter values' printing with CR layout
Symptom
When you print on add any stock transactions document, with Crystal report layout, you receive error message:'Missing parameter values' and then 'Error during the printing; ensure all parameters are defined'
Step by Step scenario:
1.Go to Administration / System Initialization / Print preferences and select the tab per document.
2.Select the document stock transfer and tick the box print document when adding document and click on update.
3.Go to stock management / stock transactions / stock transfer
set the Crystal report template as default.
Note:
- The issue is reproduced also for Goods Receipt and Good Issue.
- The issue is reporduced with any Crystal Report Template for the above documents.
Cause
Program error
Solution
This issue is candidate for a change in a future release of SAP Business One.
Workarounds:
1.Use PLD for printing the stock transactions.
2.Convert the PLD layout to Crystal reports with Crystal converter.
3.Print the document after adding it.
Other terms
sap business one, printing issues, good issue, good receipt, stock transfer, crystal report, print preferences, print when adding, dockey, missing parameter
Header Data
Released on 07.02.2011 13:27:30
Release status Released for Customer
Component SBO-REP-CR Crystal Reports 2008 for SAP Business One
Other Components
SBO-GEN-PRT Printing Issues
Priority Correction with low priority
Category Program error
Validity
Software Component
Version
SAP BUSINESS ONE
8.8
8.81
you can download the PLD to Crystal Converter [here|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/108305a7-1555-2d10-8289-9a178d441c71]
regards,
Fidel -
REP-3002: Error initializing printer
Hello,
This is my configuraton:
Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i, formserver 6i and reports 6i.
Services WebDb and Listener are running.
I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
control panel of NT4, this printer is set as the 'default' printer.
'myform.fmx' is a simple form.
The code consists only of a 'when-button-pressed' trigger as follows:
declare
pl paramlist;Ln varchar(15) :='Elsa';
BEGIN
pl :=get_parameter_list(Ln);
if not id_null(pl) then destroy_parameter_list(pl);end if;
pl :=create_parameter_list('Elsa');
add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
destroy_parameter_list(pl);
END;
'myrep.rep' is a simple report, consisting of:
select user from dual;
generated by the wizard.
When I run the form in preview for the web in formbuilder 6i, then it works very well,
it prints my report.
But when I run it from the cgi 'ifcgi60.exe' by the command
start -> programs -> oracle forms 6i -> run a form on the web
it returns
http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
form=myform.fmx&userid=&otherparams=useSDI=yes&
lookAndFeel=generic&colorScheme=teal
then the error returned in the webbrowser is
'REP-3002: Error initializing printer. Please make sure a printer is installed.'
if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
Please can someone help me.
Best Regards,
Carl Willems.
[email protected]<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by aapmens ():
Hello,
This is my configuraton:
Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i 6.0.8.8.0, formserver 6i and reports 6i 6.0.8.8.3.
Services WebDb and Listener are running.
I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
control panel of NT4, this printer is set as the 'default' printer.
'myform.fmx' is a simple form.
The code consists only of a 'when-button-pressed' trigger as follows:
declare
pl paramlist;Ln varchar(15) :='Elsa';
BEGIN
pl :=get_parameter_list(Ln);
if not id_null(pl) then destroy_parameter_list(pl);end if;
pl :=create_parameter_list('Elsa');
add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
destroy_parameter_list(pl);
END;
'myrep.rep' is a simple report, consisting of:
select user from dual;
generated by the wizard.
When I run the form in preview for the web in formbuilder 6i, then it works very well,
it prints my report.
But when I run it from the cgi 'ifcgi60.exe' by the command
start -> programs -> oracle forms 6i -> run a form on the web
it returns
http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
form=myform.fmx&userid=&otherparams=useSDI=yes&
lookAndFeel=generic&colorScheme=teal
then the error returned in the webbrowser is
'REP-3002: Error initializing printer. Please make sure a printer is installed.'
if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
Please can someone help me.
Best Regards,
Carl Willems.
[email protected]<HR></BLOCKQUOTE>
null -
Error Message: "The parameter is incorrect" when trying to modify SSLs
Like I wrote in my subject line, RoboHelp pop-ups the error message “The Parameter is incorrect” when I try to modify any SSL.
What happens next, is that the “Print Document General” window opens, but does not allow me to select anything (the fields are blank).
If I close the window and open it again, it seems to work until I have to select the styles from our Microsoft Word Template.
Then the error message “The parameter is incorrect” appears again, and RoboHelp does not allow me to select anything but a stylesheet
(which is not what I need).
This is very strange, because not only until recently I was able to build Word documents and PDFs, but also my colleagues are able to
produce them out of my source.
Even the old projects, that I was able to build, now I cannot.
I do not have any problem in generating CHMs.
Until now I have tried everything I found in the forum:
I deleted the PSS file (also following the advice in your snippet number 14 from 10 – RoboHelp HTML –Features and Use).
http://forums.adobe.com/thread/120022
I reinstalled RoboHelp and the Adobe Technical Communication Suite (I also used CCleaner to delete the registries).
http://forums.adobe.com/thread/598335
I gave Administrator rights to all users in my computer (what seemed to work for some SSLs, but not for all)
http://forums.adobe.com/thread/870339
I am also looking at all programs that I installed since the last time I was able to build .docs in case there is a conflict, but I do not find anything!
My computer has Windows 7 installed and I use the Adobe Technical Communication Suite 3.5, with RoboHelp 9.
My Microsoft Office is 2010.
Can somebody please help me? Did someone have the same problem?
Thanks in advance.Hi there
I know you said you reinstalled, but did you reinstall before or after you gave administrator rights to all users on your computer? And how many users *ARE* on your computer?
Often you need administrator rights to properly install things.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Dear all,
I get the following error msg Incorrect Print Parameter when executing an ABAP Program Variant in a process chain. Why is it doing a print and what does this msg means? any insight?
ohya, the abap program DOES NOT call a printer function... its a Z*1. You can try reinstalling Printer drivers.
2. Reconfigure printer on client machine
remove printer -> add printer -> local
3. Check the RDS server, Whether Printer redirection is enabled or not,
host machine: Computer configuration -> windows components -> remote desktop services -> remote desktop session host -> printer redirection
set "use remote desktop easy print printer driver first" to disabled
Restart client machine
Regards,
Manjunath Sullad -
Which Funtion module can get print parameter in the background?
Hi all,
I know the FM"GET_PRINT_PARAMETERS"can get the print parameter, but I find it can't get the print parameter in background. Does anybody know Which Funtion module can get print parameter in the background?
Thanks in advance!
NinaHi Nina,
This is text copied from SAP HELP.
FU GET_PRINT_PARAMETERS
Text
Read, determine, change spool print parameters and archive parameters
Functionality
The function module GET_PRINT_PARAMETERS is used to define, modify and
display the print and archive parameters. Using this function module is
the only correct way to modify a print or archive parameter record. The
print parameters are closely related and contain a check total. This
check total becomes invalid if any of the print parameters are changed
and causes a runtime error when the print parameters are used later.
The module recognizes the following modes (values of parameter MODE):
'PARAM' Normal case. Define the print parameters for the
current program. The values that are not defined
are specified from the user master record or are
assigned default values. The print parameter screen
displays the PRINT key. This mode is used
if the MODE parameter is not specified.
'PARAMSEL' Like PARAMS, except that the print parameter screen
includes an option to activate the selection
screen.
'BATCH' Define the print parameters for a background job.
In this mode, the name of the report to be started
is passed with the REPORT parameter.The REPORT
statement of the specified report is checked for
LINE-SIZE and LINE-COUNT definitions. These
definitions are passed as default specifications.
Furthermore, the SAVE key is offered
instead of the PRINT key in this mode.
Check the BATCH MODE. -
What does the error message "Bad parameter - bad /Widths" mean?
In trying to add Bates numbers to a multi-page file, the numbering always proceeds up to the same page, then stops with the error message "Bad parameter -- the font 'OPSUFont0' contains bad/Widths." What does that mean, and how do I correct it? The page itself will not accept a Bates number.
Message was edited by: AllanHaleyGot a document with this same problem (Acrobat X): "The font 'OPSUFont0' contains bad /widths."
Printing and rescanning the offending page has been the past solution.
Took a closer look using Preflight > Analyze > Overview > Fonts --- the difference from other fonts in the document is "Font defines differences from base encoding"
When that is clicked upon, it goes to the page and there is a little place delineated with blue lines.
Problem isolated -- How to fix it? -
Error while printing.
PowerPC Mac 10.4.11, Print with Safari with: Error while printing.
Others AP: Printer Setting Utility can't pop up, no effective. -
When sharing my 60 minutes iMovie project with iDVD inmediately message 'The project could not be prepared for publishing because an error occurred (Error in user parameter list)' appears. Could not find the user parameter list, so I've no more info about this error.
Option File - Finalize Project gives inmediately the same errormessage.
Also option Share - Media Browser - Large/Medium/Mobile give the same errormessage.
Please advise, thank you!Additional info: trying to write to internal disk (268 GB Free out of 499 GB)
Please advise, alko80 -
HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome
HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome. Extra large font sizes and weird formatting issues only when printing emails from Gmail within Chrome. No problems when printing the same email from Gmail+Internet Exolorer or Thunderbird. Using the IE Tab extension in Chrome prints the email correctly but the style of Gmail's message window is completely weird ie: formatting bar is spread out vertically instead of horizontally. I believe it is clear that this is an application specific issue between the HP LASERJET CP1525nw printer and Google Chrome + Gmail. This printing scenario does not occur when printing anything else or when printing via another printer. I would appreciate receiving any suggestions to solve this issue.
OS: Windows 7 Ultimate x64
Browser: Google Chrome 15
HP Print driver: HP Universal Print Driver for Windows PCL6 v5.4.0
Printer is connected by WiFi to 4 computersHi AbZu,
You need to contact Google Chromes technical support as this is only an issue with Chrome. You have indicated that the printer functions correctly everywhere else. Check out the link below for Google Chrome technical support. Let me know if you need additional assistance?
http://support.google.com/chrome/?hl=en
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution" -
Error when printing reports from forms in Linux
Im having an error when printing a report from a form. The problem is, only with certain forms. when printing a report (to PDF) from other forms, it prints with no problems. The oracle is 10g AS and operating system is Redhat AS 3.
The error, in the log from the reports server is:
[2004/9/7 7:14:59:599] Exception 62204 (): Internal error writing the image BandCombine: a row of the matrix does not have the correct number o
f entries, should be OpImage.getExpandedNumBands(source0.getSampleModel(), source0.getColorModel()) + 1..
exception oracle.reports.RWException {
oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
int errorCode=62204,
java.lang.String errorString="Internal error writing the image BandCombine: a row of the matrix does not have the correct number of entries, sh
ould be OpImage.getExpandedNumBands(source0.getSampleModel(), source0.getColorModel()) + 1..",
java.lang.String moduleName="REP"
at oracle.reports.utility.Utility.newRWException(Utility.java:604)
at oracle.reports.toolkit.image.writer.JPEGImageWriter.writeImage(JPEGImageWriter.java:130)
at oracle.reports.toolkit.image.ImageManager.writeJPEGImage(ImageManager.java:524)
at oracle.reports.engine.EngineImpl.CRunReport(Native Method)
at oracle.reports.engine.EngineImpl.run(EngineImpl.java:353)
at oracle.reports.engine.EngineClassPOATie.run(EngineClassPOATie.java:84)
at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:117)
at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:62)
at com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2355)
at com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:104)
at com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java:492)
at com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapter.java:64)
at com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java:653)
at com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.java:99)
at com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)
[2004/9/7 7:14:59:599] Error 50103 (C Engine): 19:14:59 ERR REP-0069: Internal error
REP-62204: Internal error writing the image BandCombine: a row of the matrix does not have the correct number of entries, should be OpImage.get
ExpandedNumBands(source0.getSampleModel(), source0.getColorModel()) + 1..
[2004/9/7 7:14:59:600] Error 50103 (C Engine): Error Writing Image, ID 2
[2004/9/7 7:14:59:601] Error 50103 (rwtic:rwticga): Look up for image attributes for image 2
[2004/9/7 7:14:59:602] Error 50103 (rwtic:rwticgi): Looking up for Image, ID 2 in the cache
[2004/9/7 7:14:59:603] Error 50103 (rwtic:rwticgi): Loading the Image into the cache
[2004/9/7 7:14:59:603] Debug 50103 (ImageManager:getImageSource): Retrieving the Image object for ID : 2
[2004/9/7 7:14:59:603] Error 50103 (rwtic:rwticgi): Image successfully loaded into the cache
[2004/9/7 7:14:59:604] Debug 50103 (ImageSource:getImageHeight ): Start Height : 155
[2004/9/7 7:14:59:604] Debug 50103 (ImageSource:getImageWidth ): Start : width : 138
[2004/9/7 7:14:59:604] Debug 50103 (ImageSource:getImageColorSpace ): Start
[2004/9/7 7:14:59:608] Exception 50125 (): Caught exception: java.lang.NullPointerException
exception oracle.reports.RWException {
oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
int errorCode=50125,
If anyone could help me, is important !
Thx in advance
Bruno SantosRaise a TAR I reckon
-
Error during print request output. l_rc = 1
Hi ,
I have a request to create on ouput device which can copy the spool request to desired location in application server. Our server is not connected to any physical server and is windows NT.
I am tring to create ACCESS TYPE 'L' with host printer name '__default'.
I am using control set to copy file at desired location on server
COPY &F <path for file to be copied>&T
File is being copied to desired location but its returing error message "Error during print request output. l_rc = 1"
Complete log is below:
SAP spool error log
=====================
Print request processing log
The host spool is reporting errors
Message from host spool:
1 file(s) copied.
End of message
Command used: COPY E:\usr\sap\D06\DVEBMGS00\data\000002934300001.D06 E:\interface\D06\
Errors occurred processing this print request
Error during print request output. l_rc = 1
There may be no printout
Most important attributes of spool request
Request number 29343
Request name SCRIPT ZRAJ BASISADMIN
Client 220
Owner BASISADMIN
Request attributes
Time created 2008102906203900
Remaining life +00008000000
Dispo 1 (Go/Hold) G
Dispo 2 (Keep/Delete) K
Dispo 3 (Indirect/Direct) D
Default output device ZRAJ
Default no. copies 1
Format X_PAPER
Main print request characteristics
Spool request number 29343
Print request number 1
Print request attributes
Time created 2008102906203900
Output device ZRAJ
Format X_PAPER
Character converter active when first problem occurred
No information available
Pls help.
Regards
Raj KiranIf you have done a search with your subject line, you would have got the following [results.|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=%22errorduringprintrequestoutput.l_rc%3D1%22&cat=sdn_all]
so do a search in SCN before posting your question.
Regards
Karthik D -
"Print Error Whilst Printing" when trying to print or save as PDF
I don't understand why i can't just print - everytime it says Print error whilst printing whether i'm actually trying to save it or print it. I'm very new to using Macs - 3 days now so not used to how they work yet but i'm running Tiger 10.4.8 on an Intel Mac if anyone can help me please!
Hello Dorin and thank you for your answer.
Yes page 5 is a double page spread and this is not the only one in my book! I will modify the page 5 to see if the error message will appear at the next double page spread....
Thanks again
Richard -
Save to PDF in TextEdit - Error While Printing
When I try to save a text file to PDF I receive the error message - "Error while printing". This only seems to be happening to text files I open or create in TextEdit. It works fine if I log in as a different user. I've run repair permissions and also deleted a couple of com.apple.print plist files in my user library, but the error remains.
Is there anything else I should try short of reinstalling TextEdit?
Thanks in advance for any advice!
RickOn OS X 10.8.2, with TextEdit, I can open or create text documents and export to PDF without any issue.
Here are the two preference tabs and settings that work for me. You can single click on the images for a larger version.
New Document
Open and Save
PDF documents on OS X are created with binary content, which is the junk you observe. -
Hp 5535 will not scan, error message printer not found
I have a HP Envy 5535. I have only been able to scan one time with it. I scanned 22 documents, after running HP Scan Doc 4.4. Each time the HP Scan Doc states that everything is OK, yet as soon as I try to do even a test scan, I get the error message "Printer not found." I have also tried to run this scan with my McAfee virus firewall off, and it still doesn't work. I have also identified it on McAfee as part of my network.
This question was solved.
View Solution.Hi @prazdancr,
Welcome to the HP Forums!
I am sorry that you cannot scan with your HP Envy 5535, but I am happy to help!
For further assistance I will need to know:
If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
If the printer is connected, Wireless, or USB.
If the printer is able to make copies by itself.
If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well.
In the meantime, please try going through this scanning guide. A 'The computer is not responding' Error Message Displays During Scanning.
Hope to hear from you soon, and have a nice day!
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!
Maybe you are looking for
-
Biller Direct sporadically not posting Credit Card Payments to the backend
Hope someone has experience this issue before. While we are part of the Public Sector - Higher Ed group, I believe others may have experience this issue. I have spoken with the other Higher Ed customers and we have all experienced this, some more t
-
How can I check to see if there is money left on an iTunes gift card if I can't read the scratch off code?
-
This question might sound stupid but here it goes. How do you hide a file?, i know how to view hidden files (onyx) but i dont know how to make a normal file as hidden
-
Flame won't boot after update (1.4)
Hello, I was running nightly FFOS 1.4 on my Flame for last month. Today, after update and reboot, phone boots into recovery mode. It looks like fastboot (I can see only ThunderSoft(r) logo) but I can't see phone listed with fastboot command. It does,
-
Why is my internet search timing out ?
when i go on the internet to any web site, it times out and cannot load . what is needed to be done ?