[bug-pcl] Custom Pattern for Character in HP-GL/2 mode
Yang Xin
yangx at nanjing-fnst.com
Mon May 16 19:41:22 PDT 2005
Hi, Stefan:
> No, RF command is hpgl raster fill, isn't used often as the pcl variant
> is more convient.
Thanks for your reminding of RF command in HP-GL/2 mode. We have
resolved the problem.
> If you feel pcl6 is wrong and the printer is wrong you'll have to
> provide the printer name and a test file, for assistance in validating
> your hypothesis.
Our printer name is "HP LaserJet 2200 Series PCL 6", and if the custom
pattern is defined in PCL mode, it won't work in this printer. Test file
Following:
[ESC]%-12345X
// custom pattern register in PCL mode
[ESC]c3G
[ESC]c40w
custom pattern data (hex)
// switch into HP-GL/2 mode
[ESC]E
[ESC]0B
IN;SP1;SD1,277,2,1,4,140,5,0,6,3,7,4101;SS;PA1000,3000;DT*;
// use custom pattern to fill the character, 22 means user defined
// pattern in PCL mode.
FT22,3;
//print character B with custom pattern
CF3,1;LBB*;
[ESC]%0A
[ESC]E
In my opinion, FT command can specify "22", so it should support the
pattern defined in PCL mode, but it doesn't work.
Now, we used RF command, changed the file as followed:
1. delete pattern define command in PCL
2. change FT command:
RF2,16,16, {pattern data (bin)}
FT11,2;
then, it works very well, both in pcl6 and printer.
So, is it the problem of printer when using PCL pattern?
Best wishes!
Yang Xin
On Mon, 16 May 2005 08:42:00 -0600
Stefan Kemper <stefan.kemper at artifex.com> wrote:
> Hi,
>
> If you feel pcl6 is wrong and the printer is wrong you'll have to
> provide the printer name and a test file, for assistance in validating
> your hypothesis.
>
>
>
> Yang Xin wrote:
>
> >Hi, all:
> >
> > I have a problem when using custom pattern for character printing. As
> >we all know, custom pattern register must be done in PCL mode, like
> >image.
> >
> No, RF command is hpgl raster fill, isn't used often as the pcl variant
> is more convient.
>
> > Now, I want to use this registered custom pattern as character
> >fill, and the character must be printed in HP-GL/2 mode (I need to
> >consider character's outline). Then, does the custom pattern registered
> >in PCL mode can be used in HP-GL/2 mode?
> >
> > I have written some PCL codes for testing, using both PCL5 printer and
> >SwiftView. SwiftView can print the result normally (custom pattern can
> >been printed in HP-GL/2 mode), but printer won't, all the characters which
> >use custom pattern are printed using default (black).
> >
> >
> >
> > Thanks in advance!
> >
> >best wishes!
> >Yang Xin
> >
> >_______________________________________________
> >bug-pcl mailing list
> >bug-pcl at ghostscript.com
> >http://www.ghostscript.com/mailman/listinfo/bug-pcl
> >
> >
> >
> >
Best Regards!
----------------------------------------------------
Yang Xin
Technology Development Dept.
Fujitsu Nanda Software Tech. Co.,Ltd. (FNST)
No. 189 Guangzhou Road. Nanjing, P.R.C.
PHONE: +86+25-86630566-916
FUJITSU INTERNAL: 79955-681
FAX: +86+25-83317685
Mail: yangx at nanjing-fnst.com
----------------------------------------------------
More information about the bug-pcl
mailing list