Re: hp PS overlay macro code



diana.davidson@xxxxxxxxxxxx wrote:
We currently have lexmark printers.
and are currently trialing an evaluation hp printer.

HP printer drivers are postscript ie 9050PS

On the lexmark printers we have overlay files stored on flash memory.

We are waiting on flash memory for the hp printer, so in the interium
I've downloaded the flash files onto the hp's harddisk, using Device
Storage Manager.

Using Word VBA code (commands in a print fieldCode), the overlay files
are called.
The result is:
blank page printed
another page with error
Error: undefined
OFFENDING COMMAND: ed

I looked at the .PRN files and 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



It's possible macro commands to call files stored on hp printer maybe
different?

also, on the lexmark flash memory the files are downloaded onto the
root.
I noticed on the harddisk the files have been stored in location:
0:\Postscript\
Do I need to harcode this hp path?


Can anyone point me in the right direction?

many thanks

diana


Diana
If you don't get an answer here, try going to
http://forums12.itrc.hp.com/service/forums/bizsupport/familyhome.do?familyId=412
Register for free, select the best category and ask the question there, there
are some people that just may be expert enough to help in those forums.

Tony
MS MVP Printing/Imaging

.



Relevant Pages

  • hp PS overlay macro code
    ... On the lexmark printers we have overlay files stored on flash memory. ... HP to setup the environment have the command: ... %%BeginResource: file Pscript_Win_Basic 5.0 0 ...
    (comp.periphs.printers)
  • Re: "printer spool not working"
    ... the lexmark drivers i get "the specified print monitor is unknown"???? ... the only problem is when i try to start the printer spooler service it ... external or internal command. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Install and Configure the Lexmark z23 z33 for Fedora Core 1 and 2
    ... You will also need to install the following software packages ... > change to root in a terminal using the command line ... > Install the Lexmark z23-z33 driver as root. ...
    (comp.os.linux.hardware)
  • [SLE] OpenOffice doesnt print A5 on Lexmark Optra S1650 (set as A5)
    ... Martin ... Lexmark printer driver dialog. ... Can I and if where set the command so that it will work? ... Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com -- ...
    (SuSE)