Print Custom Page Sizes on Windows 2000

mikekkl used Ask the Experts™
I would like to print using dot matrix printer (epson LQ-300+), the continuous paper size is 8x6.

I have tried the following code and it works very fine in Windows Me and Windows 98.  However it does not work in Windows 2000 Professional. The error is "Run-time error 380, Invlid Property value". The error comes from "vbPRPSUser".

printer.papersize = vbPRPSUser
printer.height = 8640
printer.width = 11520

Thanks for your kind help in advance!
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®


Thank you
first check whether the driver installed on your win 2000 is supporting custom paper size or not, if not contact the printer vendor / search for driver updates. if you find any install them and check it again.
Author of the Year 2009

Hi mikekkl,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept appari's comment(s) as an answer.

mikekkl, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept THIS comment as an answer.
DanRollins -- EE database cleanup volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial