hp PS overlay macro code

D

diana.davidson

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
 
T

Tony

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top