- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing problems
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
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
06-27-2002 01:02 AM
06-27-2002 01:02 AM
Can anyone help me as I have so far spent many hours on this and I am getting nowhere very fast.
Many thanks, Graeme.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 01:19 AM
06-27-2002 01:19 AM
Re: Printing problems
stty raw 9600 -parenb cs8 ixon -istrip clocal inlcr <&1 2>/dev/null #uncomment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 01:22 AM
06-27-2002 01:22 AM
Re: Printing problems
Hi,
Your problem is that the UNIX line-termination
is only LF.
Many printers can be configured to automatically
add a CR to every LF. Check if this is
possible on your printers. If not you will
have to modify the model-script so that
it does a ux2dos command to the file
before it cat it to the printer.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 01:25 AM
06-27-2002 01:25 AM
Re: Printing problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 01:28 AM
06-27-2002 01:28 AM
Re: Printing problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 01:35 AM
06-27-2002 01:35 AM
SolutionHI,
Or you could modify the following lines
in the dumb-script:while [ $i -le $copies ]
do
for file in $files
do
cat "$file" 2>&1
echo "\014\c"
done
i=`expr $i + 1`
done
to be:
while [ $i -le $copies ]
do
for file in $files
do
cat "$file" | ux2dos 2>&1
echo "\014\c"
done
i=`expr $i + 1`
done
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 09:11 AM
06-27-2002 09:11 AM
Re: Printing problems
eg.
cat $file | sed 's/\^J/\^J\^M/'
(use