vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello list. I've got a small problem with pcl-commands in my reports. I have to move a 7.30 IDS from a HP-UX 10.20 system to a 9.30 IDS on a suse- linux 8.2 prof. system. With this step the codepage changed from cp437 to 8859-1. The data is is right on the new system, also the forms. But with my report the use pcl-commands I got a problem. I define: let unten = ASCII(027),"&l4H" When I print I have "l4H" on the paper instead of the execution of the command. With yast I can print the textsheets in grafic and in textmode well (HP LaserJet 4 Plus) I'am a little confused here. Has someome an idea what's happen on this machine? Thanks in advance for your tips. Best regards. Dirk mailto:support@ntb-infoline.de |
| |||
| On Sep 6, 5:48 am, "emmermac...@hotmail.com" <emmermac...@hotmail.com> wrote: > Hello list. > > I've got a small problem with pcl-commands in my reports. I have to > move a 7.30 IDS from a HP-UX 10.20 system to a 9.30 IDS on a suse- > linux 8.2 prof. system. > With this step the codepage changed from cp437 to 8859-1. The data is > is right on the new system, also the forms. But with my report the use > pcl-commands I got a problem. > I define: > let unten = ASCII(027),"&l4H" > When I print I have "l4H" on the paper instead of the execution of the > command. > With yast I can print the textsheets in grafic and in textmode well > (HP LaserJet 4 Plus) > I'am a little confused here. > > Has someome an idea what's happen on this machine? > > Thanks in advance for your tips. First thing I'd do Dirk is to redirect the report to a disk file to see if 4GL (looks like 4GL to me anyway) is putting out the correct codes. If the file looks right in 'od', or in an editor like emacs that will show you the embedded escapes etc., then it's likely the difference between the HPUX and SUSE print spooler handling and SUSE is somehow filtering out the non-printables. Perhaps you don't have the printers type set correctly in CUPS or whichever spooler you are using. But first isolate the problem to 4GL or the spooler. Art S. Kagel |
| ||||
| Hello Art. Thanks for your answer. I tested different printer drivers for this printer (ljet4, pcl3,pcl5 and some other) with cups. There are no changes. switched the driver to raw. With this option the printer made only a line feed, but no carriage return. So I try to use this script M=/usr/menue for i in "$@" do if [ ! -s "$i" ] then echo "The ouput is empty" >> "$i" fi cat $M/crlf "$i" $M/reset | nohup lp -d lj4pls_1 -o nobanner >/dev/null 2>&1 done But this script don't send anything to the printer and terminates my isql session (We don't use 4GL with this database) Thats the crfl file in /usr/menue : ^[&k2G And this is the content of reset: ^[E Best regards and a nice weekend. Dirk On 6 Sep., 16:38, "Art S. Kagel" <art.ka...@gmail.com> wrote: > On Sep 6, 5:48 am, "emmermac...@hotmail.com" <emmermac...@hotmail.com> > wrote: > > > > > Hello list. > > > I've got a small problem with pcl-commands in my reports. I have to > > move a 7.30 IDS from a HP-UX 10.20 system to a 9.30 IDS on a suse- > > linux 8.2 prof. system. > > With this step the codepage changed from cp437 to 8859-1. The data is > > is right on the new system, also the forms. But with my report the use > > pcl-commands I got a problem. > > I define: > > let unten = ASCII(027),"&l4H" > > When I print I have "l4H" on the paper instead of the execution of the > > command. > > With yast I can print the textsheets in grafic and in textmode well > > (HP LaserJet 4 Plus) > > I'am a little confused here. > > > Has someome an idea what's happen on this machine? > > > Thanks in advance for your tips. > > First thing I'd do Dirk is to redirect the report to a disk file to > see if 4GL (looks like 4GL to me anyway) is putting out the correct > codes. If the file looks right in 'od', or in an editor like emacs > that will show you the embedded escapes etc., then it's likely the > difference between the HPUX and SUSE print spooler handling and SUSE > is somehow filtering out the non-printables. Perhaps you don't have > the printers type set correctly in CUPS or whichever spooler you are > using. But first isolate the problem to 4GL or the spooler. > > Art S. Kagel |