Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]   Go Down
Print
Author Topic: Inserting a graphic into an output  (Read 2680 times)
0 Members and 1 Guest are viewing this topic.
Tahir
Member

Posts: 2


View Profile
« on: February 07, 2007, 01:02:46 PM »

Hi

I'm on fp 4.8/linux but I guess this applies to all versions, we're switching from preprinted letterheads to plain paper so I need to incorporate our company logo into several output formats, how do I do this? I seem to remember there was a way of inserting a jpeg into the output but it was a very long time ago.

Thanks
Logged
kenbrody
Administrator

Posts: 82


View Profile
« Reply #1 on: February 07, 2007, 06:27:04 PM »

If this is a PCL printer, there is a program called MKPCL, which can convert bitmap images (and perhaps other formats as well?) to PCL, which can then be embedded via print codes.  It's available from Jim Asman, the moderator for this section of the forum.

His information is on page 3 of the filePro Resource Guide, available at http://www.hvcomputer.com/download/fpres2.pdf
Logged

Kenneth Brody
aka "Mr. filePro"  :-)
JimAsman
Moderator
*****
Posts: 16


View Profile WWW
« Reply #2 on: February 08, 2007, 02:41:59 PM »

Assuming a PCL laser printer that has a PCL interpreter builtin. Not a windows only printer that does a PCL emulation within the driver. Make sure you have a "proper" PCL5 printer before you start.

Basically you need to first convert your image into PCL format and save it as a file.

Filepro has all the facilities you need to make a timely download of the PCL image into the output stream through the use of a printcode.

Usually, you would want to set up the image as a PCL macro, and download the macro file right at the beginning of the output. It is only downloaded to the printer at that time. At some point in the processing of the page, you issue a command for the printer to "run" the macro, and you have your logo or what have you. Typically, you would have a variable on your output format that contained the PCL code to run the macro.

So you can elect to NOT run the macro on any page by simply clearing the variable. This method gives you the possibility of downloading a number of different macros at the beginning of the print job, and then conditionally print one image or another based on the contents of the current record etc. Each macro has a unique ID number assigned when it is created.

Point your browser to http://www.spectracolorservices.com and download a demo copy of my MKPCL program and review the documentation and play with it a bit.

You can get VERY clever with this stuff.

If you have any further questions, post away!
Logged
Tahir
Member

Posts: 2


View Profile
« Reply #3 on: February 09, 2007, 05:52:26 AM »

Thanks guys I'll take a look. It's an HP Laserjet8150 which I think has PCL built in, it's printing to directly from our Linux server, no windows involvement.

Logged
kenbrody
Administrator

Posts: 82


View Profile
« Reply #4 on: February 09, 2007, 10:17:40 AM »

Thanks guys I'll take a look. It's an HP Laserjet8150 which I think has PCL built in, it's printing to directly from our Linux server, no windows involvement.

From http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/18972-236251-236263-14638-f58-27718.html:

  • Standard print languages: PCL 5e, PCL 6, PostScript 3 emulation
Logged

Kenneth Brody
aka "Mr. filePro"  :-)
Pages: [1]   Go Up
Print
Jump to:  

Valid XHTML 1.0! Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Massive Blue Theme By Cadosoas Valid CSS!