Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Fedic #1
Trouble with javascript:window.print
My page is an ASP with a lot of VB.
Go to [url]http://71.97.138.65/isgmsds/[/url]
Then go to [url]http://71.97.138.65/isgmsds/search(new).asp?t=i[/url]
You will see the link to the far right that takes the user to a page formatted
to print a label. I want this page (label.asp) to be instantly sent to the
printer. If I can't send it directly to the printer then I want to generate a
print dialog that will print this page without opening that label formatted
page in a browser window.
An example of my code for the cell I wish to generate this link in is as
follows:
Response.Write "<td valign='top'><font face='arial' size='1'><a
href='label.asp?MSDSID=" & strMSDS & "'> Label </a></font></td>" &
tsgDebug
Fedic Guest
-
Help with javascript:window.print()
I am trying to send a specific page to the printer using javascript:window.print(). There has to be a way top so this. I assume the variable can... -
Trouble with Particle Systems and JavaScript
I'm trying to make a particle system spin around like a spiral galaxy, so I can't just rotate it. I tried dynamically changing the gravity, but... -
Trouble with Layers window
Hi, Recently my layers window in illustrator has been down and wont come back up.. no matter what i do. As you can imagine this is very frustrating... -
javascript: window.print() only creates 1st page of document
Acrobat Professional 6.0 Windows 2000 Server I am trying to print a browser popup window with the window.print() function. The window has 5 pages... -
Discrepancy in color between Photoshop window and print window
My photos look very dark and saturated when I load them in Photoshop 7 or Photoshop Elements 2.0, but when viewed in the printer's preview window... -
danilocelic *TMM* #2
Re: Trouble with javascript:window.print
Fedic wrote:
Since your question isn't extension related, please ask such questions> You will see the link to the far right that takes the user to a page formatted
> to print a label. I want this page (label.asp) to be instantly sent to the
> printer. If I can't send it directly to the printer then I want to generate a
> print dialog that will print this page without opening that label formatted
> page in a browser window.
in the Dreamweaver General group:
[url]http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=189[/url]
window.print() type of code that some try to use to force a page to
print automaticaly doesn't work in IE Mac. And when it does work in a
browser, the visitor has to be on the page that is being printed.
You could try having the "label" output placed into a hidden DIV and
then use a print media style sheet to show it, and hide the rest of the
page when printed:
[url]http://www.meyerweb.com/eric/articles/webrev/200001.html[/url]
Some browsers may respect the following type of code in the page that
you want to print a different page. IE6 does, but Firefox does not,
beyond that no idea of the support or lack of support in other browsers
such as Safari and Opera.
<link rel="alternate" media="print" href="printversion.htm">
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
danilocelic *TMM* Guest



Reply With Quote

