Problem with changing paper size in VB6+WinXP
I am having troubles with changing paper size in VB6+WinXP.
I have the following code for testing.
'show current paper width and height
Printer.ScaleMode = vbInches
'change the paper size
Printer.Width = 12240 '8.5 inch
Printer.Height = 5760 '4 inch
The original paper size is A4. If things work out correctly, I should get
12240 and 5700 after change the paper size using Printer.Width and
Printer.Height. However, the paper size is still not the size I define
The same piece of code run perfectly ok on a Win98 machine. I am woudering
if this is a bug in VB6. And in addition i know how to "Add a new form" - in WinXp
through Printer->Server Property. I want to do it by code.
Last Post: 05-07-2003, 06:01 PM
Last Post: 10-15-2002, 02:58 PM
Last Post: 08-05-2002, 08:52 AM
By Harish Kumar in forum ASP.NET
Last Post: 11-22-2001, 05:49 AM
Last Post: 11-21-2001, 02:22 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center