Solved

Embedding PostScript commands in Word doc

Posted on 2001-06-27
3
378 Views
Last Modified: 2012-06-21
I'm manipulating a Word doc using COM, and I want to send a PostScript command to the printer.

{PRINT "<</Staple 1 /StaplePosition 2>>"}

It just prints out the text within the {}

The printer manual has "setpagedevice" after the given text.

Sorry this is a basic question about PostScript but I have a deadline!
0
Comment
Question by:manno
  • 3
3 Comments
 
LVL 10

Expert Comment

by:arana
ID: 6233486
you should check the driver you are using for printing, and also how is your driver managing TT fonts, i think the driver is taking that as NORMAL text.
0
 
LVL 10

Expert Comment

by:arana
ID: 6233492
also be sure you are using a PRINT FIELD and not only enclosing the command between the {} (just putting it between those does not make it a print field)

you have to go to Insert/Field.../Document Automation/Print


and then modify your print field.
0
 
LVL 10

Accepted Solution

by:
arana earned 50 total points
ID: 6233496
you should check the driver you are using for printing, and also how is your driver managing TT fonts, i think the driver is taking that as NORMAL text.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 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