480 Topics

Member Avatar for
Member Avatar for rakwel10

Can I configure this function to make it print a certain pixel only? Around 500px X 700px Center. <script language="javascript"> ... function printpage() { window.print(); } </script> Is it possible?

Member Avatar for Airshow
0
154
Member Avatar for Mizki

How do I print values (integer) from memory addresses? I did it with ascii string value, but I can't get it to work with integer value :/ Here is my code for printing ascii string: [CODE]lui $a0, 0x1001 addi $a0, $a0, 4 addi $v0, $0, 4 syscall [/CODE] I tried …

Member Avatar for Schol-R-LEA
0
6K
Member Avatar for Prankmore

I'm trying to determine then print the country of origin of a product based on its bar-code. I have isolated that part of the bar-code and stored it as countryCode, now what i am trying to do is determine its country then store the country name as a string so …

Member Avatar for Prankmore
0
196
Member Avatar for Kleiner

Hi. I am having a problem in creating of one simple program in Python. Here is code. [CODE]import wx class bucky(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, "Testing erea", size=(280,400)) panel = wx.Panel(self) food = wx.Button(panel,label='Food',pos=(10,10),size=(80,40)) pets = wx.Button(panel, label='Pets', pos=(100,10), size=(80,40)) self.Bind(wx.EVT_BUTTON, self.food, food ) def food(self, event): …

Member Avatar for Kleiner
0
280
Member Avatar for TrustyTony

What does this print statement produce and why? Learned it today, I still must be a newbie. [CODE]print('%0*d' % (3, 7))[/CODE]

Member Avatar for Purkinje
1
191
Member Avatar for manzoor.ilahi77

Hi please help me on php form to pdf conversion and at the same time it should save to database visit this [URL="http://servunity.in/form_classII.php"]http://servunity.in/form_classII.php[/URL] I want pdf to look like as in the url [CODE] <form id="form_pdf" action="classII.php" method="POST"> <input type="text" class="f_input input1" style="width:200px;" name="surname" maxlength="30" value="Surname" onBlur="if(this.value=='') this.value='Surname'" onFocus="if(this.value =='Surname' …

Member Avatar for cereal
0
157
Member Avatar for JoshuaBurleson

I am having issues finding a way to have the below program search for any given string of "query" in the keys of the dictionary AB and return the value, or the key and value. Thus far I just done what I have preset in the dictionary; Ashley and Joshua, …

Member Avatar for JoshuaBurleson
0
270
Member Avatar for manzoor.ilahi77

Hi visit [URL="http://servunity.in/old/test/form_classII.php"]http://servunity.in/old/test/form_classII.php[/URL] I need to print that web form and I successfully insert those field into database but I want both function in one submit(click) please help me on this.

Member Avatar for Jonell Inclan
0
215
Member Avatar for metalix

View the full tutorial at [URL="http://www.effectivewebdesign.co.nz/tutorial.php"]http://www.effectivewebdesign.co.nz/tutorial.php[/URL] I have tested this many times and it works fine. Please don't complain unless you really can't get it working, Just PM me and I'll fill in the blanks Happy Coding :)

Member Avatar for Rogueit
0
847
Member Avatar for gambit_1607

after typing in the "Your message:" field and clicking the "Send e-mail", my page refreshes and gives me the error message "Your message field is required." it's as if what i'm typing in the message field gets discarded. also if i type something in "Send to:" and "Subject:" fields and …

Member Avatar for almostbob
0
320
Member Avatar for jaskiratj

hello everyone.. 1)is there a way to print the data present in the griedview? 2)for the same, do we need to export the gridview data to excel for print purpose in web application? if yes, how to export that data... thank you

Member Avatar for shiva07
0
91
Member Avatar for MCMdizajn

Hello, I have problem with documents I print on my HP 1150. Most of the documents are printed from Word/Excel. When I set value of left margin to value 0.2 nothing changes because left margin is *always* set to 2.50 fixed or more and I am unable to change it. …

Member Avatar for BBAD
0
791
Member Avatar for CrankyMero

Hello everyone, So im been looking around and i havent been able to find info of this problem that i have, so this is the main thing I have this datagridview of an inventory, and i added an extra column(unbound) to the dgv, so what i want to be able …

Member Avatar for CrankyMero
0
1K
Member Avatar for __Art

Hello everybody!! I'm trying to print a *.pdf file from Java code, and the printer out gives the right document, but smaller than the original pdf (smaller text, images, margins, everything), the print result seems shrinked from the original... Here is the code I'm using: [CODE] File f = new …

Member Avatar for sbhavan
0
396
Member Avatar for sipchen

I'd like to print preview and print 3 tab pages from a windows form. Below is my code. I was able to get it to work if it's only one tab. but not 3 tab pages. [CODE] Imports System.IO Imports System.Windows.Forms Imports System.Drawing Imports System.Drawing.Printing Public Class Results Dim bmp …

Member Avatar for guptamanav
0
2K
Member Avatar for ChrisHunter

Hi, i'm trying to implement a print function and i can print a single string out but i'm having trouble configuring the page setup properly, mainly moving to a new line when the margin of the page is reached and moving to a new lines for each string in a …

Member Avatar for ChrisHunter
0
157
Member Avatar for shaunsul

Hello all I am working on completing some testing for new printer drives and as you can imagine we go through a lot of paper. Well I would like to see the company save a tree or three. However, part of our driver testing requires that we have a printout …

Member Avatar for xml_looser
0
178
Member Avatar for kool.net

hi, can any one tell me how to i print a page in c#.net. actually i need it to print receipt in my project. Help me. Thanx in advance

Member Avatar for ChrisHunter
0
396
Member Avatar for dunderMiflin

I am a 22 year old college gal currently enrolled in a c++ course, and we are on the topic of recursion. I understand how it works and have completed several other exercises on the professor has listed in the book, but this one has me stumped. Is there anyone …

Member Avatar for Insensus
0
231
Member Avatar for spe_eddy

I can't work out why when i try to print the list(listProb....s) it prints the empty list, i'm not setting them to the empty list after this code or anything, and when i print the normDistProb's on their own it prints fine): [CODE]for i in range(0,12): listProbFog.append(normDistProb(dayValues[i], fogAve[i], fogVar[i])) listProbSnow.append(normDistPr...ob(dayValues[i], …

Member Avatar for TrustyTony
0
180
Member Avatar for insanely_sane

Ok, so you know how, if we want to output the elements of an array to the screen, we have to make a for loop right? So I have the following code... [CODE] char array[] = new char [10]; array[0] = '1'; array[1] = '2'; . . . . array[9] …

Member Avatar for jon.kiparsky
0
2K
Member Avatar for raq_0619

How could I include the image in the print preview? I cant make it work :sad: anyone? please help. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org"> <script type="text/javascript"> // _importNode() needed for IE if (!document.importNode) …

Member Avatar for vsmash
0
160
Member Avatar for TrustyTony

Here is my newest version of the pretty printer I posted earlier. Not doing all that fancy stuff of printing looped recursive structures, but if you put one deeper structure inside flat one, works better for me than pprint module. I do not use often object oriented structures though. Dedicated …

0
658
Member Avatar for stroper

Hye everyone, I am trying to make a 2d-char array, fill it with random letters(chars) and print it. If I do it like this I get a ArrayIndexOutOfBoundsException: 0. I am a newbee. I import my prefs(width, height) from static getters in the class preferences. Can anyone help me please? …

Member Avatar for stroper
0
466
Member Avatar for roottybrian

Hi guys... I am in need of urgent help here! I want to print more than one page on vb.net's printdocument whatever! I quite don't get it quite clearly when it comes to "e.hasmorepages=true" thing It keeps adding pages on and on and on... Please help me.. Thanks

Member Avatar for Luc001
0
165
Member Avatar for Spider05

I have been working on a HW assignment for a while and I cant figure out how to print out a 'user' selected column out of an array. I can print the rows, but I need to know how to print specific columns dictated by user input. My code is …

Member Avatar for gerard4143
0
189
Member Avatar for jlivvers

Hi, in my project I need to allow the user (admin user) to have the ability to run custom queries on the database. Ive done this pretty simply whwer the user enters their query and the reults are set to a datagridview. It would also be great however to allow …

Member Avatar for sandeepparekh9
0
225
Member Avatar for fabzster

Hi I have a db that has the following Data for example: PolicyNumber, StoreId, ConsultantName,ClientName, ClientSurname I would like to have a report that will give me a list of policies done for that day seperated by store printed to PDF. So Basically Store - 12CEL 24Hr001 Bob Joe Soap …

Member Avatar for fabzster
0
1K
Member Avatar for Geowil

Here is my code at the moment: [code] import java.util.Scanner; class menuOperations { String[] fNames = new String[50]; String[] lNames = new String[50]; String fName = " "; String lName = " "; String sFName = " "; String sLName = " "; int dAmount,dTimes,i; Scanner in = new Scanner(System.in); …

Member Avatar for Geowil
0
98
Member Avatar for bazigar286

Hi All! I'm new to this forum and new in the field of software development as well. Anyway, let get to the point. Following is the scenario in which I badly need help: Its basically a printing press software which will have all the job details (Only details) that have …

Member Avatar for Narue
0
138

The End.