97 Topics

Member Avatar for
Member Avatar for SCBWV

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 …

Member Avatar for SCBWV
2
39
Member Avatar for akgreen

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 …

Member Avatar for Yogesh_22
7
24K
Member Avatar for Sara Tech

[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 …

Member Avatar for Nezar Al-Akhras
1
4K
Member Avatar for PinoyDev

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 …

Member Avatar for rproffitt
0
159
Member Avatar for Daniel_57

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.

Member Avatar for Royce_1
1
175
Member Avatar for Treglanu

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.

Member Avatar for 良红
0
87
Member Avatar for 404notfound

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 …

Member Avatar for 404notfound
0
186
Member Avatar for GianiD

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 …

Member Avatar for Santanu.Das
0
163
Member Avatar for arpitsharma

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"/>&nbsp; </div> <div style="margin-top:40px; width: 100%; font-size:11px;"> <b> DISTRICT &amp; SESSIONS COURT, SIKAR (RAJ.)<br /> &nbsp;<br /> Name of Exam : Low division clerk</b> </div></td> <td colspan="2" > &nbsp;&nbsp;&nbsp;&nbsp; Center&nbsp;&nbsp; <b>JAIPUR</b> </td> <td …

Member Avatar for JorgeM
0
134
Member Avatar for NewCoder_31

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 …

Member Avatar for ddanbe
0
109
Member Avatar for gahhon

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. ![36e1d0310329124ba8fce2070ac095ff](/attachments/large/3/36e1d0310329124ba8fce2070ac095ff.jpg "36e1d0310329124ba8fce2070ac095ff") The Red Cross indicates to remove while in print preview. …

Member Avatar for gahhon
0
227
Member Avatar for chdboy

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 …

Member Avatar for JamesCherrill
0
323
Member Avatar for kanoy83

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.

Member Avatar for caperjack
0
175
Member Avatar for sntoane

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.

Member Avatar for tinstaafl
0
211
Member Avatar for Ann95

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 …

Member Avatar for Begginnerdev
0
574
Member Avatar for san.ssj

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 …

Member Avatar for Begginnerdev
0
176
Member Avatar for micheal.burns1

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 …

Member Avatar for Ketsuekiame
0
93
Member Avatar for ddanbe

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 …

2
382
Member Avatar for earlxph8

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, …

Member Avatar for earlxph8
0
217
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
677
Member Avatar for bandurao

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 …

Member Avatar for dinhunzvi
0
313
Member Avatar for savedlema

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 …

0
130
Member Avatar for wolverinnas

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 = …

Member Avatar for wolverinnas
0
174
Member Avatar for AKJo

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 …

Member Avatar for AKJo
0
2K
Member Avatar for game4tress

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 = …

0
194
Member Avatar for dennysimon

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

Member Avatar for dennysimon
0
423
Member Avatar for ajaxx195

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 …

Member Avatar for NormR1
0
142
Member Avatar for SamY

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]

Member Avatar for agrothe
0
1K
Member Avatar for zifina

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

Member Avatar for ddanbe
0
106
Member Avatar for n3red

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 …

Member Avatar for bibiki
0
134
Member Avatar for xanawa

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 …

Member Avatar for xanawa
0
203
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
189
Member Avatar for ajinkya112

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 …

Member Avatar for ajinkya112
0
2K
Member Avatar for Member #899545

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 …

Member Avatar for abelLazm
0
195
Member Avatar for Member #899545

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 …

Member Avatar for Member #899545
0
142
Member Avatar for zeke188

[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); …

Member Avatar for kvprajapati
0
126
Member Avatar for steven8579

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 …

Member Avatar for steven8579
0
304
Member Avatar for x2fair

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 …

Member Avatar for x2fair
0
120
Member Avatar for saiju_menon

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 …

Member Avatar for saiju_menon
0
622
Member Avatar for chupoi

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 …

Member Avatar for kvprajapati
0
52
Member Avatar for Bandit290

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 …

Member Avatar for nick.crane
0
179
Member Avatar for Bandit290

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 …

Member Avatar for nick.crane
0
183
Member Avatar for K1kk0z90

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 …

Member Avatar for K1kk0z90
0
127
Member Avatar for steelnaaz

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 …

0
68
Member Avatar for GregMaClean

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, …

Member Avatar for GregMaClean
0
314
Member Avatar for mooseguy

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 …

Member Avatar for allq
0
406
Member Avatar for darkocean

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 …

0
69
Member Avatar for Isaaac

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 …

Member Avatar for Isaaac
0
302
Member Avatar for rexyrexin

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 …

0
71
Member Avatar for chetanbasuray

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 …

Member Avatar for kplcjl
0
143

The End.