General
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.
OldSchool
Honored Contributor

Re: HPUX PCL5.nloo model script printing issue

so, if you're only printing "english" text to the LJ5100, why don't you use the net_lj5100 model script, instead of the PCL5 generic?

nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Since PCL5.asian is present in HPUX by default I want to use it.

Also I have used lj5100 model script. The mtype option is failing(not prompting to place specified media type in panel) for this model script also. Other options are working fine.

Please help me in solving issue with PCL5.asian model script.

Thanks,
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

I may use other languages also like Japanese to print.

Do you know why this issue is present.
OldSchool
Honored Contributor

Re: HPUX PCL5.nloo model script printing issue

for starters, you *might* compare the stuff that works in the lj5100 model script to the stuff that doesn't in the PCL5 model script. I've neither, so I can't check, but some options in the lj5100 script are probably "post-script only", so this may not be of use however.
Shinji Teragaito_1
Respected Contributor

Re: HPUX PCL5.nloo model script printing issue

Hi,

What specific option are you using for duplex printing ?

As you already have a duplex unit, you should specify the -od or
-odouble option. Then you can conduct duplex printing only with the
available cassette.

If you specify the -md or -mdouble option, the symptom you are
experiencing is the expected result regardless of a duplex unit.

NOTE: please don't specify both [-od|-odouble] and [-md|-mdouble]
together.

Shinji
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Thank you all.

Please find below syntax which I used for mdouble, type and half with legal.

1. Printer was created using â setnetlpâ command as mentioned in http://docs.hp.com/en/5991-7956/5991-7956.pdf

We have used all the options of PCL5.asian model script. All are working fine as expected except for mdouble, type and half with legal options.

2. Please find the below options with syntax that are not working as expected.

a. lp â dsethp â o mdouble /testfile
Expecting the document to print in duplex with the paper taken from bypass tray.
Actual Behavior:The document is not printed in duplex and only last page is printed from the paper in bypass tray.

b. lp â dsethp â o half â o legal /testfile
Expecting the document to print in legal paper with 2up and proper data scaling for legal paper.
Actual Behavior:The job is getting printed in legal and 2 up but the data is not scaled for legal paper. The scaling is same as letter paper scaling.

c. lp â dsethp â o type16602 /testfile
Type16602 is for printing the document in Arial font. So we are expecting the document to print in Arial font.
Actual Behavior:The job is not getting printed with Arial font. When type is specified it is using some default font for any number we specify with type.

Please let me know in case you need any more details.

Please note that all options of PCL5.asian model script is working fine except for these options.

Please let me know why the above syntax is not behaving as expected.

Thanks,
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

The options was not properly displayed in my above message.
Please find the options below.

1. lp -dsethp -o mdouble /testfile
2. lp -dsethp -o half -o legal /testfile
3. lp -dsethp -o type16602 /testfile
Shinji Teragaito_1
Respected Contributor
Solution

Re: HPUX PCL5.nloo model script printing issue

Hi,

> 1. lp -dsethp -o mdouble /testfile

If you want to get duplex printing, you should use -od or -odouble,
instead of -omd or -omdouble (Sorry for the typos in my previous
message).

Here's the snippet from PCL5.nloo:
d | double do automatic double sided printing
md | mdouble do manual double sided printing

The expected behavior for the latter option is what you're
experiencing. So you have to use the former option for automatic
duplex printing.

> 2. lp -dsethp -o half -o legal /testfile

According to the lab, it must be a bug.

> 3. lp -dsethp -o type16602 /testfile

I guess you installed Asian font DIMM. If my assumption is correct,
you can specify -ocs8U option as a workaround.

Shinji
nivi_1
Advisor

Re: HPUX PCL5.nloo model script printing issue

Hi,

Thank you for the reply. I understood the reason for 2 options.

> 3. lp -dsethp -o type16602 /testfile

I guess you installed Asian font DIMM. If my assumption is correct,
you can specify -ocs8U option as a workaround.

sorry for my question below.
Can you please tell me how to check whether Asian font DIMM is installed or not.

and also if i specify -ocs8U, for arial font, what values should i mention for otehr fonts like times new roman, courier etc..
Is there any document for this.

Thanks,
Shinji Teragaito_1
Respected Contributor

Re: HPUX PCL5.nloo model script printing issue

Hi,

Here's some additional information for you.

* Asian Font DIMM/Card is installed ?

Please refer to the 'PCL Font List' using the printer front panel:
INFORMATION MENU -> PRINT PCL FONT LIST

If you install any additional font DIMM or card to your printer, the
fonts available on the DIMM or card should be printed at the top of
the 'PCL Font List'.

* What happens without -ocs8U option ?

If your printer has a Japanese FONT DIMM, symbol set 19K is used. Then
MS Mincho/Gothic font is automatically selected because the symbol set
19K doesn't support Arial.

* What happens with -ocs8U option ?

Symbol set ends up to Roman-8 which supports Arial.

NOTE: Regading the cs option, please refer to page 13 in the whiteper
you mentioned.

* lp -dsethp -o half -o legal /testfile

Lab would like to know how important you see half size printing on
legal papers. Please input your needs.

Please try to use the -oheight# option in order to adjust the font
size. This workaround may help you.

Shinji
Shinji Teragaito_1
Respected Contributor

Re: HPUX PCL5.nloo model script printing issue

page 152 - 153 may help you understand the symbol set and typefaces:

PCL5 Comparison Guide
http://lprng.sourceforge.net/DISTRIB/RESOURCES/DOCS/pcl5comp.pdf

I can not find the similar table in PCL5 Comparison Guide on our web site:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=bpl04568&jumpid=reg_R1002_USEN