Operating System - HP-UX
1748169 Members
4270 Online
108758 Solutions
New Discussion юеВ

HPUX PCL5.nloo model script printing issue

 
SOLVED
Go to solution
nivi_1
Advisor

HPUX PCL5.nloo model script printing issue

hi,

I am using HPUX 11.31(Itanium) and HPUX 5100 printer.
I am using PCL5.nloo model script present in HPUX by default to print to printer.

I am finding issues in printing paper sizes and few other options.
Description of the problem:
When i give a print with option "half" and "Legal" paper, the job is getting printed in Legal paper but the paper size is scaled to A4. The output file of the model script with these options does not have a scaling command.

command executed for viewing output file:
PCL5.nloo 1 1 1 1 "half legal" /Inputfile > /outputfile.

I want to know has anybody using model script and have tried these options.
I also want to know whether a print method of HP-UX does not have a print command to solve this problem.

Other issues with options like mdouble, upright, slant, type10 is not at all behaving like what it is expected to.

Please let me know whether this problem can be solved and whether a print method of HP-UX does not have a print command to solve this problem.

Also please let me know in case more information is required on this issue.
20 REPLIES 20
Shinji Teragaito_1
Respected Contributor

Re: HPUX PCL5.nloo model script printing issue

Hi,

I have not used our printers from HP-UX these days.

Have you ever tried -o option for the lp command ?

ex.
lp -d -oletter -ohalf /tmp/hello.txt

Try to specify -omdouble, -oupright and so on.

Good luck !!

Shinji
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Hi,

Thanks for the reply.

I am using model script to print printer.
So I feel the command for modelscript as described in my message above should be used for viewing output file of the model script.

Finally I am using 'lp' command to send the output file to the printer.
I don't think 'lp' command supports 'half(2-up)' option.

Please give me some other option to solve the problems in model script.
Please let me know whether this issue can be solved.

Thanks,
Shinji Teragaito_1
Respected Contributor

Re: HPUX PCL5.nloo model script printing issue

Hi,

Looking at my cheet sheet 10+ years ago, I can see an example to
print a PostScript file to Laserjet III printer.

% gs -q -sDEVICE=ljet3 -r300 -dNOPAUSE \
-sOutputFile=/tmp/yyyy.pcl gslp.ps xxxx.ps
% lp -dlj3si -oraw -onb /tmp/yyyy.pcl

If your printer is configured to use PLC5.nloo as the model file, I
guess "-oraw" works for PCL printings.

Shinji
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Hi,

Thanks for the reply.

I would like to know whether these options are working properly.
I printed the above mentioned options (mdouble, upright, slant,etc)with the model script to HP printer and it is not printing as expected.

Please let me know whether anybody has used this option and how is it behaving with your printer.

nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Please reply if anybody know the answer.

I want to use default model script in HPUX for printing.

I am using PCL5.nloo model script to print to both HP and non-HP printers.

While printing I found that few options are not working as expected.

1. So I would like to know if anybody has used this model script and has faced same issue.

2. Also I would like to know is there any other solution for solving this problem.(I want to use default model scripts in HPUX, i dont want to download any other scripts).

Please help.
Shinji Teragaito_1
Respected Contributor

Re: HPUX PCL5.nloo model script printing issue

Hello again,

What language do you want to print to 5100 printer ?

The PCL5.asian model script is recommended to use for Asian language
printing on 11.31. It enables Asian characters being printed to
printers without installing fonts.

NOTE:
1. The use of PCL5.nloo should be restricted to keep consistency
with past HP-UX release (which version ?).

2. Lauching the model script from the shell prompt as you
mentioned is not recommended.

Can you attach a PDF file scanning the printing result to this
thread ? That would be helpful to understand your problem.

By the way, did you confirm the front menu panel of the 5100 printer
? The current paper size setting on the menu may force to use A4
paper size. It's likely some option configurations in the model
script is overwritten by printer reset sequence (ESC-E) or PCL
paper size commands during your printing.

Hope this helps you,

Shinji
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Thanks for the reply.It was really useful.

I have used PCL5.asian model script and many options are passing except for mdouble and type and half with legal.

I analyzed the prn file of these options.
Proper commands are not being sent that is why the printer is not printing properly.

Observations:
For mdouble options, When given a 3 page document to print, a 'Media Source' command is sent after the second page is printed . This command is sending the 'Media Source' value of Manual paper input, so rest of the document will print from Bypass tray. Also, no PJL or PDL command is sent for Duplex, hence Duplex printing is not expected. Model script is not sending proper commands to print the job in duplex from bypass tray.

Is this the limitation with Model script.

please reply.
Shinji Teragaito_1
Respected Contributor

Re: HPUX PCL5.nloo model script printing issue

Hi,

I'd like to recommend you to purchase a duplex-printing accessary in
order to make it easy for a bunch of "AUTOMATIC" duplex printing.

Anyway, your observation looks normal.

It seems there're none of document available for duplex printing using
bypass tray. After printing page 1 and then page 3 on separate papers,
the printer requests to feed the paper page 1 printed to the bypass
tray. So you have to feed the paper for the back page of page 1 to be
printed. Finally your 3 pages printing comes to finish.

By the way, I don't know which language you want to use. If any fonts
are not installed in your laserjet 5100 printer, you have to specify
the -onodimm option.

Shinji
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Duplex unit is present in the printer. It prints in duplex when I use windows driver to print from windows.

when you are giving three page document, the printer is taking paper from available cassette and printing first 2 pages.
For the 3rd page to print, it is prompting to keep the paper in bypass tray.

There is no duplex PCL5e command present in the output file. If duplex command s present only the job will get printed in duplex.

I am using normal English text file to print.

Have you tried using this options with PCL5.asian model script to any HP printer?

Thanks in advance.