- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer Filter Using Xerox MX20i
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
08-09-2006 09:19 AM
08-09-2006 09:19 AM
When my users print, the character return seems to be missing as it eventually spans off the page. An example of how it prints.
1
_2
__3
___4
____5
_____6
______7
etc... eventually printing a blank page. The _ is just to space out the numbers.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 09:36 AM
08-09-2006 09:36 AM
Re: Printer Filter Using Xerox MX20i
With "REMOTE" (in HP-UX speak) as opposed to "NETWORK" printers, the UNIX hosts has very few options available to lp but you can
add a simple filter to add the CRLF pairs before you call lp.
awk '{printf("%s\r\n",$0}' - | lp -dmyprinter
Note that "-" tells awk to read stdin for its input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 09:37 AM
08-09-2006 09:37 AM
Re: Printer Filter Using Xerox MX20i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 12:07 PM
08-09-2006 12:07 PM
Re: Printer Filter Using Xerox MX20i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 01:30 PM
08-09-2006 01:30 PM
Re: Printer Filter Using Xerox MX20i
ESC & k 2 G
where ESC is the escape character. In shell code:
echo "\033&k2G\c"
This would be inserted into the printer script just prior to the printing loop. But only if the Xerox printer supports the line termination options in PCL.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 06:22 AM
08-10-2006 06:22 AM
Re: Printer Filter Using Xerox MX20i
PERIPH=xx.x.xx.xxx was ip of the printer i x'ed it out.
Thanks again to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 10:21 AM
08-10-2006 10:21 AM
SolutionAha, you used hppi, the HP JetDirect software to add the printer. That changes everything. When you added the printer using hppi (or with SAM which calls hppi), the printer LAN card was interrogated to see if it is an HP card using port 9100. Since the above interface script is in place (it's the generic one for calling hpnpf), there should be an actual printer script that controls formatting in the model.orig directory. Since this is not set up as a 'remote printer', there is now a real formatting script in model.orig so you should be able to adjust the script to use ux2dos internally rather than use it as a filter to lp. When you added the printer, how did you pick the printer model?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 10:27 AM
08-10-2006 10:27 AM
Re: Printer Filter Using Xerox MX20i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 11:52 AM
08-10-2006 11:52 AM
Re: Printer Filter Using Xerox MX20i
So to fix the WOrkCenters pro Colors problem. Like you said I ended up using Network printing, selected the driver HP LaserJet 4Si / 4SiMX and it seems to function just fine. I turned some of the options off. See document for more information.
And yes I was using a config file from a network printer, in order to format it. I messed around with the new option of printing a bit but gave up on it. Which involves adding a SuperAdmin and many other config options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 01:04 PM
08-10-2006 01:04 PM
Re: Printer Filter Using Xerox MX20i
So the Xerox can print plain ASCII. Since you're using an HP LaserJet 4 model script, you might try a few lp options like -olandscape and -o2 to see if the printer knows about PCL escape sequences.
You're in uncharted waters here because HP won't support or help make the competitor's printer work and Xerox likely only supports its printers on PCs. Another important note is that your version of JetDirect software (E.10.18) on HP-UX is badly, badly out of date. It appears to be the old jetadmin software which was obsoleted in 1999 due to Y2K issues. You should update to the supported version called hppi (HP Printer Installer).
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?locale=en_US&pnameOID=18922&taskId=135&prodTypeId=18972&prodSeriesId=27349〈=en&cc=us
Bill Hassell, sysadmin