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

Changing Printer Properties in VB code

Status
Not open for further replies.

cturland

Programmer
Sep 25, 2000
66
0
0
GB
Hi all,

Does anyone know how I can change the printer port settings in VB code?
I need to do this because my program prints out *.ps file, but you have to
state the name in the printer properties meaning that I have to always use
the same name. This limits me to being able to only produce one *.ps file at a time.

Any ideas would be appreciated,
Cheers,
Carl
 
I am not sure if this is possible - but maybe you could use the Printer object in VB - I know that it could be used to change the device & driver names?? It does have some hidden properties (such as printer.print) so maybe one of these can help you??

Only a thought to think about...

X-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top