Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 14th, 2003, 04:59 PM
JLS JLS is offline
Registered User
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Changing print drivers

I have a VB application which prints templates from word using the users default print driver then it saves the output to a file using the default print driver.
This is the code which saves the file.

************************************************** ****************
Sub MakeImageFile()

If gsFilename <> "ERROR" Then
  ActiveDocument.PrintOut OutputFileName:=Trim(gsFilename), PrintToFile:=True
End If
End Sub

************************************************** ****************
I need to save the output using a different print driver.

I prefer that all of this be hidden from the user.

Is there a way to change the print driver within this macro?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print a page without changing page setup nrajeshatwork Servlets 1 May 23rd, 2007 10:09 AM
ODBC Drivers error '8007000e' rtr1900 Classic ASP Databases 15 October 25th, 2006 04:03 AM
Using Multiple Drivers in one report... PaulJH Crystal Reports 1 October 18th, 2006 11:59 AM
Drivers programmed C++ Programming 1 January 8th, 2004 06:47 AM
Changing print options within Access VBA rossmic Access VBA 2 June 27th, 2003 12:06 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.