Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: printModule without the print dialog box
Topic Summary:
Created On: 4-May-2005 11:39
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 4-May-2005 11:39
User is offline View Users Profile Print this message


Kristian Bøe

Posts: 29
Joined: 16-Jun-2003

Does anyone have any print function that will print a module using the current page setup to the default printer without stoping in the print dialog. I need this to make some form of batch printing script.

Any other solutions would be welcome as well.


-------------------------
Kristian Bøe
Extenda AB
Kristian.Boe@extenda.se
Report this to a Moderator Report this to a Moderator
 7-Jul-2006 18:14
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

showPrintDialogs (bool)

            true will show the dialog

            false will not show the dialog

printModule current Module

This will print to the default printer.   On a similar subject does anyone know how to select a particular printer, i.e. Adobe PDF, when you don't show the print dialog?



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 7-Jul-2006 at 18:15 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 18-Jul-2006 21:42
User is offline View Users Profile Print this message


Jim Hardt

Posts: 1
Joined: 18-May-2006

I am currently doing it with a perl script but I just stumbled across the Registry tools elsewhere in this forum and am looking into it.  The Key "HKEY_CURRENT_USER/Software/Microsoft/Windows NT/CurrentVersion/Windows/Device" contains the default printer value.  

Just update the value to the printer you want to use.  Best to save off the old one and restore later.

Warning:  Be careful manipulating registry!

Edited: 21-Jul-2006 at 19:47 by Jim Hardt
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.