[comp.lang.postscript] I need some help please.

steve@oakhill.UUCP (steve) (01/27/89)

I have two postscript questions.  The first involves the following
segment of code.

/new_line
  {
  /current_line current_line font_size sub def
  differ_of_fonts 0 ne
    {
    /current_line current_line differ_of_fonts add def
%   /differ_of_fonts 0 def
    } if
  current_line bottom_margin lt
    {
    showpage
    /current_line top_margin def
    right_margin current_line moveto
    put_header
    } if
  right_margin current_line moveto
  } def

As I have this function typed, it works (I get a printout).  If I remove
the comment from the line setting differ_of_fonts to 0, it doesn't work
(I get no printout).  I tried several stratagies.  I moved the assignment,
I've tried other arangements, etc.  In fact, this is already a workaround
for code elsewhere I couldn't get to work (If you solve this problem, I'll
post it).  I know that this code is entered, and by logical deduction,
this line is killing it.  WHY?

The second problem is more general.  How does on get back the error code
from a postscript printer.  In specific I am sending this file to a laser
printer hanging off a VAX running VMS.

As you can probably guess, I am new to postscript.

Thank you in advance.


                   enough from this mooncalf - Steven
----------------------------------------------------------------------------
These opinions aren't necessarily Motorola's or Remora's - but I'd like to
think we share some common views.
----------------------------------------------------------------------------
Steven R Weintraub                        cs.utexas.edu!oakhill!devsys!steve
Motorola Inc.  Austin, Texas 
(512) 440-3023 (office) (512) 453-6953 (home)
----------------------------------------------------------------------------