- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remote printer to print condensed mode
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 11:47 AM
тАО10-18-2010 11:47 AM
I set up a remote printer in RP4440 HP-UX 11.11.
This printer(HP LaserJet 4050 Only has parallel port) is attached to my Windows XP. I can print from HP-UX, but if I print from the application sometimes required condensed mode. The printer still print size 12 font, anything further than 8 1/2 inch the data is lost. How do I solve this problem? Thanks.
Peter Chuang
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2010 04:03 PM
тАО10-18-2010 04:03 PM
SolutionThere is a workaround but it requires some effort and I don't know if you can make it work with your application printing. You will have to prepend and append the appropriate escape sequences to the print file before you send it to the printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2010 05:42 AM
тАО10-19-2010 05:42 AM
Re: Remote printer to print condensed mode
One is -c for condenced
-landscape
-ofp12 12characters per horizontal inch
-ovsi5 5 lines per vertical inch
-duplex print double sided
Look at the banner page.
.........ok..... perhaps that's not good enough? The next part gives you some painful details. Please shield your eyes.
Lets say my printer is call xyz.
There is a file /etc/lp/interface/model.orig/xzy. For me, this is a copy of file net_lj4x. Then I made my laserjet printer, I told the system it was this type of remote printer.
I copy file xyz to $HOME/xyz.thingy
I open it with vi: vi $HOME/xyz.thingy
I set ignore case, via :ic
I search for the word: horizontal
I find lots of goobly gook that echos out escape sequences for certain options.
I know backslash 033 means the escape key ascii character. The rest looks like strange junk.
Well..
If you find an old laserjet printer manual you will see that the stuff has some meaning.
For example characters per inch in pitch.
That is
escapekey
ampersand
left parentheses
the letter s
12 ...for 12 characters per inch
H for the end of the escape sequence.
the horizontal is
escapekey
ampersand
letter-k
6 ...for 6 lines per inch
H for the end of the escape sequence.
And you can put both commands in one escape sequence like so:
escapekey
ampersand
letter-s
12
h
letter-k
H
Note the ending letter H is only upper case at the end of the sequence.
A good place to look for this is an old hp laserjet 4Si manual.
Ok! I hope you can skip this part and just use the commands from the banner page.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2010 06:14 AM
тАО10-19-2010 06:14 AM
Re: Remote printer to print condensed mode
See this for more details
http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=1343292
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2010 06:56 AM
тАО10-19-2010 06:56 AM
Re: Remote printer to print condensed mode
That link is great. It has been a while. I must have modified the model script directly, making different printer queues for the different options. i.e. printers: normalA, landscapeA, compA, complandA.... names like that for printer "A".