Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 6th, 2025, 10:34 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Printing PRN files
PostPosted: January 3rd, 2005, 4:00 pm 
Offline

Joined: October 25th, 2004, 2:20 pm
Posts: 686
Location: Naperville, Illinois (USA)
Opus: 7.05
OS: Win XP SP3
System: P4 3.2GHz 1GB RAM 2-TB HDs + 4 more
A client wants to be able to print all the Pages in the presentation I've built for them. If you use Print Page in OPUS, any "Initially Hidden" Objects do NOT print, plus there's only one Page per printed page. I'd also have to have 72 Print Page commands -- not a good idea.

While in the OPUS Editor, you can go to File --> Print, and you have the option to print multiple Pages on a single page (like PowerPoint). This also prints Hidden Objects. The best part is you can ouput to a PRN file!

Once I've run this feature, I get "Output.PRN" with all the information I want. I then used NotePad to created a BAT file (PRINT.BAT) with this Command Line:

COPY output.prn LPT1: /B

I finally created a Button Object with a Left Mouse Trigger, and an Action of Launch file PRINT.BAT. This all works perfectly, and prints 6 Pages per page. The problem is the Launch window stays open after printing. Is there a way to get the Launch window to automatically close after running the BAT file?

_________________
Fred Harms, Extraordinary Demos
Naperville, Illinois (USA) 630/904-3636
demofred@aol.com


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 3rd, 2005, 4:37 pm 
Offline

Joined: November 5th, 2004, 1:45 pm
Posts: 92
Location: Lancashire, UK
Try adding these two lines at the end of your batch file:

cls
@exit


Top
 Profile  
 
 Post subject: Batch Files Auto-closing
PostPosted: January 3rd, 2005, 4:38 pm 
Offline

Joined: November 3rd, 2004, 8:12 pm
Posts: 129
Location: New Brunswick, Canada
Opus: 8.6
OS: Win 8 (ASUS) - Win 7: (ASUS)
System: Asus - Windows 7 - 8 - Intel Core 3 - 4RAM - 16RAM
Fred,

Steve Henson posted the following in the Tips and Tricks section on the Illuminatus Forum. Batch files auto-closing (page 7)

==================
For those who require to launch and run a DOS batch file in Opus or ILM you want the *.bat file to terminate (self close) itself and not stay open in Windows. Here is the command to add as your last line in your batch file.

for %%v in ("prompt $e[m" "echo on" cls) do %%v

Steve
================

It works OK with Win XP
Leo

_________________
Leo Taylor
Win XP Home / Opus Pro 7.01 & 6.4 / P4-2.8 / 1.5 GB RAM / ATI All-in-Wonder 9600 /160GB-HD


Top
 Profile Visit website  
 
 Post subject: Works PERFECT
PostPosted: January 3rd, 2005, 4:54 pm 
Offline

Joined: October 25th, 2004, 2:20 pm
Posts: 686
Location: Naperville, Illinois (USA)
Opus: 7.05
OS: Win XP SP3
System: P4 3.2GHz 1GB RAM 2-TB HDs + 4 more
Leo --

That Steve Henson is one SMART Austrialian!!!!!! I did a copy and paste into a new last line of the PRINT.BAT file. The font was wrong, so I got 9696 instead of %%. I changed the font and it popped in correctly.

I clicked the print Button in the presentation, and the PRINT.BAT window opened, started to print, and closed!!! Perfect!!!! Thanks for remembering to look on the old Illuminatus Forum Tips & Tricks board. DW should add that one to their section on FAQs.

_________________
Fred Harms, Extraordinary Demos
Naperville, Illinois (USA) 630/904-3636
demofred@aol.com


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 3rd, 2005, 6:18 pm 
Offline

Joined: October 25th, 2004, 12:32 pm
Posts: 397
Location: Digital Workshop
Now Added to FAQ Section.

Regards

Brenden Knifton


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 36 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