473,382 Members | 1,357 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,382 software developers and data experts.

Print solution

I am trying to implement a printing to file solution of a html page on the
server.
What I have is a form with a IE control that loads the page I want to print
to.
I am using execWB command for printing. Printer's port is set 'To file'.
Everything works fine when I am running that component from a desktop apps.
But when I call that component from an asp page nothing is happening.
I dont see any dialogs popping up on the screen.
BTW, if I print to a printer works fine either.

Does anyone have an idea?

Thanks
Jul 19 '05 #1
4 2608
"Mark Goldin" <ma********@comcast.net> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
I am trying to implement a printing to file solution of a html page on the
server.
What I have is a form with a IE control that loads the page I want to print to.
I am using execWB command for printing. Printer's port is set 'To file'.
Everything works fine when I am running that component from a desktop apps. But when I call that component from an asp page nothing is happening.
I dont see any dialogs popping up on the screen.
BTW, if I print to a printer works fine either.

Does anyone have an idea?


Start here:
http://support.microsoft.com/?kbid=184291

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2
I tried that, did not help.
As I said, if I print to a printer it works fine, it only does not work when
I print to file.

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bq**********@kcweb01.netnews.att.com...
"Mark Goldin" <ma********@comcast.net> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
I am trying to implement a printing to file solution of a html page on the server.
What I have is a form with a IE control that loads the page I want to print
to.
I am using execWB command for printing. Printer's port is set 'To file'.
Everything works fine when I am running that component from a desktop

apps.
But when I call that component from an asp page nothing is happening.
I dont see any dialogs popping up on the screen.
BTW, if I print to a printer works fine either.

Does anyone have an idea?


Start here:
http://support.microsoft.com/?kbid=184291

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running

IIS http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #3
"Mark Goldin" <ma********@comcast.net> wrote in message news:<OW**************@TK2MSFTNGP12.phx.gbl>...
I tried that, did not help.
Start here:
http://support.microsoft.com/?kbid=184291


Instead of using a FILE: port you could create a new local port and
enter the path to the file you want to write as the port name. You
just need to rename it after you print so it doesn't get overwritten
by the next job.

Alternatively we have a product called Print Distributor on our web
site which will name the files dynamically as you print.

Tony Edgecombe
www.frogmorecs.com/ng
Software for Printing
Jul 19 '05 #4
>just need to rename it after you print so it doesn't get overwritten
by the next job. Can this be done programmatically?

Thanks

"Tony Edgecombe" <go***********@frogmorecs.com> wrote in message
news:d7**************************@posting.google.c om... "Mark Goldin" <ma********@comcast.net> wrote in message

news:<OW**************@TK2MSFTNGP12.phx.gbl>...
I tried that, did not help.
Start here:
http://support.microsoft.com/?kbid=184291


Instead of using a FILE: port you could create a new local port and
enter the path to the file you want to write as the port name. You
just need to rename it after you print so it doesn't get overwritten
by the next job.

Alternatively we have a product called Print Distributor on our web
site which will name the files dynamically as you print.

Tony Edgecombe
www.frogmorecs.com/ng
Software for Printing

Jul 19 '05 #5

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

Similar topics

14
by: Marcin Ciura | last post by:
Here is a pre-PEP about print that I wrote recently. Please let me know what is the community's opinion on it. Cheers, Marcin PEP: XXX Title: Print Without Intervening Space Version:...
4
by: Fred | last post by:
I'm a newbie to JavaScript so be gentle. You know that funky IE margin issue that causes the right side of the page to get cut off when the user prints the html document?...
7
by: Robert Adkison | last post by:
I need to print a web page. It is my preference that my users just do a File/Print from explorer. That way my users will get the print dialog that will allow them to select the fax printer. The...
0
by: bearophileHUGS | last post by:
There is/was a long discussion about the replacement for print in Python 3.0 (I don't know if this discussion is finished): http://mail.python.org/pipermail/python-dev/2005-September/055968.html ...
3
by: James J. Besemer | last post by:
I would like to champion a proposed enhancement to Python. I describe the basic idea below, in order to gage community interest. Right now, it's only an idea, and I'm sure there's room for...
22
by: joshc | last post by:
In an interview for an embedded software position recently I was asked to write code, in C, for printing the contents of a linked list backwards. After a few minutes I came up with the recursive...
29
by: bobby | last post by:
write a online c expression to print 1 -100 numbers with out using control statements/structures, jumps-conditional/unconditional.given the program dont modify and solve int i=1; int main()...
0
coolv
by: coolv | last post by:
Hello everyone, I have problem with getting a print of page in my application(ASP>NET,C#). I have reciept page in my application.in this page a data which i want to print comes from...
4
by: sinbad | last post by:
how can i write a program, which should accept input as NAME of a variable in the program and print it's value.Is this possible. for example. int main () { int x,y,z; x = 10; y = 20; z = 30;
0
by: nitinsingh1 | last post by:
Hi, I have developed a project in JAVA,in which i am using JSP pages & Servlets.I want to print (using bluetooth printer) a particular JSP page,for that i have made a button "Print" on...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.