Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: pomeroy@refine.enet.dec.com (Robert D. Pomeroy)
Subject: Re: Digital Printserver 20 need more robust PS interpreter
Date: 12 MAY 94 13:57:29	[thread overview]
Message-ID: <2qtr7i$7dc@nntpd.lkg.dec.com> (raw)
In-Reply-To: Cpp4K6.951@news.cern.ch


In article <Cpp4K6.951@news.cern.ch>, michelotto@mvxpd5.pd.infn.it (Michele Michelotto) writes...
> 
>In article <2qqgl9$oph@nntpd.lkg.dec.com>, pomeroy@refine.enet.dec.com (Robert D. Pomeroy) writes:
>|>an LW when the PrintServer's started.)  If the errors you are getting
>|>are due to these ops, you an try defining them yourself as noops...
>|>
>what do you mean?
>I should edit the postscript file and redefine "letter" and "a4"?
>How? at the beginning of the file ps?
>can you make an example?

Wel, I will reply with a more general "how to make a noop" since this can
be used for many other things, not just pagesize operators on old versions
of PrintServer software (newer PrintServer printers do have these ops).

Anyway, to make an operator do nothing for just your file, edit it and add
the following to the top of the file (after the first line which should be
%!PS<some version #>...):

/operator_name { } def	% define operator_name to do nothing

For example, if you have a file which uses the letter operator and you want
to print it to a printer which does not have that operator, add the
following line:

/letter { } def

If you want to do it for more than just your job, or don't want to edit
your file, you should make the definition outsde the server loop which
requires knowledge of your printers password.  As an example, let's say
your PrintServer's password was (password), and you wanted to define letter
as a noop persistently across jobs (this does not last across power
cycles), send the file:

%!PS
severdict begin (password) exitserver
/letter { } def


Hope that helps,

---
Robert D. Pomeroy               Digital Equipment Corporation
pomeroy@refine.enet.dec.com     As always: My views, not theirs.



  reply	other threads:[~1994-05-12 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-11  9:05 Digital Printserver 20 need more robust PS interpreter Jean-Claude Arnouil
1994-05-11 11:40 ` Robert D. Pomeroy
1994-05-11 15:59   ` Antti Louko
1994-05-17 13:44     ` Peter Boardman
1994-05-12  6:11   ` Michael C. Grant
1994-05-12 12:43     ` Larry Cannell
1994-05-12 15:33   ` Michele Michelotto
1994-05-12 17:57     ` Robert D. Pomeroy [this message]
1994-05-11 17:18 ` Karen Kolling
1994-05-11 18:49 ` Robert D. Pomeroy
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox