473,320 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 2695
* "Vince" <an*******@discussions.microsoft.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.public.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
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...
1
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...
5
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...
1
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...
3
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...
4
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...
9
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...
1
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...
0
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.