🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #404

Postscript on hp PS driver

#404
From: diana.davidson
Date: Mon, 18 Feb 2008 05:39
70 lines
3415 bytes
Our current environment is Lexmark MFD's, with PS3 drivers, and
printer overlay files .PS  stored on flash memory.

We're currently trialing a hp printer.

To make it easier Ive installed HP 9050 PS drivers, I couldnt find
PS3
drivers perhaps they dont exist.

Flash memory is not installed yet on the HP printer, so for now a
hard
disk has been installed. And Ive downloaded the .PS printer overlay
files onto the harddisk.  In the HP environment overlays are called
macro files.

To call overlays, in the Word document header a print fieldcode is
inserted with the overlay name.

Using the same code to call the hp files the result is the document
prints but without the overlay.

I began to analyse the .PRN files generated by HP  & Lexmark drivers.

I noticed the postscript commands for lexmark and hp are different.

HP to setup the environment have the command:

%%BeginResource: file <name>

for example:
%%BeginResource: file Pscript_Win_Basic 5.0 0

this command calls the  Pscript5.dll

Lexmark to call the overlay file use the same command ie
%%BeginResource: file <name>

eg
%%BeginResource: file Lexmark_Overlay
/GetOvr{/Demo ed/overlay ed/MacroSave save def/showpage{}bd Demo 1 eq
{statusdict begin false setfilenameextend end}if/htest false def
overlay{pop
/htest true def}=string filenameforall htest{overlay run}{100 100
moveto
/Helvetica findfont 20 scalefont setfont overlay show( is not
loaded.)show showpage stop}ifelse Demo 1 eq{statusdict begin true
setfilenameextend
end}if MacroSave restore} bd
%%EndResource
(MEL_LTR_PS) 0 GetOvr

Lexmark to setup the environment use the command:
%%BeginResource: procset NTPSOct95

Is it possible macro commands to call files stored on hp printer
maybe
different? I wouldnt have thought so as Postscript language is the
same.

Do you have info that contains commands for hp postscript macros and
overlay files?

Is this even possible on the hp printer? as hp predominatly work with
PCL.  Going to PCL will be alot of work, as we will have to change
print code to call overlays & change printer drivers.

Can you please point me in the right direction.

many thanks
diana
Technical Details
Message-ID: <732956ec-bda5-4a5b-b0cb-a2d16053d1aa@i7g2000prf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i7g2000prf.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,1ea43022fcc7a8c9,start
X-Google-Attributes: gid10c61a,public,usenet
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i7g2000prf.googlegroups.com!not-for-mail
From: diana.davidson@corrs.com.au
Newsgroups: adobe.postscript.programming
Subject: Postscript on hp PS driver
Date: Sun, 17 Feb 2008 21:39:25 -0800 (PST)
Organization: http://groups.google.com
Lines: 70
Message-ID: <732956ec-bda5-4a5b-b0cb-a2d16053d1aa@i7g2000prf.googlegroups.com>
NNTP-Posting-Host: 203.35.150.226
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1203313165 17419 127.0.0.1 (18 Feb 2008 05:39:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 18 Feb 2008 05:39:25 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i7g2000prf.googlegroups.com; posting-host=203.35.150.226; 
 posting-account=lGUOPQoAAACFoUxl5YCFqB3QajaSrnhw
User-Agent: G2/1.0
X-HTTP-Via: 1.1 PROXYSERVER
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
 CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)