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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PRTDEVMODE,PRTDEVNAME 1

Status
Not open for further replies.

GShen

MIS
Sep 26, 2002
561
US
Hi,
Is there anywhere where I can find code in ACCESS 2000 to change the properties of thes objects? It seems as though prtdevmode is a string of 94 characters. Where can I get the layout of the 94 and/or how do you change any of this?
Everything I have seen says ACCESS 2002 can do all of this easily. Unfortunately, we are not going to 2002. Any help would be appreciated. I am trying to dynamically change the properties of a report as to what printer it is going to use. I want to create a drop down of printers and have the user select one and then print. Not sure what to put in the drop down nor what to do with it once I have it selected.

Thanks.

Remember when... everything worked and there was a reason for it?
 
I did. The 1st thing they tell you is that the structure is defined in the WIN32 Softaware Developement Kit which I do not have. It looks like you have to create a module and somehow call it to do your changes. I am just a little confused as to changing the 94 byte record layout if you don't know what positions anything is in.


Remember when... everything worked and there was a reason for it?
 
VicRauch,

COOOOOOOLLLLLLLLLLL!!!!!!!!!!!!!!!!!!!

To sit back and try and write and/or decifer this would take a month. I downloaded the code and ran it. Works like a charm. It is exactly what I want to do.

THANKS!!!!!!

Remember when... everything worked and there was a reason for it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top