473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Print template

I am implementing print template solution. I would like to use it in asp
app. I open new document then generate print preview then print and
finally close preview window, but I am not able to close previewed document.
I try to move document window out of screen - somewhere like
9999999,9999999 position, view preview then print and finnaly close
preview window. Then document window is invisible but still exists.
How can I close the document window after preview??

I belive it would be better solution if I could open printed document in
my ActiveX (with browser ActiveX included) but trying do it I receive
login page :-( . I am not able to share session between document and
implemented ActiveX.

any idea ?

regards,
yooyoo
Jul 19 '05 #1
5 1706

"yooyoo" <qs*****@cutit.poczta.onet.pl> wrote in message
news:ch**********@atlantis.news.tpi.pl...
I am implementing print template solution. I would like to use it in asp
app.


No, instead of going with what you'd like to use, go with what technology
will be able to produce the results you need. ASP and printing are rarely,
if ever, related!

Ray at work
Jul 19 '05 #2
Ray Costanzo [MVP] wrote:
"yooyoo" <qs*****@cutit.poczta.onet.pl> wrote in message
news:ch**********@atlantis.news.tpi.pl...

I am implementing print template solution. I would like to use it in asp
app.

No, instead of going with what you'd like to use, go with what technology
will be able to produce the results you need. ASP and printing are rarely,
if ever, related!

Ray at work


I produce HTML document and wanna do some document formating like
removing/adding footer, header, print lanscape and so on. To produce
what I need I use Print Template available in IE 5.5 and later.

kingdom for cup of coffee
yooyoo
Jul 19 '05 #3
A PDF file would more closely do what you want. The problem with doing
it with ASP is the fact that different browsers do different things with
the same HTML code.

yooyoo wrote:
Ray Costanzo [MVP] wrote:
"yooyoo" <qs*****@cutit.poczta.onet.pl> wrote in message
news:ch**********@atlantis.news.tpi.pl...

I am implementing print template solution. I would like to use it in
asp app.


No, instead of going with what you'd like to use, go with what
technology will be able to produce the results you need. ASP and
printing are rarely, if ever, related!

Ray at work


I produce HTML document and wanna do some document formating like
removing/adding footer, header, print lanscape and so on. To produce
what I need I use Print Template available in IE 5.5 and later.

kingdom for cup of coffee
yooyoo


Jul 19 '05 #4
joker wrote:
A PDF file would more closely do what you want. The problem with doing
it with ASP is the fact that different browsers do different things with
the same HTML code.

yooyoo wrote:
Ray Costanzo [MVP] wrote:
"yooyoo" <qs*****@cutit.poczta.onet.pl> wrote in message
news:ch**********@atlantis.news.tpi.pl...
I am implementing print template solution. I would like to use it in
asp app.


No, instead of going with what you'd like to use, go with what
technology will be able to produce the results you need. ASP and
printing are rarely, if ever, related!

Ray at work


I produce HTML document and wanna do some document formating like
removing/adding footer, header, print lanscape and so on. To produce
what I need I use Print Template available in IE 5.5 and later.

kingdom for cup of coffee
yooyoo


I know what you mean - all this browsers nightmare of "different things"
of different browsers.
PDF is a good idea and as well as Crystal Reports features but all I
have is HTML. Do you know any efficient and low cost HTML to PDF
converter that can be used is asp application ?
Jul 19 '05 #5
Not of the top of my head sorry. I have avoided doing anything that
required me to use the PDF format for quite some time. I had some
problems generating forms using an older version that didn't have enough
features for me to use it.

yooyoo wrote:
joker wrote:
A PDF file would more closely do what you want. The problem with
doing it with ASP is the fact that different browsers do different
things with the same HTML code.

yooyoo wrote:
Ray Costanzo [MVP] wrote:

"yooyoo" <qs*****@cutit.poczta.onet.pl> wrote in message
news:ch**********@atlantis.news.tpi.pl...
> I am implementing print template solution. I would like to use it
> in asp app.

No, instead of going with what you'd like to use, go with what
technology will be able to produce the results you need. ASP and
printing are rarely, if ever, related!

Ray at work
I produce HTML document and wanna do some document formating like
removing/adding footer, header, print lanscape and so on. To produce
what I need I use Print Template available in IE 5.5 and later.

kingdom for cup of coffee
yooyoo


I know what you mean - all this browsers nightmare of "different things"
of different browsers.
PDF is a good idea and as well as Crystal Reports features but all I
have is HTML. Do you know any efficient and low cost HTML to PDF
converter that can be used is asp application ?


Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: mrnicelife | last post by:
Hi, When using WebBrowser object to print an html page, the ExecWB call has a nice argument that allows an application to wait for the completion of the print job. When an app call ExecWB with...
3
by: C.K | last post by:
Hello all, I am still working on my calendar program, and I have decided that the best way is for my vb program to write html tags into a file and then to print the file from ie6. Everything is...
2
by: tutufan | last post by:
Hi, I'm trying to use template metaprogramming to print (for debugging purposes) the contents of an arbitrary (random-access) container. So, for example, I'd like to be able to print a...
6
by: CSharpguy | last post by:
In my gridview I have 2 -3 template fields which are hyperlinks. I allow the user to print this grid. When the grid prints it also prints the links, how can I take the user to a print preview page...
1
by: ladislav | last post by:
I need modify first program.In second program I try print method findPrime in method main.I have there anywhere mistakes.Please obout help. First program: ** *PrimeNumber.java * *
24
by: Tony Girgenti | last post by:
Hello. Developing a Windows Form program in VS.NET VB, .NET Framework 1.1.4322 on a windows XP Pro, SP2. Before printing a document, i want to set the font to a font that is only available...
4
by: j_depp_99 | last post by:
Thanks to those guys who helped me out yesterday. I have one more problem; my print function for the queue program doesnt work and goes into an endless loop. Also I am unable to calculate the...
0
by: JRough | last post by:
I have the following code at the end of a page that lists some query results. It starts in a form that asks the user for input, one of two template pages. One template is a form for user input if...
2
by: JRough | last post by:
I have this code that switches templates depending on if the user fills in a form with a request. The request asks for the $mark & $number. If that request gets input then it displays a list...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.