473,545 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How customize papersize on VBNET under XP, help me

I am try to customize papersize on VBNET (PrintDialog, PritnDocument), but
only have access to defined Paper Size on my
Printer (FX-2180), how I can customize papersize and use it. Because all the
time have access only to the defined paper.
I need create an paper size (not ISO's). Please help me
Nov 20 '05 #1
1 2677
In this regard Windows XP is different from 98 & Me.

To add a custom page size directly in the driver in Windows 2000 and XP do
the following:

1. Start | Printers & Faxes
2. Click File, Server Properties
3. Check, Create New Form, Form Name: "New Name"
4. Form description: put in the measurements: ... Then click Save
Form

You will then have this custom page available for the printer.

If you want to do this in code there is an article that may help at
http://support.microsoft.com/default...;EN-US;Q282474

This is the way you would have to do it in VB 6, since there is no way to
add a custom form without API calls in VB 6. I don't know if VB.net has an
easy method for this or not. A quick look didn't expose one for me.

"JuanCarlos Gomez" <jc*********@ho tmail.com> wrote in message
news:u8******** ******@TK2MSFTN GP11.phx.gbl...
I am try to customize papersize on VBNET (PrintDialog, PritnDocument), but
only have access to defined Paper Size on my
Printer (FX-2180), how I can customize papersize and use it. Because all the time have access only to the defined paper.
I need create an paper size (not ISO's). Please help me

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1358
by: Pedro Feio | last post by:
Hi, I'm having a weird problem setting up the paper size in a C# Windows Forms Application. The code I'm using is something like this: PrintDocument pd = new PrintDocument(); pd.DefaultPageSettings.Margins.Left = 0; pd.DefaultPageSettings.Margins.Right = 0;
0
2119
by: Raul | last post by:
I need to define a papersize 8.5'', 15'. I define it using propertysettings and papersize collection in C# but the printer don't print when the datas is below to 11''. My printer is HP Laserjet 1100 and I can not change the printer's configuration. Somebody help me ?
0
1875
by: epederiva | last post by:
Hi, I have a problem with a laser feed tractor printer, paper size is 8.3 X 11 inc.. For print in windows xp home from a c# application i use a custom paper size added at the printer server properties. The problem is that i have to print a value near bottom margin (sheets are pre-printed), but if i use custom papersize this value will not...
4
4464
by: °Ë´óɽÈË | last post by:
There is a PaperSize class in .net framework. But it has only one constructor: public PaperSize(string name,int width,int height); I want to create a object whose kind isn't "Customer". How shall I do? Thank you Jerry
1
1532
by: bafidi | last post by:
i want to write a code and make the papersize A but this code is wrong what is the true on PrintDocument1.DefaultPageSettings.papersize=A4
2
1708
by: ayoubahmed | last post by:
Hi,, Im trying to print invoices in VB.net, and the invoice is 8.5 x 8.5 inches. Now i have to specify the new height, but when i do specify it using the following commands ------------------------------------------------ PrintDocument1.DefaultPageSettings.PaperSize.Height = 8.5 PrintDocument1.DefaultPageSettings.PaperSize.Width = 8.5 ...
0
1422
by: Madern | last post by:
Good Morning, I'm developing a code that needs to deal with different printer user formats which have to be created on a network driver printer (OKI 321). The big issue I am finding is that the printer doesn't allow me to handle with more than 1 defined format at the same time. We could say it allows me to define just ONE format at a time...
0
1880
by: Madern | last post by:
Good Morning, I'm developing a code that needs to deal with different printer user formats which have to be created on a network driver printer (OKI 321). The big issue I am finding is that the printer doesn't allow me to handle with more than 1 defined format at the same time. We could say it allows me to define just ONE format at a time...
0
3196
by: Amir Alilou | last post by:
hi I want to change the size of paper prorammatically in my code. but when i do it my printer paper size do not change. please help me with sample.(VB.NET 2003) Public Sub Print_It() Try Try 'PrintFont = New Font("Arial", 10) Dim pd As PrintDocument = New PrintDocument
0
7473
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7660
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7431
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5337
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4949
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3457
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1888
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
709
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.