| Author |
Message |
crtvlynx
MD user level 5


Joined: Sep 14, 2004
Posts: 129
Member
|
 Posted:
July 12, 2005 - 04:34 PM |
|
| Post subject: Print URL How To |
Sorry if this is posted somewhere else, if it is please just direct me to the post explaining how to do it.
Basically i want to be able to print any page. the propblem is i dont know what to put in the HREF part of the link, yes i know there is a autotheme command for this but it is for an IMAGE ONLY link.
thank you in advance |
|
|
|
 |
PeteBest
MD user level 5


Joined: Oct 06, 2003
Posts: 4845
bannato
|
 Posted:
July 12, 2005 - 06:56 PM |
|
| Post subject: Re: Print URL How To |
| crtvlynx wrote: |
| Basically i want to be able to print any page. the propblem is i dont know what to put in the HREF part of the link, yes i know there is a autotheme command for this but it is for an IMAGE ONLY link. |
Don't really follow you here. Do you want something like C-MD's "Printer Friendly Page" option but without the printer image?
If not, please try explaining again |
_________________ Retired from official MAXdev duties |
|
|
 |
crtvlynx
MD user level 5


Joined: Sep 14, 2004
Posts: 129
bannato
|
 Posted:
July 13, 2005 - 10:42 AM |
|
|
basically i want to know what i need to make an image turn into a printer friendly link for example:
<a href="WHAT GOES HERE"><img src="SOME IMAGE DONT MATTER"></a>
Where it is bold (the href) what do i put there to make the image printer friendly. I have tried putting "?theme=AutoPrint" but that only works on SOME pages and not ALL.
hope this clears things up thanks. |
|
|
|
 |
PeteBest
MD user level 5


Joined: Oct 06, 2003
Posts: 4845
bannato
|
 Posted:
July 13, 2005 - 10:49 AM |
|
|
The Autotheme command to add a print icon simply adds:
'echo "<a target=\"_blank\" href=\"$thisurl\">$printimage"._AT_PRINTERFRIENDLYPAGE."</a>";'
Should be very easy to adapt to where you want it |
_________________ Retired from official MAXdev duties |
|
|
 |
crtvlynx
MD user level 5


Joined: Sep 14, 2004
Posts: 129
bannato
|
 Posted:
July 13, 2005 - 11:28 AM |
|
|
IT WORKED!
wow i saw that and thought it wouldnt work..i mean "$thisurl" just seems too simple ...like the variable dosent even sound like it deals with printer friendly urls lol...thank you again petebest |
|
|
|
 |
clubJWP
MD NewNew

Joined: May 25, 2008
Posts: 1
bannato
|
 Posted:
May 25, 2008 - 01:29 AM |
|
|
the command is mentioned below just copy and paste and it will work
'echo "<a>$printimage"._AT_PRINTERFRIENDLYPAGE."</a>";'
oh you already know about it. sorry anyways if there is any other problem feel free to contact
JWP |
_________________ Great printer toner and ink cartridge deals, discounts and coupons. Also, check out the latest printer reviews and technology news. http://blog.concordsupplies.com |
|
|
 |
Bonzo
MD user level 5


Joined: Sep 15, 2004
Posts: 57
Location: Rome - Italy
bannato
|
 Posted:
May 27, 2008 - 12:20 PM |
|
|
|
|
 |
|
|