On 11/7/10 3:29 AM, "koray" <[email protected]> wrote:
>>
>i checked the emulation settings on printer, it was IBM proprinter III
>XL, i tried with IBM Proprinter driver and get garbage characters.From
>both using "lp" command or cups test page.

OK, we're getting warmer. How is your printer connected to the network --
the Infoprint network adapter or another type of network print server?
What's happening is that something is trying to interpret the escape
sequences before they get to the printer control hardware -- this is
usually caused by the using wrong queue name in the print server hardware.
Let me explain:

Most network print servers offer two kinds of LPD queues -- one (usually)
called "text", and one (usually) called "binary" or "raw". The "text"
queue tries to be smart about interpreting text sent to the printer and
stripping out 8 bit characters and control sequences to avoid confusing
the printer. The "raw" queue just passes everything through to the printer
hardware and hopes for the best. You want the "raw" queue in your
definition because we want CUPS to control how the printer is driven -- it
uses graphics commands to render everything so it can control pagination,
etc precisely.

Skimming through the Infoprint documents, there are two "supported"
network adapters for this printer -- the NIC and the NPS. The raw queue
name for the NIC is "d1prn" (up to "d8prn"). The raw queue for the NPS is
"pr1" (up to "pr8"). Note that the names MUST be in lower case, or they
won't work correctly. If you have a different network print server, check
the queue name entries in the documentation for "Unix printing" and use
those instead. 

In CUPS, the device URI must be lpd://<hostname>/d1prn or
lpd://<hostname>/pr1 for CUPS to work with the built-in print server. If
you are using an HP Jetdirect print server, the device URI can be either
socket://<hostname> or lpd://<hostname>/raw (depending on the model of
Jetdirect). I tend to recommend the LPD option for Jetdirect printers in
that it tends to be more consistent.

> On the access_log, it shows Print Job succesfully for both Epson And IBM
>Proprinter.Also, there is no error in error_log.

OK, that tells us that CUPS is processing the job correctly in that it
thinks that the job has been completely transmitted to the printer;
something is happening at the printer end to mess us up. See above.

>
>Do you have any idea how to use AIX drivers provided by IBM on Linux?
>Because it writes that drivers can be used for some Linux also. But no
>information or PPD file is provided.

The AIX drivers on the Infoprint WWW site are designed for the old AIX 3
and 4.x BSD printing system which is totally unrelated to CUPS. They're
not useful to you at all unless you revert to the original BSD lpd
package, which I strongly discourage you from doing. You lose an enormous
amount of functionality and control over the printer.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to