...

View Full Version : problem with the printing of alternative pages



meenakshia
08-16-2008, 06:27 PM
hi forum
i m trying to print two different pages as soon as the form is saved.

i tried to use this command
<A HREF="javascript:window.print()">Print 1st Page</A>
<A HREF="javascript:window.print()">Print 2nd Page</A>

but i was unable to use the link command to force the printer to print the two other pages

print 1st page should print cust1.htm
and print 2nd page should print cust2.htm

any ideas how to go ahead for the same?
smile always
anand

shyam
08-16-2008, 06:48 PM
you can only print windows so, you have to open each link in a separate window and then call the print function for them to get printed

meenakshia
08-24-2008, 06:11 AM
hi
thanks for the reply
well if that is the case you mean to say i need to open a pop up window for each print and then go for print ?
well in that case is there a way to use onload print ,i mean auto print feature



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum