If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Visual Basic printing problem
I have developed an Application in Vb 6.0 which runs on
windows 98 platform. The application prints various DataReports. My problem is that while printing the reports the printer doesnot overrides the default papersize setting of the printer. The default paper size is 8 1/2" X 11" but i have set the printer paper size to 9" X 12" in the vb code prior printing the data report. The code which i have used is Printer.PaperSize = vbPRPSUser printer.width=1440*9 printer.heigth=1440*12 Datreport6.print printer.enddoc But the problem reamins the same. The printing is Ok if i manually change the printer setting by changing the deafult paper size of printer from control panel. Looking for an urgent help.Please If any has the solution for this it would be quite a help for me. Thanx Dhiman |
#2
|
|||
|
|||
Visual Basic printing problem
Please post to a VB newsgroup--maybe a VB expert can help.
-- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "dhiman" wrote in message ... I have developed an Application in Vb 6.0 which runs on windows 98 platform. The application prints various DataReports. My problem is that while printing the reports the printer doesnot overrides the default papersize setting of the printer. The default paper size is 8 1/2" X 11" but i have set the printer paper size to 9" X 12" in the vb code prior printing the data report. The code which i have used is Printer.PaperSize = vbPRPSUser printer.width=1440*9 printer.heigth=1440*12 Datreport6.print printer.enddoc But the problem reamins the same. The printing is Ok if i manually change the printer setting by changing the deafult paper size of printer from control panel. Looking for an urgent help.Please If any has the solution for this it would be quite a help for me. Thanx Dhiman |
#3
|
|||
|
|||
Visual Basic printing problem
can u please suggest me the address for the vb 6.0
newsgroup dhiman -----Original Message----- Please post to a VB newsgroup--maybe a VB expert can help. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "dhiman" wrote in message ... I have developed an Application in Vb 6.0 which runs on windows 98 platform. The application prints various DataReports. My problem is that while printing the reports the printer doesnot overrides the default papersize setting of the printer. The default paper size is 8 1/2" X 11" but i have set the printer paper size to 9" X 12" in the vb code prior printing the data report. The code which i have used is Printer.PaperSize = vbPRPSUser printer.width=1440*9 printer.heigth=1440*12 Datreport6.print printer.enddoc But the problem reamins the same. The printing is Ok if i manually change the printer setting by changing the deafult paper size of printer from control panel. Looking for an urgent help.Please If any has the solution for this it would be quite a help for me. Thanx Dhiman . |
#4
|
|||
|
|||
Visual Basic printing problem
I suggest you open a news account in Outlook Express and for the server
name, use: msnews.microsoft.com. Once the account is established and the newsgroups are downloaded, click on newsgroups on the toolbar. You can use the display feature to display groups which contain: microsoft.public.vb -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "dhiman" wrote in message ... can u please suggest me the address for the vb 6.0 newsgroup dhiman -----Original Message----- Please post to a VB newsgroup--maybe a VB expert can help. -- Regards Ron Badour, MS MVP for W98 Tips: http://home.satx.rr.com/badour Knowledge Base Info: http://support.microsoft.com/default.aspx?pr=kbinfo "dhiman" wrote in message ... I have developed an Application in Vb 6.0 which runs on windows 98 platform. The application prints various DataReports. My problem is that while printing the reports the printer doesnot overrides the default papersize setting of the printer. The default paper size is 8 1/2" X 11" but i have set the printer paper size to 9" X 12" in the vb code prior printing the data report. The code which i have used is Printer.PaperSize = vbPRPSUser printer.width=1440*9 printer.heigth=1440*12 Datreport6.print printer.enddoc But the problem reamins the same. The printing is Ok if i manually change the printer setting by changing the deafult paper size of printer from control panel. Looking for an urgent help.Please If any has the solution for this it would be quite a help for me. Thanx Dhiman . |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shutdown problem when filesharing enabled | Ivan | General | 2 | July 5th 04 12:48 PM |
printing problem | namruhtmik | Printing | 2 | July 4th 04 04:47 AM |
win98 clients all have printing problems in morning | Matt | Printing | 1 | June 30th 04 06:00 PM |
Problem navigating in the BIOS | Keith | General | 3 | June 7th 04 09:14 PM |
Hp 710c problem, printing by network ? | Juliano | Setup & Installation | 0 | May 28th 04 02:14 PM |