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

print exe


Guys

I have got an exe which takes a printername and file(s)
as arguments for printing. This is running fine on the
local machine (printing to a network printer from the
local machine)

Can I put this exe on a server and allow users to print
on their networked printers. Should I be doing a web
service for this..?

How can I provide the exe access to printing from the
server, what rights do the admininstrators need to give
to the exe for this. Will they need to use CASPOL.EXE

I would appreciate any help

Thanks in advance

Nov 16 '05 #1
7 2942
Can I put this exe on a server and allow users to print
on their networked printers.
If you do so the users will have to download the program and execute it
locally for this probably they will need to select the printer and the
document, so using command line is not the best solution I think.
Should I be doing a web
service for this..?


If so it will be printed IN the server's printer, not in each user's

I think it will be better to map it in a network share and put a shortcut in
the desktop, even in this case it would be better if they can select the
file (and printer) visually.
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Nov 16 '05 #2

Ignacio,

thanks for that,
I think it will be better to map it in a network share
and put a shortcut in the desktop, even in this case it
would be better if they can select the file (and
printer) visually.


I have got global users who need to print batch reports
from a web app on the printers added to their local
machines, how can I do this..

Can you suggest any solution for me
thanks

Nov 16 '05 #3
Hi,

What are you printing ?

Can you convert it to something like pdf .doc etc ? if so what you can do
is open a new window with the document and then the user will be able to
print it from there with no problem.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Frank" <an*******@discussions.microsoft.com> wrote in message
news:3a****************************@phx.gbl...

Ignacio,

thanks for that,
I think it will be better to map it in a network share
and put a shortcut in the desktop, even in this case it
would be better if they can select the file (and
printer) visually.


I have got global users who need to print batch reports
from a web app on the printers added to their local
machines, how can I do this..

Can you suggest any solution for me
thanks

Nov 16 '05 #4

-----Original Message-----
Hi,
What are you printing ? I am printing a batch of reports which is basically
preformatted text,
Can you convert it to something like pdf .doc etc ? if so what you can dois open a new window with the document and then the user will be able toprint it from there with no problem.


I see what you mean here, but the users wants
functionality to select a number of reports by their name
and the program should go and print the batch of reports
without further intervention by the user..



Nov 16 '05 #5
Hi,
"Frank" <an*******@discussions.microsoft.com> wrote in message
news:3b****************************@phx.gbl...
What are you printing ?

I am printing a batch of reports which is basically
preformatted text,


So it can be converted
Can you convert it to something like pdf .doc etc ? if

so what you can do
is open a new window with the document and then the user

will be able to
print it from there with no problem.


I see what you mean here, but the users wants
functionality to select a number of reports by their name
and the program should go and print the batch of reports
without further intervention by the user..


How they users access the app? IT's a web or win app?
If it's a web then you have to convert the reports to something that the
user can print , you could open a new windows with the results and do a
Print() , it's jus that the printout will not looks very "report" like
if you use something like Crystal Report you can create some nice formatted
reports then you can export them to a pdf

How long do they take to run? if they take a while you could executed them
in the background and then send an email to the user when the results are
ready.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Nov 16 '05 #6

Ignacio,

the report is normally in html format,
A web app generates the complete report but this has to
happen in the background, I cannot bring up a print
dialog

what do you mean by a print() .. Is it the window.print()
in javascript
I have tried that and it always brings up the print dialog

-----Original Message-----
> Can you convert it to something like pdf .doc etc ?
if so what you can do
>is open a new window with the document and then the
user will be able to
>print it from there with no problem.
I see what you mean here, but the users wants
functionality to select a number of reports by their name and the program should go and print the batch of reports without further intervention by the user..


How they users access the app? IT's a web or win app?
If it's a web then you have to convert the reports to

something that theuser can print , you could open a new windows with the results and do aPrint() , it's jus that the printout will not looks very "report" likeif you use something like Crystal Report you can create some nice formattedreports then you can export them to a pdf

How long do they take to run? if they take a while you could executed themin the background and then send an email to the user when the results areready.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
.

Nov 16 '05 #7
the report is normally in html format,
A web app generates the complete report but this has to
happen in the background, I cannot bring up a print
dialog

what do you mean by a print() .. Is it the window.print()
in javascript
I have tried that and it always brings up the print dialog


Hi,

Yes, I meant that, and it will always show the printer dialog.

I don;t know if any way to print it without showing the print dialog, maybe
with an activeX object you could solve this ...

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Nov 16 '05 #8

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

Similar topics

12
by: Michael Foord | last post by:
Here's a little oddity with 'print' being a reserved word... >>> class thing: pass >>> something = thing() >>> something.print = 3 SyntaxError: invalid syntax >>> print something.__dict__...
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:...
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 ...
1
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
1
by: Steff | last post by:
I am wandering if my code is making sense... I use a lot the print function. Is it weird in this case where I have to display an array ? I thought it would be better to have the entire array in php...
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...
69
by: Edward K Ream | last post by:
The pros and cons of making 'print' a function in Python 3.x are well discussed at: http://mail.python.org/pipermail/python-dev/2005-September/056154.html Alas, it appears that the effect of...
2
by: Brad Pears | last post by:
I have some sample code that uses the print dialog, print preview and a print direct options. If I select print preview and then click the printer icon from that, the document prints. If I...
7
by: samslists | last post by:
Am I the only one that thinks this would be useful? :) I'd really like to be able to use python 3.0's print statement in 2.x. Is this at least being considered as an option for 2.6? It seems...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.