Hi there, I am having trouble with hp deskjet 3550 printer..the ink is full..but the problem when i print something it starts printing but when it's finish print an empty paper comes out...nothing on the paper...i tried several times but no success yet...so whats the best method to solve this problem any idea...pls help me...thanks in advance...Zulfiker.

Member Avatar
Member Avatar
+1 forum 26

[B]hi friends[/B] this small compact code is for printing any number of prime numbers in C Language, you just have to change the last line's 500 to any number you want, here some points necessary to understand the code are as follows- 1.> variable torf stands for true or false,in case if number is prime(true condition), torf's value is 1, else it is zero. 2.> here i have used for loop for simplicity, you can modify this if you lOVE TO HANDLE complications. :cool: for any other help, regarding computing, feel free to contact- [I]<<snip>>[/I] SHUBHAM GORE, B.tech (1st YEAR) …

Member Avatar
Member Avatar
-6 forum 22

I need to print the output whereby when int x = 1, it will be show the first 4 elements in the arrayList. int x = 2, it will be show the first 6 elements in the arrayList. int x = 3, it will be show the first 8 elements in the arrayList. shown below is my code. It's probably not optimal solution and I would like to know how can I improve on it. Thanks import java.util.ArrayList; public static void main(String[] args) { int x = 0; ArrayList numbers = new ArrayList(); numbers.add(1); numbers.add(2); numbers.add(3); numbers.add(4); numbers.add(5); numbers.add(6); numbers.add(7); …

Member Avatar
Member Avatar
+0 forum 2

I want to print series like A,B,C ......AB or T,U,V,.....AB or BA,BB,BC,.....CA in series i will input start and end characters can anybody give me logic Thanks

Member Avatar
Member Avatar
+0 forum 3

I'm in the beginning phases of developing a website. I want to be able to limit the amount of printing of web pages of circulars. These will be in an image format and usually consist of between 2 and 16 web pages. The circulars change each week. Is there a way to limit the user to only 1 or X number of prints for each page and for each week? Is this easier done with standard web development or can it be done even easier in a content management system such as WordPress?

Member Avatar
Member Avatar
-1 forum 10

I need a way to print(and later on compare - but for now just print) characters 2 by 2 as in: I have a string of 1F190307091810 and I have to print out: 1F 19 03 04 09 18 10. I need this for Baudot code(I have segments of code given to me and I have to compare letters and numbers - together, two by two) If you don't understand something please ask(I know I explain this in a weird way).

Member Avatar
Member Avatar
+0 forum 8

Hi Team, I have a file which contain following data like BKP0000032183140217000019 053IGZYEVSDOX .........field 2....... field3.....field4..... BKP0000032284140217000019CCTP1220 ............... BKP0000032384140217000019CA ..................... each line has 5 fields Now using shell script i am trying to extract field 4 based on condition that line start with BKP and contain code 84 and CA or CC code grep -A12 " RFND " xfer_BSPDe | grep "^BKP" >file2.txt While read line do awk '{if((substr($1,12,2)==84) && (substr($1,26,2)=='CC' || substr($1,26,2)=='CA') ) print $4;else print "0"}' done<file2.txt it is printing 0 only . any help is appreciable.

Member Avatar
Member Avatar
+0 forum 3

My data is going in to the queue just fine, but when I go to print the data nothing happens. How do I pull the data from the priority queue heap to print? NOTE: The heap implementation cannot be altered. /** ADT priority queue: Heap-based implementation. Listing 17-3. @file Heap_PriorityQueue.h */ #ifndef _HEAP_PRIORITY_QUEUE #define _HEAP_PRIORITY_QUEUE #include "ArrayMaxHeap.h" #include "PriorityQueueInterface.h" template<class ItemType> class Heap_PriorityQueue : public PriorityQueueInterface<ItemType>, private ArrayMaxHeap<ItemType> { public: Heap_PriorityQueue(); bool isEmpty() const; bool add(const ItemType& newEntry); bool remove(); /** @pre The priority queue is not empty. */ ItemType peek() const throw(PrecondViolatedExcep); }; // end Heap_PriorityQueue #include "Heap_PriorityQueue.cpp" #endif …

Member Avatar
Member Avatar
+0 forum 1

Alright, so I am simulating a rice roll 100 times, repeatedly. It's getting some whack numbers for some reason, I can't find the problem in code. I have done some printing of the different variables and it seems fine, but I know theres something wrong. package com.github.geodox.dicerollingstats.main; import java.util.Arrays; import java.util.Random; /** * @author GeoDoX * * RollingStats.java */ public class RollingStats { private static Random rand; //Used for generating the roll private static int[] rolls; //Stores the roll counts private static int[] highestRolls; //Stores the highest roll counts public static void main(String[] args) { rand = new Random(); rolls …

Member Avatar
Member Avatar
+0 forum 14

Hello to all, Having to arrays of the same size like below. A = ["SL","MW","OP"] B = ["RU","YF","L2"] How can I concatenate in columns to print in parallel like below? SL - RU MW - YF OP - L2 I've tried with code below but is printing all in one column puts A << "-" << B Thanks in advance for any help.

Member Avatar
Member Avatar
+0 forum 18

Hello , I have to write a code that read a file in python and convert each chaaravter to 1, or 0 and send these digets to a a selonoid to make a strike or not to make ( brille printing ) is that possible ???? please need your help no time left :( :(

Member Avatar
Member Avatar
+0 forum 12

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
Member Avatar
+0 forum 1

hi so why isnt queue printing anything where it should? #include<iostream> #include<string> using namespace std; template<class ItemType> struct NodeType { ItemType info; NodeType* next; }; template<class ItemType> class Queue { private: int size; NodeType<ItemType>* front; // It points to the front of a singly-linked list NodeType<ItemType>* rear; // It points to the end of a singly-linked list public: Queue(); // default constructor: Queue is created and empty Queue(const Queue<ItemType> &x); // copy constructor: implicitly called // for a deep copy void MakeEmpty(); // Queue is made empty; you should deallocate all // the nodes of the linked list bool IsEmpty(); …

Member Avatar
Member Avatar
+0 forum 2

Hi all I have a json format which has two objects Created_date and Reply_date. Created_date has a date on which a message is created and the Reply_date tells when the user has replied to that messge. So I am getting the Created_date as follows var createDate = new Date(Created_date); var newDate = createDate.getDate(); var month = createDate.getMonth(); var monthArray = new Array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); var year = createDate.getFullYear(); var compareMonth = monthArray(month); var displayDate = compareMonth+ " "+ newDate+" , "+ year; alert(displayDate); So this returns the created date. Now I would like to compare the created date and the reply …

Member Avatar
Member Avatar
+0 forum 2

We were given a task to use lists and iterators. We were supposed to make them from scratch. I'm done with that. The problems that I'm having are as following: 1. I'm not able to access the list made of Course datatype which is present in each Student instance. Does this mean I need to make an iterator for that course list inside the student class? 2. Similarly since I don't have direct access to The course list so I added the course into the Student list through the student objects not through the iterator. How can I do it …

Member Avatar
Member Avatar
+0 forum 1

I am developing a client server application in C#. I am sending from my server to client an object of `Student` type which I serialize on the server side and deserialize on client side. The serialization and deserialization are as follows : // server side serialization. Student s1 = new Student("Chuck","Noris"); BinaryFormatter binaryFormatter = new BinaryFormatter(); binaryFormatter.Serialize(writer.BaseStream, s1); // client side deserialization. 1.BinaryFormatter bin = new BinaryFormatter(); 2.Student s1 = (Student)bin.Deserialize(receive.BaseStream); 3.Console.WriteLine(s1.ToString()); and i get this error at runtime: >[A]ServerClient.Student cannot be cast to [B]ServerClient.Student. >Type A originates from 'Server, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in >the context 'Default' at location >D:\Faculty\Workspace\C#\ServerClient\ServerClient\Server.exe'. …

Member Avatar
Member Avatar
+0 forum 2

Here is my code that is doing the printing that gets messed up. The output is fine when you display it to your screen (terminal). Unfortunately when you redirect it to a text file it gets messed up. It displays the null characters (^@) and Enquiry characters (^E). I have to use a for loop like this or my outputs gets messed up. I can't use the %s option or my output won't be in the way I need it. FILE *input; char line[80] = {0}; while(fgets(line, 80, input) != NULL) { if((int)line[0] == 46) { //printf("You have a period …

Member Avatar
Member Avatar
+0 forum 1

I'm having trouble displying the contents of a queue. When I pop the queue here: for( int i = 0; i < diskQueue.size() + 1; i++ ) { cout << left << setw(0) << "--d" << i+1 << left << setw(4) << " " << left << setw(14) << diskQueue.front().getFilename() << left << setw(14) << diskQueue.front().getMemoryStart() << left << setw(14) << diskQueue.front().getFileLength() << diskQueue.front().getRW() << endl; diskQueue.pop(); } I have to empty the queue, which is not what I want to do. Is there a way to print the contents of this queue without emptying it? Here is the complete …

Member Avatar
Member Avatar
+0 forum 2

Alright so I was not sure exactly how to say this, but here is the idea. I have a graph or table I guess you could call that looks like this. [CODE] print ''' ----------------------------- | | | |x | | | |----------------------------- ''' [/CODE] Then I want to make a change to where x is for example moving it down twice. How would I go about this without having the first table appear?

Member Avatar
Member Avatar
+0 forum 8

The End.