480 Topics

Member Avatar for
Member Avatar for syasya

Hi guys , please look here . Consider code segment String a=new String("SMS Message"); String b=new String("SMS Message"); if(a==b) System.out.println("they are equal"); i) why it does not generate an output ? ii) how can we rewrite the program such that it will print the output ?

Member Avatar for jwenting
-1
599
Member Avatar for Diego_4

# I want to eliminate a list from a bigger list, only by typing something # tasks = [] task = [task1,year,month,day, hour, minute, second, microsecond,str(cuando),cuando]# this is a list that is filed into another list named tasks# # If I type a position, I want to eliminate a complete …

Member Avatar for TrustyTony
0
171
Member Avatar for crebs

I am trying to use web2py to build an app. I have a simple print function that a user submits a key word . The string or int key word is directed to an sqlite db to retrieve a row and output the data. I need to know 1. how …

0
170
Member Avatar for sourjya
Member Avatar for Sulaiman_1
0
102
Member Avatar for vivek.vivek

Hello, I have a file as attached. I need to print the lines and count after the pattern "floating" like below. Please help. FEATURE: 4 Line 1 4/17 8:01 Line 21 4/17 8:20 Line 21 4/17 8:50 Line 23 4/17 8:30 FEATURE1: 3 Line 1 4/17 8:45 Line 2 4/17 …

Member Avatar for 2teez
0
171
Member Avatar for ishaan3731

i have this code which tries to enter data into an array of string(char ptr) called token.To do this i have used a while loop to obtain a string as user input and put that string into the token array one by one. But when i try to print the …

Member Avatar for ishaan3731
0
197
Member Avatar for Rakshitha_1

I have Canon pixma ip1300. When I try to print anything it doesnt take the paper in completely but the printing still goes on.. I can see the prints inside the printer where the cartridges are present. Please help me solve this problem.

Member Avatar for since18
0
125
Member Avatar for DS9596

So I have this but I'm not really sure of how to print the smallest element of array `a` , print the sum of all the elements in array `a` , and print the average of all the elements in array `a`. Help please. Is this how to print out …

Member Avatar for nullptr
0
204
Member Avatar for castajiz_2

1. For all the accounts that have authority="admin", set permision to modify all of the files (attribute changes is datatype YES/NO),,, so basically a user can set yes or no depends on his will. 3. For each directory, print out his name, in which directory it is located, and how …

Member Avatar for castajiz_2
0
218
Member Avatar for Diego_4

# I want to print a string in uppercase and backwards# string = raw_input ("Favor ingrese su cadena-> ") print string.upper() #this one prints only in uppercase# `HELLO` #I want to print it backwards# `OLLEH`

Member Avatar for mosquitohippy
0
256
Member Avatar for Diego_4
Member Avatar for mosquitohippy
0
219
Member Avatar for Stavros_1

Hello my Boss recently gave me the assigment to print our entire Wiki in order to have a hard copy in case of emergency. I wouldn't have a problem if that was once but he insists on doing it weekly. I googled long enough to know that there is no …

Member Avatar for chrishea
0
170
Member Avatar for danale

Hello, I have a complex form and a 'Print' button which should print only the contents of a specific DIV. I am using the following function (i found on another forum): [CODE] function PrintContent() { var DocumentContainer = document.getElementById('divName'); var WindowObject = window.open('', 'PrintWindow', 'width=750,height=650,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=yes'); WindowObject.document.writeln(DocumentContainer.innerHTML); WindowObject.document.close(); WindowObject.focus(); WindowObject.print(); WindowObject.close(); …

Member Avatar for tnjnorbert
0
10K
Member Avatar for oberle1515

Need to write a program that will print two patterns: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 and 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 …

Member Avatar for pritaeas
-1
468
Member Avatar for sankubha

I need to get printed documents name and from which ip it is printed using java.

Member Avatar for sankubha
0
214
Member Avatar for jay_08
Member Avatar for Shodow

how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different …

Member Avatar for oussama_1
0
356
Member Avatar for CoilFyzx

Hello I am using jxls quite fine. I'm sort of on my last lap with exporting my data to a file. However all I want to know is, how do I display my collection in the same row please? I've manage to do this downwards in the same column, but …

Member Avatar for CoilFyzx
0
285
Member Avatar for OsaMasw

Hello guys, I have a webpage to print that showing some data, I managed to hide all elements that's are not needed in printing, but background color for cells in table not display in printed version, although I've tried to put <style type="text/css" media="print"> .no-print { display: none; } .bgcol{ …

Member Avatar for OsaMasw
0
28K
Member Avatar for Doogledude123

Alright so I'm coding a Quadratic Equation Solver to help with my Math Class. However the teacher requires each calculation to be written out. I have the solver working, however I'm not sure where to start when it comes to printing each step. I know I will need to `System.out.println()` …

Member Avatar for JamesCherrill
0
263
Member Avatar for SuperKingGT

Hey guys! I'm in the process of writing a bootloader and I'm having trouble printing out memory information, using 16 bit nasm I know INT 12h stores the low memory information in AX but I can't seem to print it out correctly. I'm currently trying to print it by converting …

Member Avatar for SuperKingGT
0
1K
Member Avatar for kumararvind003
Member Avatar for Ewald Horn
0
88
Member Avatar for ruggb

one of my computers has this problem. All r configured the same way. W7, one user, **Admin**, on C drive All other users on D drive All systems r up to date. Network printer hard wired to router. All have the same printer drivers installed. I believe the following symptoms …

Member Avatar for rch1231
0
197
Member Avatar for subrata_ushasi

Hi, In coldfusion we print as <cfoutput>#variable#</cfoutput> but if I want to print # sign that is output will be #. how to do that ?

Member Avatar for EfrainGonzalezBermudez
0
353
Member Avatar for Shanoj_1

how to solve the printing problem in canon LBP 2000B in ubuntu 10.04 in my lap i cannot print confident in canon LBP 2000B in ubuntu 10.04 os sometimes no problem, but windows os no problem.Please find solution to solve the issue in ubuntu 10.04 shanoj c g

0
92
Member Avatar for Gribouillis

This snippet prints a python list of strings in multicolumn format (similarly to linux `ls` command). It uses module prettytable, available in [pypi](https://pypi.python.org/pypi/PrettyTable).

Member Avatar for Gribouillis
3
1K
Member Avatar for happygeek

If you have an AirPrint-enabled printer, the act of wireless printing from your iPhone or iPad is pretty much a no-brainer. If you don't, then there are a number of apps that use a laptop as a print server. While these, on the whole, work OK they do require that …

Member Avatar for larin83109
0
758
Member Avatar for geoamins2

Dear friends i have developed a report using php/html/css. i have included @media print css style using div tag for page break because i want to print on different pages. each and everyting is working fine but only problem is delaying during printing..the printer print one page and sleep for …

Member Avatar for diafol
0
475
Member Avatar for Assembly Guy

**NOTE** This code won't work at the application level. It directly addresses memory at 0xB8000 which will result in a segfault at the application level. This code must be part of an OS or an application in a not-so-secure operating system like DOS, where applications can directly address any part …

Member Avatar for Assembly Guy
0
450
Member Avatar for parth2911

optput its not proper i am tring to print 1 to n given number prime number plese solved error.....

Member Avatar for nitin1
0
301

The End.