Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 11th, 2025, 11:47 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Printing multiple documents dependant on user selection!
PostPosted: April 16th, 2005, 8:41 pm 
Offline

Joined: December 28th, 2004, 5:30 pm
Posts: 3
Help!

Tried several things but about to give up and revert to Flash!

Is there a way to achieve this:

I have a simple front end screen with several tick boxes. The idea is that a user can tick which subjects they want included in a final printed manual.

The manual has been written so that each chapter is a seperate Word doc (although any format can be used if its easier!). I want the user to tick the subjects, and I suppose some form of variable will store their choices, then when they click a print button it prints the 1st subject doc, then the next and so on, until the user has a complete manual with only the subjects required!

Hope that explains it. Can anyone throw some light on to this problem.. or at least give me some ideas i can explore!

Thanks


For this message Mark Monroe has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: April 17th, 2005, 12:15 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
An example of how to achieve this is attached. Just replace the variable add actions on the Print button (which just make the output string to show what is happening), with the relevant print document actions.
Hope this helps.


You do not have the required permissions to view the files attached to this post.


For this message Duncan Lilly has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: big thanks..BUT!
PostPosted: April 17th, 2005, 5:53 pm 
Offline

Joined: December 28th, 2004, 5:30 pm
Posts: 3
just to say thanks for reply... unfortunately I cant open the publication. I have version 2.81 and it tells me your pub was done in a newer version!

any chance of saving it in an older version???????

or maybe copy/paste the code or an idea of how to use the variable!
thanks again


For this message Mark Monroe has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: April 18th, 2005, 10:19 am 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
The previous version uses features not available in 2.x - specifically the ability to bind a button directly to a variable.
I have re-written the example in an older version. It is only slightly more complex - you just have to maintain the variable states yourself.


You do not have the required permissions to view the files attached to this post.


For this message Duncan Lilly has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: thanks
PostPosted: April 18th, 2005, 4:17 pm 
Offline

Joined: December 28th, 2004, 5:30 pm
Posts: 3
thanks for that. Ive downloaded and tried it, it works and gives me some ideas.
However, am i right in thinking that in 2.81 you can't print a Word document. In the code you supplied, I added the Print action, but the Action dialog only allows to print a page in pub, or a txt file etc...
Am i missing somehting!!

But it works other than the printer prints strange mess!!!!

thanks anyway for the time you spent solving the coding!


For this message Mark Monroe has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: April 18th, 2005, 8:24 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your reply.

You are correct. The richtx32.ocx helper file which Opus uses to handle external text files only supports plain text (*.txt) and rich text (*.rtf) formats.

One workaround may be to include Microsoft's free Word Viewer application (http://support.microsoft.com/kb/889347) on your publication CD, then use a Launch File action to launch this viewer with the /p print switch and the path to the Word document as parameters. The Word Viewer should now print the document without problems.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


For this message Robin Garrett has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group