- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printer model scripts for non HP printers
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
Forums
Discussions
Discussions
Discussions
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
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
02-06-2003 07:34 PM
02-06-2003 07:34 PM
It's a Compaq Pagemarq 20, connect to a JetDirect Ex Plus. The host is an N-Class running HP-UX 11.0.
I can get stuff to print from it in the default font etc but the users want to print compressed.
It doesn't seem to be recognizing the '-oc' to the lp command.
I'm sure I'm missing something, but my SA experience isn't as great as I'd like it to be (the joys of being a DBA who they want to do more Unix work :) )
Any pointers here would be appreciated.
Thanks
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 07:38 PM
02-06-2003 07:38 PM
Re: Printer model scripts for non HP printers
Or hunt it on internet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 07:47 PM
02-06-2003 07:47 PM
SolutionSo edit the /etc/lp/interface/model.org/
file and change the pitch size and see if the font size changes.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 12:26 AM
02-07-2003 12:26 AM
Re: Printer model scripts for non HP printers
For this aim:
1.You need to know ESC-sequences
of your printer. Then you could make a small
rulling files with them,with different arguments each.
For example one of them can be
/somedir/pL8C10F12CYR:
^[[<14h^[[10m^[[4w^[[4z^[[1t^[-L
2.After that you must prepare files with ftp-arguments, for each rulling file from /etc/lp/interface/ftparg:
user
bi
send /drivers/unix/pL6C10F11CYRf P1
by
3.And at last you can use script in
/etc/lp/interface/lpNON-HP. You can prepare it
using as model scripts for common network
hp-printers, but you can add in it a lines:
ftp -n -v -g $NON-HPPR-IP-ADDRESS < /etc/lp/interface/ftparg >> /var/adm/lp/log
I have attached you example for lpNON-HP here.
Regards,Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 12:34 AM
02-07-2003 12:34 AM
Re: Printer model scripts for non HP printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 03:41 AM
02-07-2003 03:41 AM
Re: Printer model scripts for non HP printers
Also, does the printer understand (HP) PCL (Printer Command Language)? If so, which level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 10:16 AM
02-07-2003 10:16 AM
Re: Printer model scripts for non HP printers
Thanks to everyone for your replies, I've files those answers away for future usage.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 07:14 PM
02-07-2003 07:14 PM
Re: Printer model scripts for non HP printers
There is a workaround if you can locate a list of control codes for the printer. Create a wrapper script that can insert the appropriate font controls in front of the print job. Of course, the effort may not be worth the cost of a new or used PCL printer.
Bill Hassell, sysadmin