Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-02-2007, 02:20 PM
bagpiperdude90
Newsgroup Contributor
 
Posts: n/a
Do images reload on print? Images do not print or save correctly

I have built a script in PHP, that takes a variable submitted from an HTML
form, then overlays it onto a base .png image. It displays correctly...
everything is fine there. However, if I try to print the image or save the
image, the user submitted data is left out.

I also have a random number printed onto the image using PHP. This does NOT
come from a form. It is generated in PHP. IE7 displays that random number ok
when I print or save the image. It is only the user submitted data that
doesn't work.

I'd like to point out that this works ok in FireFox.

Is IE7 reloading the page when it prints the image? Should I set a session
variable, and use that as the variables in PHP?

Thanks for the help! I'm just wanting to know if there is a quick fix for it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 06-02-2007, 02:20 PM
  #2 (permalink)  
Old 06-02-2007, 10:30 PM
Rob ^_^
Newsgroup Contributor
 
Posts: n/a
Re: Do images reload on print? Images do not print or save correctly

Hi Bagpiper,

I am pretty sure that IE is printing tag value attributes for elements like
text and textareas, so these elements will not have a value until the form
is sent and then reloaded on the page. You will also notice that multiselect
listboxes do not print all of the selected options (both FF and IE and
Opera).

My usual process flow for form validation is

Present form to user.
User completes form and submits it.
Form is validated and if correct a printer friendly version is displayed to
the user
otherwise
The original form with the user's entered values is redisplayed to the user
for correction.

Other times I may put a "Printer Friendly view" button on the page that will
submit the form to an asp process to display the users entered data in a new
window in a printer friendly version.

Regards.
"bagpiperdude90" <bagpiperdude90@discussions.microsoft.com> wrote in message
news:CC5D69AB-1C48-4AF4-90EF-5C04BAE61C10@microsoft.com...
>I have built a script in PHP, that takes a variable submitted from an HTML
> form, then overlays it onto a base .png image. It displays correctly...
> everything is fine there. However, if I try to print the image or save the
> image, the user submitted data is left out.
>
> I also have a random number printed onto the image using PHP. This does
> NOT
> come from a form. It is generated in PHP. IE7 displays that random number
> ok
> when I print or save the image. It is only the user submitted data that
> doesn't work.
>
> I'd like to point out that this works ok in FireFox.
>
> Is IE7 reloading the page when it prints the image? Should I set a session
> variable, and use that as the variables in PHP?
>
> Thanks for the help! I'm just wanting to know if there is a quick fix for
> it.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 06-03-2007, 02:10 PM
bagpiperdude90
Newsgroup Contributor
 
Posts: n/a
Re: Do images reload on print? Images do not print or save correct

ok, well... the only problem is that this *needs* to be on the image...
otherwise it makes the whole thing useless. So I can't display a printer
friendly version.

I did try using session variables for it, and now the image saves correctly.
I might just tell the users to save the image, then print from their computer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: TIFF images versus Microsoft Document Images Bob I Microsoft Office 0 12-01-2008 06:30 AM
can not print images everything is converted to text Images are converted to text Internet Explorer 2 07-02-2007 01:00 PM
unable to view some images, maps or moving images on explorer. Paul uk Windows XP 1 03-28-2007 12:00 PM
RE: unable to view some images, maps or moving images on explorer. nass Windows XP 1 03-27-2007 05:17 PM
Printing images by using print command Stan B Windows XP 1 01-04-2007 04:26 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 10:30 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0