Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing/wind on problem in Windows 2000

Status
Not open for further replies.

Sun13Banjo

Technical User
Oct 22, 2001
7
GB
Reposting with a different header, due to no replies. I'm desperate to find an answer to this

Apologies if this has been covered before - I've done a search but can't find anything

I wrote a label printing program for a local vets in Windows 98. The program ran perfectly on Windows 98 and the printer would wind on from on elabel to the next with no problems. When the vets upgraded to Windows 2000, the printer winds on about 7 lables at a time - presumably for A4 paper. It seems that the 2000 printer driver is overiding the page size I programmed in with VB

Is there a way I could set this in VB, or any other solution?

Thanx

Banjo
 
I had a similar problem when the customer switched to Windows XP. Printing to A3 was no problem on Windows 98 but with the new printerdriver it was not possible anymore (A4 was not a problem).
The problem was due to the fact that the parameters for paperbin and papersize were changed with the new printerdriver.
In the FAQ "What VB should be able to do" you'll find an extensive faq by CassandraR on the printer select dialog. I customized it to use in my program. The customer can now select the printer, paperbin and papersize. When printing I can set the printer.paperbin and printer.papersize using the selected values.

Hopefully it'll help you too.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top