- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unix LP command - special character printing p...
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
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
тАО04-14-2009 05:36 AM
тАО04-14-2009 05:36 AM
Unix LP command - special character printing problem
I am using the plain LP unix command in order to print a text file (.txt) on a PR2 printer (olivetti) as follows:
lp -dpr2printername filename.txt
However, sometimes (not all the time) and out of nowhere, a special character is being printed before the first character of the content text (like L, o...). Attached is a PDF scan document containing 6 pages. Do you think it's due to the HP-UX? or the PR2? or the LPR printing software?
I WOULD APPRECIATE YOUR ASSISTANCE! THANKS IN ADVANCE!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 06:22 AM
тАО04-14-2009 06:22 AM
Re: Unix LP command - special character printing problem
lp is pretty much a text based system. It can handle escape codes if the printer drivers can handle it.
To print special characters you may need a printing system that uses a recognized print system like pcl.
You would need drivers for HP-UX for your printer. That may not exist. It might be better to hang the printer off a windows server with a proper print queue and submit the print job via CIFS Samba client. That client is free on the Core OS, Application DVD or http://software.hp.com
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 06:38 AM
тАО04-14-2009 06:38 AM
Re: Unix LP command - special character printing problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 07:16 AM
тАО04-14-2009 07:16 AM
Re: Unix LP command - special character printing problem
perhaps "od -oc"
without knowing *which* olivetti model, can't go much farther...most have network cards, support PCL6 / PJL and Postscript(?) but don't claim jetdirect compatible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 06:14 AM
тАО04-22-2009 06:14 AM
Re: Unix LP command - special character printing problem
The olivetti printer we are using is a PR2 Plus network printer connected to a windows server using SDI LPD as the print queue software.
The emulation used for the PR2 Plus is IBMPro
Hope the clarifications will help you to find the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 07:22 AM
тАО04-22-2009 07:22 AM
Re: Unix LP command - special character printing problem
I assume that the "pr2" spooler on the UNIX server is a remote spoller pointing to the windows SDI-LPD service and the windows printer queue. That being the case there is nothing much you can do on the UNIX server side with a remote spooler. The problem could be noise related or on the windows side.
If that's not the case, how is the physical PR2 printer connected to the windows server, locally via serial/parallel/USB or is it connected via the network? Do you have any other remote spoolers on other servers that have the same issue or they print fine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 07:44 AM
тАО04-22-2009 07:44 AM
Re: Unix LP command - special character printing problem
the idea here was to determine if you indeed do have some "odd" characters embedded in what should be a plain-text file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2009 10:26 PM
тАО05-31-2009 10:26 PM
Re: Unix LP command - special character printing problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2009 11:22 PM
тАО05-31-2009 11:22 PM
Re: Unix LP command - special character printing problem
Since you aren't using HP-UX, you should look to answers in your other thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1344063