Solved

WordBasic/VB4  ->FilePrintSetup Problem

Posted on 1997-03-24
1
518 Views
Last Modified: 2012-08-14
I have the following...
Dim wordobj as Object
Set wordobj as CreateObject("Word.Basic")
wordobj.FileOpen "filename"
wordobj.FilePrintSetup Printer:="PS1"

No matter if I have a local printer or a network
printer, I get an error saying there is a printer
error?!?!

I am using Windows95, VB4, MicrosoftWord v7.0
Am help would be appreciated.
0
Comment
Question by:billhunt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
dirkmartin earned 50 total points
ID: 1424673
I tried this on my machine, and I too get the printer error, unless I use my correct printer name.  Then all goes well.  It must not be PS1.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question