Publisher + Web-application

S

stolin

Huston, I have a problem. It is about publisher, web-application and printing
the result document. I have a publisher file which I fill with data from a DB
using PIA. Everything goes smoothly on the server side. But how can I present
the result for the client. At first I thought to save the file as a picture
as it is possible in the application and then present the picture to the
client in IE. But unfortunately I can’t do it through PIA as SaveAs takes
only publisher or text as PbFileFormat.

Is it any other way to do it so that client doesn’t have to have publisher?
 
E

Ed Bennett

stolin said:
But how can I present the result for the client. At first I
thought to save the file as a picture as it is possible in the
application and then present the picture to the client in IE. But
unfortunately I can't do it through PIA as SaveAs takes only
publisher or text as PbFileFormat.

Which version of Publisher are you using server-side?
 
S

stolin

Publisher 2003 is running on the server and the object libraries for Office
and Publisher are 11.0.

Thank You in advance.
 
S

stolin

I humbly apologise for insulting all the Houston community. :)

JoAnn Paules said:
Stolin -

It's Houston, not Huston. ;-)

--

JoAnn Paules
MVP Microsoft [Publisher]



stolin said:
Huston, I have a problem. It is about publisher, web-application and
printing
the result document. I have a publisher file which I fill with data from a
DB
using PIA. Everything goes smoothly on the server side. But how can I
present
the result for the client. At first I thought to save the file as a
picture
as it is possible in the application and then present the picture to the
client in IE. But unfortunately I can't do it through PIA as SaveAs takes
only publisher or text as PbFileFormat.

Is it any other way to do it so that client doesn't have to have
publisher?
 
E

Ed Bennett

stolin said:
Publisher 2003 is running on the server and the object libraries for
Office and Publisher are 11.0.

SaveAsPicture is a method of the Page object, as only one page can be stored
in one image.

Syntax:
Document.Pages(x).SaveAsPicture("FileName")

Alternatively, if your clients wanted higher resolution, lower download
sizes, and an easy print option, you could use a server-side PDF component,
print the Publisher file to a PDF file, and present that to the user.
 
S

stolin

Thank You. That helps.

I thought about PDF as well. Can You recomend something that doesn't cost to
much?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top