Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 10th, 2024, 12:28 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PrintFile() and print action
PostPosted: March 16th, 2006, 1:20 am 
Offline

Joined: December 29th, 2004, 12:00 pm
Posts: 230
Location: Auckland NZ
Opus: v 7.04
OS: xp & win7
I hope someone can help me with this...
If I use the print action to print a page from my pub it works fine.

If I try 'print text file in publication directory' as an action I get the select printer and cancel printing dialogue boxes, but the printing does not actually occur - I get a printing/hourglass that never resolves. (I do publish and test the published pub with the text file in the publish directory)

same thing happens if I try scripting:

doc_to_print = SYSTEM_PUBLICATION_DIR + "opustest.txt" (script on the page show)

and then

PrintFile(doc_to_print,true,true) by clicking a button
what am I missing???


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 9 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group