• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 384
  • Last Modified:

Embedding PostScript commands in Word doc

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
manno
Asked:
manno
  • 3
1 Solution
 
aranaCommented:
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
 
aranaCommented:
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
 
aranaCommented:
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now