New topic: 

Can't print HTMLViewer with built in methods or MBS.. tips?

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        clarusmoof          Post subject: Can't print HTMLViewer with 
built in methods or MBS.. tips?Posted: Wed May 08, 2013 8:01 pm                 
        
Joined: Wed Feb 13, 2013 10:02 pm
Posts: 4                I've been racking my brain on this for several weeks 
now... hopefully someone can help. What I need to do SHOULD be incredibly 
simple. I am compiling for Mac OS X.

I just need to print an HTMLViewer without requiring the user to interact with 
a print dialog box. The built-in HTMLViewer.print requires the print dialog to 
be shown and dismissed by the user - it also has bugs with properly printing 
multiple pages. I just need the HTMLViewer to be sent to the printer 
automatically, as there may be many HTMLViewer pages being printed.

Using MBS to print the HTMLViewer just prints a blank page, so that doesn't 
work.

I tried using RenderDocumentToPDFMBS to take an HTMLViewer and convert it to a 
PDF and then print that. The issue I have is that when I try to print the PDF, 
it does not print on multiple pages as it should, but rather scaled down so 
tiny that the print out is useless. The text is unreadable and all of the 
content is super tiny. I've tried messing with all of my printer settings, 
there's just no way to have it split the PDF into pages, I've tried using 
Terminal's lp commands, but no matter what the PDF is scaled down or cut off.

Is there any way to take an HTMLViewer and print the content, with proper 
scaling and multiple pages, and without showing the print dialog to the user?

Is there a way to simply tell RenderDocumentToPDFMBS to separate by pages? Or 
is there another method to print from an HTMLViewer without requiring the user 
interact with the print dialog window each time?

I can't believe this simple task is so difficult, and I'm sure I'm overlooking 
a simple solution. Thank you very much in advance to anyone who can help.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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