Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 126 results for
papersize
- Page 1
How to set custom papersize to printer from code in vb.net 2005
Programming
Software Development
13 Years Ago
by choudhuryshouvi
…("DefaultPrinter") rpt.PrintOptions.PaperOrientation = PaperOrientation.Landscape rpt.PrintOptions.
PaperSize
=
PaperSize
.PaperFanfoldUS [/CODE] we have used [B]reportdocument[/B] object to… this from code? like in place of [CODE]rpt.PrintOptions.
PaperSize
=
PaperSize
.PaperFanfoldUS[/CODE].....some sort of syntax which will let us…
Crystal Report Custom PaperSize
Programming
Software Development
11 Years Ago
by sanjeewa.abeywardana
… a Crystal Report that supports a custom
papersize
(Half A4
papersize
) and attached to our Windows app. When…file named "Pre_V_rptGRN_WBCALC" frmGRN_ERP.ReportDocument.PrintOptions.
PaperSize
= CrystalDecisions.Shared.
PaperSize
.DefaultPaperSize; frmGRN_ERP.ReportDocument.SetParameterValue("GRNNO", txtShpShipNo…
Re: How to set custom papersize to printer from code in vb.net 2005
Programming
Software Development
13 Years Ago
by G_Waddell
Hi I found this but it is in c#... [URL="http://www.codeproject.com/KB/printing/custom_paper_sizes.aspx"]http://www.codeproject.com/KB/printing/custom_paper_sizes.aspx[/URL]
Re: How to set custom papersize to printer from code in vb.net 2005
Programming
Software Development
12 Years Ago
by YacNoh
Hi, Try These Functions AddForm(hPrinter, nLevel, pForm) To Add a new Form To your printer, you should declare a function like this Private Declare Function AddForm Lib "winspool.drv" Alias "AddFormA" (ByVal hPrinter As IntPtr, ByVal Level As Integer, ByRef pForm As Byte) As Integer and then define a structure …
Re: How to set custom papersize to printer from code in vb.net 2005
Programming
Software Development
11 Years Ago
by maildummyabc
i have tried to create a costom paper size but printer does not print on that custom paper created
Retrieving values out of complex XML schema
Programming
Software Development
14 Years Ago
by k1robert
…gt; - <common:PrintInformation> - <common:
PaperSize
> <common:StandardSize>A4</common:StandardSize>…; </common:
PaperSize
> <common:HasBeenPrinted>true</common:…>A3</common:StandardSize> </common:
PaperSize
> <common:HasBeenPrinted>true</common:…
Missing Directive or Assembly Referene APS.Net
Programming
Web Development
12 Years Ago
by naveedqadri
…APWebGrbNET.APWebGrabber' does not contain a definition for '
PaperSize
' Source Error: Line 148: wb.EngineToUse=0;… Line 149: Line 150: wb.
PaperSize
=Convert.ToInt16(Request.Form["pg_"+i…=1; else wb.EngineToUse=0; wb.
PaperSize
=Convert.ToInt16(Request.Form["pg_"+…
Saving the page setup dialog setting
Programming
Software Development
14 Years Ago
by compovet
… [CODE] PageSetupDialog pageSetupDialog1 = new PageSetupDialog(); PageSettings settings = printDocument1.DefaultPageSettings;
PaperSize
pz = new
PaperSize
("Envelope B5", 15, 6); pageSetupDialog1.PageSettings = settings…
listview printing
Programming
Software Development
13 Years Ago
by tirso
… Double With pd.DefaultPageSettings Dim Ps As
PaperSize
PHi = PSize * 20 + 350 Ps = New
PaperSize
("Cust", 800, PHi) .Margins.Top… = 15 .Margins.Bottom = 20 .
PaperSize
= Ps End With Dim sfc As New StringFormat sfc.LineAlignment…
Re: Dataset contents not displayed on Printpreview on second click
Programming
Software Development
9 Years Ago
by Santanu Das
… per orientation If .Landscape Then pght = .
PaperSize
.Width pgwd = .
PaperSize
.Height Else pght = .
PaperSize
.Height pgwd = .
PaperSize
.Width End If End With 'initializing the…
Re: Dataset contents not displayed on Printpreview on second click
Programming
Software Development
9 Years Ago
by Santanu Das
… per orientation If .Landscape Then pght = .
PaperSize
.Width pgwd = .
PaperSize
.Height Else pght = .
PaperSize
.Height pgwd = .
PaperSize
.Width End If End With 'initializing the…
Re: Retrieving values out of complex XML schema
Programming
Software Development
14 Years Ago
by k1robert
…, _ .MimeType = attachment.Element(ns1 + "MimeType").Value, _ .
PaperSize
= attachment.Descendants(ns1 + "StandardSize").Value, _ .HasBeenPrinted = attachment…
Re: paper size in data report
Programming
Software Development
13 Years Ago
by Bashir ahmad
… at the code below - [CODE]With Printer .
PaperSize
= vbPRPS10x14 End With[/CODE] At .
papersize
, type vbprp and ctrl spacebar for intellisense. This… this helps...[/QUOTE] sir, when we use the code printer.
papersize
="...", it does not change the default printers settings…
Printer Object Question
Programming
Software Development
18 Years Ago
by javalsu
… the following code. If cboPaperSize.ListIndex = 0 Then Printer.
PaperSize
= 1 Else Printer.
PaperSize
= 5 End If If cboPaperSource.ListIndex = 0 Then…
Printing problems
Programming
Software Development
18 Years Ago
by Raudhah
…, BackgroundImage.Height); int nWidth = printDocument1.PrinterSettings.DefaultPageSettings.
PaperSize
.Width; int nHeight = printDocument1.PrinterSettings.DefaultPageSettings.
PaperSize
.Height; RectangleF destRect = new Rectangle(0, 0…
Re: Printing problems
Programming
Software Development
18 Years Ago
by Raudhah
…, BackgroundImage.Height); int nWidth = printDocument1.PrinterSettings.DefaultPageSettings.
PaperSize
.Width; int nHeight = printDocument1.PrinterSettings.DefaultPageSettings.
PaperSize
.Height; RectangleF destRect = new Rectangle(0, 0…
To print Html page using PrintDialog and Print Document
Programming
Software Development
16 Years Ago
by thirunavukaras
…, marginTop As Int32 With PrintDocument1.DefaultPageSettings PrintAreaHeight = .
PaperSize
.Height - .Margins.Top - .Margins.Bottom PrintAreaWidth = .
PaperSize
.Width - .Margins.Left - .Margins.Right marginLeft = .Margins…
Printing without Crystal Reports - Simple "Hello, world." in VB 2008
Programming
Software Development
15 Years Ago
by Bill Purkins
… and margin coordinates With MyBase.DefaultPageSettings intPrintAreaHeight = .
PaperSize
.Height - _ .Margins.Top - .Margins.Bottom intPrintAreaWidth = .
PaperSize
.Width - _ .Margins.Left - .Margins.Right…
paper size in data report
Programming
Software Development
13 Years Ago
by Bashir ahmad
… have a number of data reports each using a different
papersize
. each time, b4 opening the report, the paper size has… properties again and again. The statements like "set printer.
papersize
=..." donot work. thx.[/B]
Re: paper size in data report
Programming
Software Development
13 Years Ago
by AndreRet
Have you tried the actual printer page options as yet? Look at the code below - [CODE]With Printer .
PaperSize
= vbPRPS10x14 End With[/CODE] At .
papersize
, type vbprp and ctrl spacebar for intellisense. This will give you much more options than the original size coding stuff. Hope this helps...
Re: paper size in data report
Programming
Software Development
13 Years Ago
by AndreRet
… a problem. [CODE]Private Sub Command1_Click() CommonDialog1.PrinterDefault With Printer .
PaperSize
= vbPRPSA4 'Using A4 size .Orientation = 2 'Landscape End With End… size of paper yourself by using the quotation marks after .
Papersize
= "" 'Rather use the preset options from vbPRP...[/CODE…
Printing bills with custom paper
Programming
Software Development
13 Years Ago
by Mitja Bonca
…(); if (printerName != null) { cr.PrintOptions.PaperSource = PaperSource.Auto; cr.PrintOptions.
PaperSize
=
PaperSize
.DefaultPaperSize; CrystalDecisions.Shared.PageMargins edges = new CrystalDecisions.Shared.PageMargins(1…
Re: Printing bills with custom paper
Programming
Software Development
13 Years Ago
by Mitja Bonca
…: might not be correct. Was : Exit For } } cr.PrintOptions.
PaperSize
= (CrystalDecisions.Shared.
PaperSize
)rawKind; CrystalDecisions.Shared.PageMargins pMargin = new CrystalDecisions.Shared.PageMargins…
Printing
Programming
Software Development
13 Years Ago
by steven8579
… chars; { printHeight = base.DefaultPageSettings.
PaperSize
.Height - base.DefaultPageSettings.Margins.Top -…DefaultPageSettings.Margins.Bottom; printWidth = base.DefaultPageSettings.
PaperSize
.Width - base.DefaultPageSettings.Margins.Left - …
how to print a form in a LANDSCAPE ORIENTATION?
Programming
Software Development
12 Years Ago
by johnny21
…, marginTop As Int32 With PrintDocument1.DefaultPageSettings PrintAreaHeight = .
PaperSize
.Height - .Margins.Top - .Margins.Bottom PrintAreaWidth = .
PaperSize
.Width - .Margins.Left - .Margins.Right marginLeft = .Margins…
Dataset contents not displayed on Printpreview on second click
Programming
Software Development
9 Years Ago
by gbhs
… bounds of the printing area rectangle PrintAreaHeight = .
PaperSize
.Height - .Margins.Top - .Margins.Bottom PrintAreaWidth = .
PaperSize
.Width - .Margins.Left - .Margins.Right ' initializing local…
Re: paper size in data report
Programming
Software Development
13 Years Ago
by Bashir ahmad
thanks for the reply. I m not using "" in the
papersize
property but the value is selected from the availiable values of the drop down list. Why does not the datareport behave in the same way as an Access report?
Re: Printing bills with custom paper
Programming
Software Development
13 Years Ago
by Momerath
If your printer can detect the paper size, then PrintOptions.
PaperSize
will have the value you are looking for. No matter …
Re: Print Data from MSHFlexgrid in VB 6.0
Programming
Software Development
11 Years Ago
by AndreRet
…, easy just swap it around. You can not set the
papersize
or orientation. i'll have a look at a solution… New Roman" Printer.ScaleMode = vbCentimeters ''Printer.Orientation = vbPRORPortrait ''Printer.
PaperSize
= vbPRPSLetter Printer.ScaleTop = 0 Printer.ScaleLeft = 0 Printer.FontSize = 8…
vb printer object
Programming
Software Development
16 Years Ago
by kpnprakash
… Sub Command1_Click() MousePointer = 11 'mouse pointer busy while printing Printer.
PaperSize
= vbPRPSUser Printer.ScaleMode = vbTwips 'Printer.Height = 19 'Printer.Width = 23…
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC