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

Explorer-File-Page Setup-Margin properties

Status
Not open for further replies.

GlynW

Programmer
Feb 14, 2001
22
GB
Im trying to print Laser address labels from my ASP Database. Getting the data and everything is cool..

The problem is setting the printer page margins.

What I need to know is how can I in ASP/VBScript set Explorers Page Setup, Margin Width properties. If I can set the margin, I can fit my labels on the page.

I don't want the end user to have to keep changing the margin setting back and forth depending on what there printing on the server.

I need a sort of...

Printer.Page.MarginWidth = 0

Any Ideas?

Cheers

Glyn

 
asp is server-side, so you cannot unless you find or make some COM component to get access to network printers.

use CSS client-side to control printing, but you still have to manually configure the IE header/footer and margins at least once.

=========================================================
while (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top