|
I'm actually using the PCL to convert to PDF to try and
update my software products. Everything looks perfect
except for "text" that is in a overlay.
Here's a snipped from the overlay source:
} ( ( ( 020 00760001500076000166 00000 00000
} ( . ( 021 00760001500074000150 00000 00000
ø ! 022 00800020000000000000 0000000000
ë
Ship Via: Shipped Date: Terms:
Sale
sman:
{ â â & 023 06600049000800005200 00000 00000
ø 024 05100051000000000000 0000000000
Total Due
That probably won't view so good, but you see there is text,
and spaces between words on non-normal characters get
converted funky. :) These are all examples from IBM's AFP
toolkit examples.
Brad
www.bvstools.com
On Fri, 20 Sep 2002 12:01:23 -0500
Vernon Hamberg <vhamberg@attbi.com> wrote:
> Brad
>
> Are you doing anything strange with PCL? The HPT function
> puts in the right
> stuff for you, no extra work, when you specify it on a
> DEVD or remote OUTQ.
>
> Oh, wait, you're transferring it to the PC, not printing
> it directly. I've
> never seen that done. If you want to use the PC's
> printer, either set up a
> printer session in PCOMM or CA, or get an lpd server on
> the PC and create a
> network DEVD to it.
>
> How are you creating the overlay? IIRC, it's a graphic
> image object - there
> should be no text to convert, but I could be wrong -
> don't know all the
> details of the data format.
>
> Just be sure to use the Windows AFP driver and use the
> appropriate
> resolution for the printer in question - 300, 600,
> whatever.
>
> Vern
>
> At 11:39 AM 9/20/02 -0500, you wrote:
> >Pat,
> >
> >Without using the API, how could I create a stream file
> >containing the PCL? If there is an easier way, I'm all
> >ears.
> >
> >As for the other comment, the overlay contains text of a
> >different font (smaller, different typestyle). If there
> are
> >any blanks between works in this text, the character @
> is
> >replaced.
> >
> >It's like it's not doing the EBCDIC to ASCII conversion
> >correctly for text inside of an overlay.
> >
> >Brad
> >On Fri, 20 Sep 2002 11:28:34 -0400
> > Pat Barber <mboceanside@worldnet.att.net> wrote:
> > > You "might" be trying too hard... why are you using
> the
> > > API
> > > in lieu of letting the system do the HPT ??? I'm not
> > > familar
> > > with the sample program, is it using the API ???
> > >
> > > Brad Stone wrote:
> > > >
> > > > Alright, so I decided to goof around with AFP
> spooled
> > > files
> > > > and overlays and PCL and stuff. :)
> > > >
> > > > Anyhow, I'm using IBM's sampler from their AFP info
> web
> > > > page. Program INVNEW1 creates an invoice. When I
> > > create
> > > > PCL out of this (using host print transform API),
> and
> > > > transfer it to my PC things look good except for
> one
> > > thing.
> > > >
> > > > In the overlay, it looks like some certain
> characters
> > > aren't
> > > > getting converted correctly. For example a space
> > > becomes a
> > > > @, a period becomes a weird "K", and a few others
> like
> > > > colons and dashes are also converted weird. But
> this
> > > is
> > > > only in the text that is part of the overlay.
> > > >
> > > > I have used a few different WSCST objects for the
> > > conversion
> > > > and still everything comes out like that.
> > > >
> > > > As an example, the text:
> > > >
> > > > Ship Via:
> > > >
> > > > Comes out as:
> > > >
> > > > Ship@Viaz
> > > >
> > > > I've pretty much traced this to the transform and
> not
> > > ftp
> > > > process. I'm using the host print transform API to
> do
> > > this.
> > > > Any ideas? Even where to start looking?
> > > _______________________________________________
> > > This is the Midrange Systems Technical Discussion
> > > (MIDRANGE-L) mailing list
> > > To post a message email: MIDRANGE-L@midrange.com
> > > To subscribe, unsubscribe, or change list options,
> > > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> > > or email: MIDRANGE-L-request@midrange.com
> > > Before posting, please take a moment to review the
> > > archives
> > > at http://archive.midrange.com/midrange-l.
> > >
> >
> >Bradley V. Stone
> >BVS.Tools
> >www.bvstools.com
> >_______________________________________________
> >This is the Midrange Systems Technical Discussion
> (MIDRANGE-L) mailing list
> >To post a message email: MIDRANGE-L@midrange.com
> >To subscribe, unsubscribe, or change list options,
> >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> >or email: MIDRANGE-L-request@midrange.com
> >Before posting, please take a moment to review the
> archives
> >at http://archive.midrange.com/midrange-l.
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion
> (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/midrange-l.
>
Bradley V. Stone
BVS.Tools
www.bvstools.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.