New topic: 

HTMLViewer.Print... Hanging.

<http://forums.realsoftware.com/viewtopic.php?t=34234>

         Page 1 of 1
   [ 8 posts ]                 Previous topic | Next topic          Author  
Message        JustSomeGuy          Post subject: HTMLViewer.Print... 
Hanging.Posted: Fri Jun 11, 2010 11:59 am                         
Joined: Fri May 11, 2007 11:35 am
Posts: 875                I have a table in a htmlviewer.  I try the print 
method, the printer dialog box appears.
I say, go, and it sits there saying "Processing page: 1"
Nothing ever happens... It's just hung.
REAL Studio 2010 Release 2 MAC OS X 10.5.8      
_________________
6502 Assembler on Steroids  
                             Top                pony          Post subject: Re: 
HTMLViewer.Print... Hanging.Posted: Fri Jun 11, 2010 12:22 pm                   
              
Joined: Sat Nov 11, 2006 2:43 pm
Posts: 751
Location: DFW area, Texas, USA                Just tested it. Works perfectly 
for me.
Has your page finished loading? Have you tried other pages?
What have you tried?

2010R1 Mac, Snow Leopard      
_________________
Fly like a mouse, run like a cushion, be the small bookcase.
http://www.wish-sandwich.com  
                             Top                JustSomeGuy          Post 
subject: Re: HTMLViewer.Print... Hanging.Posted: Fri Jun 11, 2010 12:41 pm      
                   
Joined: Fri May 11, 2007 11:35 am
Posts: 875                The page was loaded with HTMLViewer1.LoadPage(mHTML, 
nil)
No URL.. Just html in a string.
Quote:<html><head><style type="text/css">#customers{font-family:"Trebuchet MS", 
Arial, Helvetica, sans-serif;width:100%;border-collapse:collapse;}#customers 
td, #customers th{font-size:1em;border:1px solid #98bf21;padding:3px 7px 2px 
7px;}#customers 
th{font-size:1.1em;text-align:left;padding-top:5px;padding-bottom:4px;background-color:#A7C942;color:#ffffff;}#customers
 tr.alt td{color:#000000;background-color:#EAF2D3;}</style></head><body><table 
id="customers"><tr><th>PatientName</th><th>StudyDescription</th><th>StorageDate</th><th>SeriesInStudy</th><th>StudySize</th></tr><tr><td>BJG
 </td><td>AIMHIGH 
REPRODUCIBILITY-(AIMHIGH-NEW)</td><td>2010-06-07</td><td>12</td><td>173000752</td></tr><tr
 class="alt"><td>BJG </td><td>AIM HIGH 1 
YEAR-(AIMHIGH-NEW)</td><td>2010-06-07</td><td>12</td><td>170853592</td></tr><tr><td>EGC
 </td><td>AIM HIGH 
BASELINE-(AIMHIGH-NEW)</td><td>2010-06-07</td><td>12</td><td>170849776</td></tr></table></body></html>
      
_________________
6502 Assembler on Steroids  
                             Top                markwalsh          Post 
subject: Re: HTMLViewer.Print... Hanging.Posted: Fri Jun 11, 2010 1:42 pm       
                  
Joined: Wed May 20, 2009 4:43 pm
Posts: 150                JustSomeGuy wrote:The page was loaded with 
HTMLViewer1.LoadPage(mHTML, nil)
No URL.. Just html in a string.
Quote:<html><head><style type="text/css">#customers{font-family:"Trebuchet MS", 
Arial, Helvetica, sans-serif;width:100%;border-collapse:collapse;}#customers 
td, #customers th{font-size:1em;border:1px solid #98bf21;padding:3px 7px 2px 
7px;}#customers 
th{font-size:1.1em;text-align:left;padding-top:5px;padding-bottom:4px;background-color:#A7C942;color:#ffffff;}#customers
 tr.alt td{color:#000000;background-color:#EAF2D3;}</style></head><body><table 
id="customers"><tr><th>PatientName</th><th>StudyDescription</th><th>StorageDate</th><th>SeriesInStudy</th><th>StudySize</th></tr><tr><td>BJG
 </td><td>AIMHIGH 
REPRODUCIBILITY-(AIMHIGH-NEW)</td><td>2010-06-07</td><td>12</td><td>173000752</td></tr><tr
 class="alt"><td>BJG </td><td>AIM HIGH 1 
YEAR-(AIMHIGH-NEW)</td><td>2010-06-07</td><td>12</td><td>170853592</td></tr><tr><td>EGC
 </td><td>AIM HIGH 
BASELINE-(AIMHIGH-NEW)</td><td>2010-06-07</td><td>12</td><td>170849776</td></tr></table></body></html>

I'm getting the same results using your HTML string: Prints fine on Windows XP, 
but hangs on Mac 10.5.8. I'm using RB 2010r2on my Windows XP computer.      
_________________
RB 2009r4 Windows XP  
                             Top                 JustSomeGuy          Post 
subject: Re: HTMLViewer.Print... Hanging.Posted: Fri Jun 11, 2010 1:52 pm       
                  
Joined: Fri May 11, 2007 11:35 am
Posts: 875                I've filed a bug.      
_________________
6502 Assembler on Steroids  
                             Top                pony          Post subject: Re: 
HTMLViewer.Print... Hanging.Posted: Fri Jun 11, 2010 1:56 pm                    
             
Joined: Sat Nov 11, 2006 2:43 pm
Posts: 751
Location: DFW area, Texas, USA                Thats odd. I just used the same 
string on 10.6.3 and it worked perfectly      
_________________
Fly like a mouse, run like a cushion, be the small bookcase.
http://www.wish-sandwich.com  
                             Top                JustSomeGuy          Post 
subject: Re: HTMLViewer.Print... Hanging.Posted: Fri Jun 11, 2010 2:05 pm       
                  
Joined: Fri May 11, 2007 11:35 am
Posts: 875                Oh.. Well I'm about to go 10.6 anyways...      
_________________
6502 Assembler on Steroids  
                             Top                markwalsh          Post 
subject: Re: HTMLViewer.Print... Hanging.Posted: Fri Jun 11, 2010 2:15 pm       
                  
Joined: Wed May 20, 2009 4:43 pm
Posts: 150                pony wrote:Thats odd. I just used the same string on 
10.6.3 and it worked perfectly
I just verified that it prints fine on one of our computers running 10.6.3 as 
well, but not on my computer running 10.5.8.      
_________________
RB 2009r4 Windows XP  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 8 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to