Click to See Complete Forum and Search --> : Printer setup


vld
March 7th, 2006, 01:02 PM
I am trying to update a vb 6.0 program someone else has written. Currently the printer set up in crystal viewer are default setting are set to landcape and legal. How do I change the default setting to potrait and letter.

Your help is much appreciated.

Jacksc
March 7th, 2006, 02:45 PM
In the VB code add these lines:

Report.PaperOrientation - crPortrait
Report.PaperSize = crPaperA4

This will modify the Crystal Reports (http://www.saveonsupport.com) printer settings.

vld
March 8th, 2006, 01:01 PM
Thanks Jack, I tried your suggestion, and got a run time error -438 the object doesn't sopport this porperty or method.

I have attached the vb code for your review.