473,657 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PAPER TYPE for Printing (object??)

Through VB6 I asm trying to print to the bottom bin with a
paper type of LetterHead on an HP4200tn printer.

After much messing around with my bin issue, I finally
determined that if I keep the paper TYPE to PLAIN (on the
printer itself)... I can get the output to the correct
bin. However, I need the bottom bin to be exclusive
to this app. I physically set the paper TYPE to
LETTERHEAD, but I can not figure out how to set the PAPER
TYPE in VB so only this app will print to this bin.

To test this... I physically set the printer tray (bin)
type to be LETTERHEAD. I then opened wordpad (to print a
test) and when I went to print, I selected the paper
source tray to be tray 3... left the paper type to PLAIN,
and the output printed from tray two (2). I then through
wordpad went to print... I selected paper source tray to
be tray 3 again, but this time changed the paper type to
LETTERHEAD, and the output printed from tray three (3).
In conclusion, the system checks the paper TYPE then the
paper tray (it may even check the paper size first.. then
the paper Type, etc).

I did mess around with the paper size... but all trays are
using 8.5" x 11" paper....

Any help would be appreciated.

Nov 20 '05 #1
1 2725
* "Vince" <an*******@disc ussions.microso ft.com> scripsit:
Through VB6 I asm trying to print to the bottom bin with a
paper type of LetterHead on an HP4200tn printer.


This is a VB.NET language group. You will more likely get an answer if
you post to one of the microsoft.publi c.vb.* groups.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

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

Similar topics

0
1373
by: Carlos Kirkconnell | last post by:
Hi guys this is the second time I place my question here, so I spect that at least SOMEBODY takes his time for reading it. Well, my problem is: I have an application that needs to dynamically set the sizes of the paper when printing, and I need custom page sizes, not the normal ones. The problem is that in windows 2000 / XP, it's necessary to define a paper form before printing with a custom size.
1
2480
by: G.Esmeijer | last post by:
Friends, I'm (a bit) dissapointed about the printing possibilities in c#. It could also be lack of knowedge. I would like to align a text on the right side of the paper when printing. For example tekst = DateTime.Today.Date.ToString("dd-MM-yyyy"); // asign content to the variable tekst
5
3466
by: VMI | last post by:
I have a BMP image (the form is also in PDF) that contains a scanned copy of a paper form that we need to fill out. Is it possible to use this image in my application so that the application can print out the form and the data that the user entered? For example, the user loads the application and a normal Windows Form asks for the user's name. When the user enters the name and clicks on the "Print" button, I'd like to print the form in the...
1
11517
by: lcifers | last post by:
I'm writing a batch printing app that will interface with other applications to print their native documents. All of the documents will be printed on the same size paper. On the main form, where the files are selected, are two comboboxes, one for the user to select the printer, the other for the user to select the paper size. Does anyone know how I can get the paper size for a given printer? I can get a list of paper sizes using this...
3
31884
by: D Witherspoon | last post by:
No matter what I do the default paper size is always either A3 or 11 by 8.5 .. Here is the code. Dim dlg As DialogResult pd.DocumentName = "Weld Image" Dim pkPaperSize As New Printing.PaperSize("sdfgsfdg", 850, 1100)
4
2805
by: Sukh | last post by:
Hi, I am tring to change the paper size from default to custom paper size. In print preview its showing my custom size but when I print it print on default paper size. Can any one help me to figure out this? I am using following code: Dim customPaperSize As New PaperSize("11x9", 1100, 900) pdMain.DefaultPageSettings.PaperSize = customPaperSize
9
2886
by: Sukh | last post by:
Hello anyone, I am printing a pre-printed continue paper on dot-matrix printer using vb.net winform. For printing I am creating custom size paper and selecting the same for printing. Everything is going fine on first page but after printing first page it feed some extra paper (3cm paper). So on 3rd page again 3cm mean total 6 cm extra...So its changing all the location where I have to print. Can anyone help me out from this?
1
3733
by: Agnoletto Christian | last post by:
Hi, i create a particolar papername on my printer. Now i need to print on it. I try to select this papername as default for the printer but when i print in the dialog box the paper kind is A4 and not "Ricevute". How can i force this paper size? Thank's
0
4650
by: KevinM | last post by:
Hello all! I am trying to set up my app to print with a custom paper size, but it keeps failing with the following error: PaperSize cannot be changed unless the Kind property is set to Custom. On the line that reads:M_MiniLabel.DefaultPageSettings.PaperSize.Height = 2000 I thought that I was setting the Kind to Custom in the row above. If anybody has any input this would be greatly appreciated. Code below. Thank You Kevin
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7327
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6164
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4152
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.