97 Topics
I got a little nostalgic recently thinking back to the 80's when I'd print some code on fanfold paper through a dot matrix. I liked being able to flip back and forth through the pages looking for code to optimize and make notes with a red pen. I could do …
I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the …
[B][COLOR="Green"]Hi Guys :).. I hope you fine :), I need the best and easist way for printing the form ,nested of PrintForm tool coz it is very bad :angry:,it prints the form [U][COLOR="Red"]like screen shot :angry:[/COLOR][/U] ,what I want print entire form on A4 ... Any suggestions ? :( Thanks …
Good Day, I have a Datareport designed in A3 size. Is there a way to print the report in A4 without having to re-design it again manually to fit in A4 size? I have lots of A3 size reports which needs to be converted All in A4. It would be …
Hi Guys, I'm new to vb.net programming. I'm finding it really hard printing selected columns in a datagridview. there are 12 columns and i would like to print just a few in a landscape view. Please, can someone help me.
I am using C# and trying to print one document to multiple tray ( each page to different Tray) in same print job , i cant find a way to do that. Any help would be appreciated. In word 2013.
I'm looking for a way to do report printing. I understand CrystalReports is probably my best bet, but I can't find anything that relates to the way these reports need to look. My program is meant to record trainings for my company's supervisors. It has several text boxes that contain …
Hello I've posted a few days ago how to get my data in a SQL database and show it in a datagridview. I found out how to do this rather quickly however I've been asked if I can add a button to my form and be able to print my …
This is my code <tr > <td rowspan="3" colspan="3"> <div style="float:left;"> <img src="images/law.png" style="height: 132px; width: 95px" alt="logo"/> </div> <div style="margin-top:40px; width: 100%; font-size:11px;"> <b> DISTRICT & SESSIONS COURT, SIKAR (RAJ.)<br /> <br /> Name of Exam : Low division clerk</b> </div></td> <td colspan="2" > Center <b>JAIPUR</b> </td> <td …
I have a program, and what I am thinking to add is the printing feature...I used the MS WORD connection to connect vb texboxes to msword receipt template i made, and it works fine....Is there any other way for this without exiting vb like i did?....Is there any approach for …
Any guidelines that able to print customize a page with custom header and data passing? I found a solution, but that is print the repeater/gridview without customize the page.. What i need is print a page with customization.  The Red Cross indicates to remove while in print preview. …
I'm not able to get the printout. here is the code public class Billing extends Frame implements ActionListener,Printable { JButton printbtn = new JButton("Print"); } public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException { if (pageIndex > 0) { return NO_SUCH_PAGE; } // User (0,0) is typically outside …
hi guys, am looking for a software for printing receipt not invoice, will just type the basic data and print the receipt. For example like western union receipts. thanks.
i have a picture captured by a camera so how to add different hair styles on it. i am using vb2010 pls how best can i combine these pictures into one picture that can be printed.
I'm using VB.NET 2010 to create a system. I have here a databound datagridview. I want to add/delete/edit/update the row in my datagridview and also the database which is MS Access at the same time. How can I do it? Here is my code for Deleting Private Sub btnDelRow_Click(ByVal sender …
Hello, As mentioned in the title I wanted to generate a data report and found this bit of code on microsoft page. http://code.msdn.microsoft.com/vstudio/VBWinFormPrinting-ca19810f Hoping Im correct, Private Sub printDocument1_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Dim f As Font = New Font("Vanada", 12) Dim br As SolidBrush = New …
I want to know how to change paper size to “Roll Paper 80 x 297 mm”. I am trying to print my report in vs 2010 WPF appliation. I tried setting paper size using "System.Drawing.Printing.PageSettings" but its not working. Please let me know if there is any alternate solution to …
These are (I guess) the most basic printing instructions in C#, to let some printed paper coming out of a printer. Start a new Forms application, drop a ComboBox, a Label and a Button on the form. Implement a form Load and a Button Click event and fill in the …
hi guys, im using this CSS code to create a page like an A4 size paper .box { width:700px; height:700px; padding:30px; border:1px solid black; margin:1px; display:table; } my problem is: when i print preview, even if i set settings of printer to reduce and fit, still it makes 2 pages, …
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 …
Hello friends, This is my first port so please bear with me. I am developing a simple software in Vb.net 2010. In this software you can add, edit, delete, print records. I have done everything except print option as I dont have any idea on how to do this. I …
Hi friends! I'm looking for an easy way to enable a user of my app to print the contet of a GridView.However, I think an easy way will be to convert it into a Crystal Report or pdf (many people say to pdf is terrible), so, I'd like to convert …
pls help how to use e.hasmorepges..below these code private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) { // e.Graphics.DrawLine(Pens.Black, 20, 20, 800, 20); e.Graphics.DrawString("INVOICE NO:", new Font("Times New Roman", 11, FontStyle.Regular), Brushes.Black, 40, 75); string uer = dateTimePicker1.Text ; e.Graphics.DrawString(uer, new Font("Times New Roman", 11, FontStyle.Regular), Brushes.Black, 500, 75); string N = …
When I print a document from my Delphi 2007 program I quite often get a message "Printing in progress " and printing is aborted. Only part of the page is printed,not always identical part,but close. When closing the message I get "Access violation at address 004FEEC5 in module........read of address …
Hi, I'm trying to print a document in landscape, but i'm only being able to print it in portrait. I've searched for the problem but i haven't found a solution to the problem. Can you, please help? Here's the source code: public void btnImprimir_Click() { try { PrintDialog pDialog = …
hello all in dataGridView1 I have 2 columns Column fruitname and column fruitpictures The content are : banana (picture of banana) orange (picture of orange) etc How to print the content of the dataGridView1 (including the fruits picture ) ? thank you denny
Hi, I just started learning Java.I had attached the doc file.The doc file is already printed on paper.I want to make a program such that only place left blank should b allowed for user to input data and when user print the paper it should b able to print exactly …
I know how to print forms in vb but i wanted to change the page orientation to landscape but the code in the help file is [COLOR=red]:evil:form1.orientation=1 '1 for landscpe and 2 for prtrait:evil:[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=black]this doesn't work please help[/COLOR]
i need to print the details from different textboxes on an open form.i dont know how to do it. Print button is on the same form. what is to be done if details from textboxes of different tab pages need to be printed? please help. thankyou
Hi, I am writing a simple script, basicly i have: [CODE] String s = "A quick fox jumps over a lazy dog"; [/CODE] Now i want to print it like this: (like 3 words per line) :: A quick fox jumps over a lazy dog Know i know i can …
I have trhe following code which prints the datagridview.. now i want to print a [COLOR="Green"]label and a textbox [/COLOR]under the datagridview.. how can i do so? [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Collections; namespace ResturantBookingSystem { public partial …
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 …
Hey guys, I have got a problem. I have an application that shows data in datagridview. Now, I want to add 'Print' option in it. I want to it print only those that are selected. I have tried a code but it didn't help at all. Please suggest me something …
Hi all... I am developing one program but i just came to one obsticle that I really dont know how to pass it. on my form i will have some options that user needs to enter after that im puting it and drawing it in printpreview eventhandler. So user can …
How can i send Printdocument to richtextbox so i can write something above text and send it as email. here is code: [code] private void button3_Click(object sender, EventArgs e) { try { PrintDocument pd = new PrintDocument(); pd.PrintPage += new PrintPageEventHandler(this.PrintPageEventHandler); if (this.storedPageSettings != null) pd.DefaultPageSettings = this.storedPageSettings; PrintPreviewDialog dlg …
[code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.Drawing.Printing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace Dnd { public partial class Form4 : Form { private PrintDocument printDocument1 = new PrintDocument(); public Form4() { InitializeComponent(); btnPrint.Text = "Print Form"; btnPrint.Click += new EventHandler(btnPrint_Click); …
In lstresult i put in the item name. in lstresult2 i put in the the numerical value for that item. i included a picture to show what i mean. I want to alphabetize lstResult but i want the value in lstResult2 to stay with the value. A better example is …
hi, i'm christopher. and sorry because my english is not good.i am creating a new program whch is Document Tracking System Integrated with Barcode which one of my project..my problem is I am new in vb 2008. I create a random numbers and I want it to be converted and …
I am developing an application which downloads pdf files, then water marks and then print. Downloading part is completed using internet controls and water marking also done using itextsharp dll. With the following code I am able to set the printer also. [CODE]Public Function SetPrinter(ByVal prtName As String) As Boolean …
Hi there, I have a form with two buttons and a treeview button1 opens an XML file which then displays it in the treeview button2 should display a print preview of the XML file or what is in the treeview how to get the preview of my openfiledialog1.filename to show …
I am trying to print out items I have saved. Each item contains a id number (ex. 34534), description( ex. book) and a barcode representation of the id number. My problem is that the barcode does not stay right below the id number. I would like for it to be …
I'm trying to print out the contents arr of objects, but all I get is a print out of my project name. I guess printing is working, but probably not correctly building my "result" so it can print out the contents. I don't really understand why, if someone can help …
Hi all! :) I've made a simple application for a shop, where the user inserts barcodes of products, these are added to a list and available pieces in the database are decremented. When the user clicks the Pay button, I want the program to print a receipt. How can I …
i have a format for printing and it is in excelsheet format.i am using microsoft visual studio 2005 in that vb.net as language.in my project there is a print button and on clicking that i want that printing must be done in that specific format only.also want to show the …
Hello, I am new to printing in vb.net. I have a project (not from school) where I need to be able to print content that is entered by users. The rest of the app is already made. I need to print the following: A [B]Title[/B] with a line under it, …
I'm trying to write a small text editor in wxWidgets, using wxDev-Cpp. So far, all is well. However, for the life of me I can't work out how to print (As in, onto paper). As far as I can deduce, I need to use the wxPrinter class. Browsing the wxWidgets …
Hello everyone, I want to design an A4 document to print, you think it can be any business form for sales, for bill, for finance. What is basic method to printing document design(form)? Example : I arrange labels, textboxs, listviews and when I push to print button, it must be …
How can i print a text file in c#? I've been looking on the internet and found code, but I just need it on paper, don't care what type of letters, just a regular print.. And i want to keep the code short. I've found long code, but I've got …
I am making a windows application. I have written the code for printing the active mdi child using PrintForm in c#. The problem is that my forms are big so they do not come fully on the screen i.e. they are scrollable. Now when I print the form, I do …
I have 2 problems: First one is I want to put an user name password in a form...I have designed the table and database and I'm fetching the user names from a table and putting them in a combo box, from the combobox i select the required user name to …
The End.