Operating System - HP-UX
1834137 Members
2440 Online
110064 Solutions
New Discussion

JetAdmin and Compressed Printing

 
SOLVED
Go to solution
Debra L. Benavidez
Occasional Contributor

JetAdmin and Compressed Printing

I'm trying to configure a HP4SiMX printer to do compressed printing using JetAdmin D.06.15. I have users that are using my 10.20 box as a go-through to this printer. The users are printing from an application (stuck in a menu environment) and do not have access to the command line to enter the -c option. Is there a definition file that I can edit to make this printer always print compressed?
23 REPLIES 23
Rita C Workman
Honored Contributor

Re: JetAdmin and Compressed Printing

I am sure others may have better ideas on this...and if I'm understanding you correctly, your saying you don't have the option to use command line to include -c.
I must also conclude that you are wanting this printer to always print compressed then.
So:
You could go to the printer control panel and go under PCL (Printer Control Language) and change the font/pitch values there to achieve compressed printing...always on this printer.
Or the programmer could include the font source through their application (which is what I often see....)
But....you may want to rethink setting a printer up like this...
...You could have an interface software and set your printers up there also (..we use Appworx...but there's plenty others to choose from); and this way you could leave the printer set to it's normal defaults and control the print by setting the printer up for each type of printing style you want....that way when they send their jobs to the printer they can choose which way they want it to print....and the interface encapsulates/includes the command line (..like -c) to print how you want.
Like I said...just a suggestion,
Vikas Khator
Honored Contributor

Re: JetAdmin and Compressed Printing

Hi ,

A simple way would be to create a alias for lp to do lp -c in /etc/profile for Bourne shell and Korn Shell.

Keep it simple
Stefan Farrelly
Honored Contributor

Re: JetAdmin and Compressed Printing


If your printer queue is called say LASER1 then the file you want to modify is;

/etc/lp/interface/model.orig/LASER1

vi it and set compressed printing to be on by default and it will work from jetadmin.

Im from Palmerston North, New Zealand, but somehow ended up in London...
Victor BERRIDGE
Honored Contributor

Re: JetAdmin and Compressed Printing

Ah you say your users are using your box as a gothru...
So this means they are printing on a remote printer then ?
Im afraid it wont work since remote printing cant use options, not knowing what driver options exists
Your only alternative is to declare or theyre boxes the printer as network printer
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had simular print problems, I found that by adjusting the PCL number on the printer itself you can work out the size problem.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had simular print problems, I found that by adjusting the PCL number on the printer itself you can work out the size problem.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had simular print problems, I found that by adjusting the PCL number on the printer itself you can work out the size problem.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had simular print problems, I found that by adjusting the PCL number on the printer itself you can work out the size problem.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, on the printer there is a PCL number. If you find the right setting then it corrects the size, such as PCL 45 works well with hp 5n printers.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

I have had this problem, try setting the PCL number to 45 and see if that corrects it.
Mark Mitchell
Trusted Contributor

Re: JetAdmin and Compressed Printing

NO I am not an idiot, my browser showed a error 404 code, sorry for the duplication
Debra L. Benavidez
Occasional Contributor

Re: JetAdmin and Compressed Printing

Thank you for all of your responses. The printer is also used for printing email, etc from NT and 95 boxes, so changing the settings by the front panel isn't an option.

I did edit the printer in the /etc/lp/interface/model.orig directory as suggested. The compression worked when I tested it from HP-UX, but when the user, who is coming in from an IBM mainframe tried, it wouldn't print at all. I'm going to delete the printer and start again since I must have fat fingered something.

Thank you to Mark Mitchell! I was really frustrated with this problem and your response(s) made me laugh! :) Thanks...
Mark Mitchell
Trusted Contributor
Solution

Re: JetAdmin and Compressed Printing

Any time, the printer I was talking about is for both Network and Unix. I never had a conflict by setting the printer this way.
Bill Hassell
Honored Contributor

Re: JetAdmin and Compressed Printing

Unfortunately, these locked-up applications will make it quite hard to insert the appropriate codes. Remote printing is very simple...what you send is what gets printed. If the source code is not available on the mainframe, then you might play with creating a unique printer called lpcomp which is added as another JetDirect queue but pointing to the same printer. Then modify the interface script (note: it will be in the interface/model.orig directory!)


Bill Hassell, sysadmin
Brad Marks
Super Advisor

Re: JetAdmin and Compressed Printing

My users are also stuck in a menu environment. I discovered that my menu application had a config file that I could create an alias for printers and utilize the command line (-c). You might query someone at your establilshment that is familiar with the menu application program(s).
It's not impossible -- it'll just cost more...
Victor BERRIDGE
Honored Contributor

Re: JetAdmin and Compressed Printing

Bill,
enlighten me, I understand in man lp rlpd that options arent taken in account on remote printer, am I right? because I went throught this also once, I oppened a call 2 years ago I gave up since no solution were given (I thought it had something to do with me on HP11 printing on a hp9.04 remote system)

The only machine I have managing options in remotes is one that uses a custom lp command that adds in the file to be printed the options to be used...

Therefore my previous answer (configure a network rather than a remote printer)
TIA

Victor