× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Scott. I can print bar codes now. Just need to write the code to
generate the check character.

John McKee

Quoting Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>:

None of my devices have AFP(*YES) -- and they can print barcodes fine.

I haven't read the Redbook you mention, but I suspect that AFP(*YES) is
only required when NOT using Host Print Transform. Either that, or what
you're reading is referring to DEVTYPE(*AFPDS) on the print file (PRTF).
That *is* required, you must have DEVTYPE(*AFPDS) on the print file.
The data then goes into the spool as AFP data stream. But, Host Print
Transform converts that AFP data stream to your printer's native
language -- so you shouldn't need it on the DEVD, since it won't be AFP
when it gets to the device.

Remember:
a) PRTF controls what gets put into the spool.
b) DEVD controls how it's transformed from the spool to the printer.

Having AFP(*YES) on the DEVD makes little sense unless you're using an
AFP printer.

John McKee wrote:
Hi Scott,

How are the HP printers attached?

When I use this command:

CRTDEVPRT DEVD(MISP081BC)
DEVCLS(*LAN)
TYPE(3812)
MODEL(1)
LANATTACH(*IP)
AFP(*YES)
PORT(9100)
FONT(11)
FORMFEED(*CUT)
MSGQ(MISC003)
PARITY(*NONE)
STOPBITS(1)
TRANSFORM(*YES)
MFRTYPMDL(*LEXOPTRA)
RMTLOCNAME('172.16.48.81')

I receive CPD2887 - Advanced Function Printing not allowed. Message text
continues that AFP(*YES) is only allowed for DEVCLS(*LCL), DEVCLS(*RMT), or
DEVCLS(*LAN) TYPE(*IPDS).

Scanning the Redbook Printing V, I am left with the impression that in
order to
print bar codes, I have to have AFP(*YES) for the device.

So, what am I doing wrong?

John McKee

Quoting Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>:

I use host print transform to print barcodes on HP printers every day.
I don't know about Lexmark Optra, but I would expect it to work
similarly, provided there's a MFRTYPMDL for that particular Lexmark model.

Really, John, the easiest thing to do is take a few minutes and try it.

John McKee wrote:
Currently, we are doing limited bar code printing on a dot matrix
printer. I
was asked if bar codes can be printed on other printers. My first
thought was
that this was possible. I was asked very late in the day. Not a
good reason
to give an immediate answer.

The application currently uses a printer file. So it is tempting to
conclude
that barcodes can be generated.

But, now I am having doubts. Can bar codes be sent to a non IPDS
printer, such
as a Lexmark Optra?

I am going to look through IBM, but I'm not sure if I will find the
answer, so I
thought I would post here as well.

Thanks

John McKee

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.