480 Topics

Member Avatar for
Member Avatar for Monica_1

Im working with dreamweaver, coded in php On one of my pages, i'm trying to add 2 different print buttons each one printing a differrent portion of the webpage. For example, one print button is printing the first paragraph and the other print button is printting the second paragraph. I …

Member Avatar for pritaeas
0
257
Member Avatar for ddanbe

After reading the intresting articles of vegaseat, I finally decided to get my toes wet. So I installed Pyton 3.3.2 amd the plugin for Visual Studio 2010. The best learning is of course practice, so I started coding right away. Here is my first try: import sys print('Hello World') print('I …

Member Avatar for vegaseat
0
266
Member Avatar for HiHe

Can anyone give this a try? '''print_error_python33.py there are times when a print() trailing newline disappears with Python 3.3.0 this does not happen with Python 3.2.3 or Python 2.7.3 ''' size = 180000 print("creating long string of %d sevens" % size) # create a long string of digits s2 = …

Member Avatar for vegaseat
0
331
Member Avatar for Rajiv9

Dear All, I had created Userform in VBa excel in which data is provided after the final rsult in user form i want to print whole data in specified format What is code of printing for specified format Rajiv

Member Avatar for Begginnerdev
0
135
Member Avatar for suryavanshianki

**I am new in Visual C++ 2008. here is a project which is alredy developed and this time under maintence. In this project there are 5 projects which one one project is depend on another example a,b,c,d,e are 5 projects and b depends on a,c depends on b i.e --a-->b-->c-->d-->e. …

Member Avatar for deceptikon
0
300
Member Avatar for Brad_2

My platform is Ubuntu 12.10 with wx.Python 2.8.12.1 (gtk2-unicode). My application uses wxPython to print text to a printer. I want to use Ubuntu Condensed font face for some of the text. The problem is that when the text is printed the text that should be in Ubuntu Condensed face …

0
145
Member Avatar for EXTRA_RICE

why is command2 in dataenvironment cannot be added on datareport.only the command1 is allowed in datareport.guys pls help me..

Member Avatar for EXTRA_RICE
0
100
Member Avatar for EXTRA_RICE

im doing a program in vb6.0 and im using datagrid as my table for database. i want to print selected rows in datagrid... the system im working on is inventory system printing the selected rows..help me thanxx..

Member Avatar for EXTRA_RICE
0
338
Member Avatar for Dervish1

I've got a web page that allows the user to create a canvas that can be as much as 50,000 pixels on a side (they're maps). I draw everything on a canvas, scaled to the user's viewport. Unfortunately, you can't print a canvas; you have to convert it to an …

Member Avatar for LastMitch
0
168
Member Avatar for akkbkht

Hello. Please help me in the followig questions; How to; * Print a specific form. * To set custome header and footer. * Goto other page, enter data from previous page and trigger a specific button on next page. Regards.

Member Avatar for akkbkht
0
232
Member Avatar for Dervish1

I'm working on my first web app, and have a simple version of the application working. It allows the user to create and edit a fantasy map from a set of terrain tile images - but I can't figure out how to make it print. A print preview (and an …

Member Avatar for Dervish1
0
2K
Member Avatar for espil

I have the following code: <div id="leftDiv" style="float:left; height: 300px; width: 420px;background-color:transparent; position: relative"> <div style="position:absolute; left:141px; top:180px; width: 319px; z-index:1"><b><%=tmpJsonValue2 %></b></div> <div style="position:absolute; left:320px; top:180px; width: 319px; z-index:1"><b><%=tmpJsonValue9 %></b></div> <img id="leftImg" style="width:100%; height:100%; z-index:-1; right: 1124px; top: 9px;" src= "xxx.jpg" /> </div> Which displays an image and on top …

Member Avatar for theHop
0
252
Member Avatar for Martje

Hey guys, I am having a problem where i want to print a image and a simple string. i would want that when i print i get this on paper : [Click Here For Image](http://img339.imageshack.us/img339/9308/wiw.png) I looked up printDocument, printDialog and printPreviewControl from MSDN and got a few examples but …

Member Avatar for tinstaafl
0
344
Member Avatar for cdoggg94

Attached I have an image of a page that looks the way I want (jodyNormal.jpg). When I go to the print preview of the page, and when it prints, the div in the top right moves to the left. (jodyPrint.jpg) this is the CSS for that Div: #fertilizerCSS{ position:absolute; height:379px; …

Member Avatar for pixelsoul
0
139
Member Avatar for masterfact18

what's the code for print button ? ? i got one form and i need to print it but i dont know what's the code for that... help please...

Member Avatar for rishif2
0
87
Member Avatar for tinstaafl

Here's a simple wrapper for printing text. Built as a class library, this can be used in any .net application. This has automatic word wrapping. I figured that using the new constructor to accept different parameters would easily allow for printing different documents with different settings. I included Name, Font, …

1
579
Member Avatar for dewdropz

Hi I am looking for some information regarding VT102 escape codes. Are there any tutorials on this anyone can recommend? Basically, what I need to do is overwrite these print statements within the for loop to my screen: for (int i=0;i<5;i++) { printf("Enter the current price of the product: "); …

Member Avatar for rubberman
0
218
Member Avatar for Reverend Jim

One of the things I have been steadfastly avoiding is writing code to print stuff. Most of what I want to print is from withing apps like Outlook or Word that already provide that functionality. But I finally ended up having to bite the bullet. What I ended up with …

Member Avatar for tinstaafl
2
3K
Member Avatar for raj REDDY

suppose the input is 1,2,3,5-14,16-20,-25,31- :the program must print output: 1 2 3 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 0 1 2 3 ...........25 31 32 33..... til end of file I WAS REJECTED FROM MY LAST ROUND OF INTERVIEW BECAUSE …

Member Avatar for raj REDDY
0
198
Member Avatar for bouncerfloridaalr

I'm sure this has been asked before but can't seem to find it. I've a (mostly) php page which has a simple button on it to print. Printing is done with a simple onClick="print.window()". Everything's fine in that it's calling the print.css correctly and what is being printed is what …

Member Avatar for rsleventhal
0
3K
Member Avatar for chris.italia.31

Hello, I would like my Excel program to print the daily report on a remote printer connnected to Internet through a remote PC. Please help me with a solution. I'm thinking of using Google Print but any other solution is welcome. My best wishes for this New Year ! Cheers, …

Member Avatar for Ancient Dragon
0
85
Member Avatar for meowmonkey

What would be the best way (or any way) to print out a pattern, that may cut off at any point dependant on the x & y length? for example, if i wanted a pattern 4 up (y = 4) and 14 across (x = 14) I would need it …

Member Avatar for NP-complete
0
237
Member Avatar for silversurf

Hello, I am trying to build a pos and inventory system in vb 6.0 with MS-Access database. I do not have much experties in vb 6. Ok here is the question now, I want to build a report like income statement. I have two tables with name tblsales and tblexpense, …

Member Avatar for silversurf
0
355
Member Avatar for ponkhiraj

Hi, In my program, i have created 10 richtextbox dynamically. in all richtextbox i gather text form various websites. All is going fine. now what i want is- i need to print all/selected richtextbox text to printer and also saves it to Word file as following formate: * Richtextbox1 (or …

Member Avatar for tinstaafl
0
647
Member Avatar for Delightfully

Hello All!! I have an assignement that I am working on and for some reason I cannot for the life of me recall how to do something so simple lol. The directions are too "Write a function named Exam, which takes one argument n where n>2. Your function creates a …

Member Avatar for Lucaci Andrew
0
309
Member Avatar for ferdzjorge

How to print pdf directly to printer from published site. It works fine in development environment but not in production. Heres my code using pdfSharp. PdfFilePrinter.AdobeReaderPath = "C:\<AdobeReaderPath>\Reader\AcroRd32.exe" Dim printer As New PdfFilePrinter With printer .PdfFileName = <FileName> .PrinterName = <PrinterName> .Print() End With Thanks!

Member Avatar for john.knapp
0
238
Member Avatar for tcampbell011

Hi, this is a super basic question but my classes are not working the way I expect them to. I am a CS student in my second year so go easy on me! The only other language I know is Java. Here is my class, called class.Team.php (represents a team). …

Member Avatar for Squidge
0
221
Member Avatar for danibecse

How to print a sentence (including white spaces) from a file ? Or How to print entire text file which has a paragraph? I have tried a lot and the final programs is shown below.. but it can't print sentences exceeding certain length... it shows unwanted ASCII characters :( How …

Member Avatar for Daniel BE
0
3K
Member Avatar for arslan.haroon

Hey! I am stuck on a problem in which i have to print an isosceles triangle (two sides equal) with any character. It would be really helpful if someone could tell me the code, the triangle should look like this: * *** ***** *******

Member Avatar for hariskhank
0
103
Member Avatar for pavitrakannan

im making a student marksheet generation project.....and i need a facility to print from turbo c++ to excel.... i have used only file handling and no database(tht was the criteria). pls help.....

Member Avatar for Ancient Dragon
0
113

The End.