Subject: | |
From: | |
Reply To: | |
Date: | Thu, 11 Nov 1999 12:57:11 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi Bob and all,
I tried it a couple of years ago, got some results, but didn't go all the way.
Here is what i did:
1- I had the institution's logo in a Word file on my PC. I used the option
"print to disk" to produce a file containing the PCL codes.
2- I transfered this PCL-file to the hp3000. I tried transfering with Reflection
but got bad results when printing (i couldn't get it to create a bytestream file
on the hp3000; may be i missed something there). Anyways i got good results by
transfering with FTP like this: PUT <file> ;REC=1,,B,ASCII ;DISC= <file
size in bytes>. This created the bytestream file on the hp3000.
3- On the hp3000, i printed using the ENV parameter (MPE first places in the
spoolfile the contents of the ENV file specified, and then sends whatever we
want to print):
FILE PRINTER ;DEV=xxx ;ENV=<PCL file just transfered>
PRINT <something> ;OUT= *PRINTER
This printed the logo just fine (as it appeared when printed from the PC
application) except that it did a form feed right after it and before printing
the rest. I thought that it could be possible to edit the PCL file and remove
the code(s) responsible for the form feed. I took a quick look, but there is a
lot of codes in there, and the project that required the use of the logo was
suspended, so i stopped there.
I hope this can be helpful.
Regards,
Jean Cadoret, Analyst-programmer
Centre Hospitalier des Vallées de l'Outaouais (Outaouais Valleys Hospital
Centre)
Hull, Québec, Canada
|
|
|