Printing problem - Vertical Tab


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Printing problem - Vertical Tab
# 1  
Old 10-15-2008
Printing problem - Vertical Tab

At work, when I issue:
lpr -P$PRINTER -h filename
the file always prints a line then does a vertical tab off that first line instead of starting the new line at left.
It does this with every file I've tried, and I can't find any options that are set that would make things print this way.

I don't have sudo/su access so I'm hoping the fix can be done by normal users.

It's command-line Tru64 Unix, if that helps.

Thanks in advance.
# 2  
Old 10-15-2008
Hammer & Screwdriver Perhaps it is something in the file you are sending?

The command you issue merely sets a destination of where to print and then states no banner page.

Suggest you use vi or other tool to create a simple file that you know is plain text, and then send that file to the printer. The result of that will point you towards the reason for the strange printing.

a) if prints ok, then the original file may be to blame
b) if prints strange again, will need to investigate the settings of that printer
# 3  
Old 10-16-2008
Some further investigation

Most of what I've been trying to print are flat files.
I've even tried it with just single words on each line and they all get a vert. tab.

It's a networked printer and I can print from Windows perfectly fine.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

awk printing leading tab in output

The awk below executes and produces the current output. it skips the header in row 1 and prints $4,$5,$6 and then adds the header row back. The problem is that it keeps the tailing tab and prints it in front of $1. I could add a pipe to remove the tab, but is there a better way to do it with on... (7 Replies)
Discussion started by: cmccabe
7 Replies

2. Shell Programming and Scripting

Convert pipe demilited file to vertical tab delimited

Hi All, How can we convert pipe delimited ( or comma ) file to vertical tab (VT) delimited. Regards PK (4 Replies)
Discussion started by: prasson_ibm
4 Replies

3. UNIX for Dummies Questions & Answers

Problem getting vertical bar with British keyboard layout on US (physical) keyboard

Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it. I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies

4. Shell Programming and Scripting

Problem with a tab separated file

Hi, I have created a tab separated file from the following input file. ADDRESS1 CITY STATE POSTAL COUNTRY LON LAT 32 PRINZREGENTENSTRASSE ROSENHEIM BAYERN 83022 DEU 1212182 4785699 263 VIA DANTE ALIGHIERI BARI PUGLIA 70122 ITA 1686233 4112154 30 VIA MILANO ... (1 Reply)
Discussion started by: ramky79
1 Replies

5. Shell Programming and Scripting

problem with the cron tab.

Hi, I have a cron tab file , which executes a particular script in a scheduled time and creates a output file. Since the cron tab file was created by the root , there is no access permission( for the output files) for other users irrespective of the default directory permission on which the... (5 Replies)
Discussion started by: BalajiUthira
5 Replies

6. UNIX for Dummies Questions & Answers

problem in Tab namings

Hi i am using gnome terminal. I used to open 2 or 3 tabs in the same terminal. I used to set the title name for each tab as Win1 Win2 and Win3. When i open a file with vim in any tab (say Win1) the naming convention of tab Win1 changes to filename whcih was opened . Say i opened Test.sv in... (0 Replies)
Discussion started by: naaj_ila
0 Replies

7. Shell Programming and Scripting

printing two values with TAB in between

Dear friends, I want to print variables' values in certain format where space between two values of variables is "a tab" I tried where I provided "tab" between two varibales. But when it print values on screen its giving me output without spaces in two values. Request you to help me in... (7 Replies)
Discussion started by: anushree.a
7 Replies

8. UNIX for Dummies Questions & Answers

printing in a specific mode : vertical spacing = 7

Hello, I need to print in a specific mode : vertical spacing = 7 most printers can print only in vertical spacing = 6 or 8 mode. Does anybody know how to print with a vertical spacing = 7 ? What operation or what printer can do it ? Thank you. (0 Replies)
Discussion started by: astjen
0 Replies

9. Shell Programming and Scripting

Problem with Cron tab

I have a script for pinging the switches and giving me the report:- #!/usr/local/bin/perl #!/bin/ksh #!/usr/bin #etc `source /export/home/chinnigd/.profile`; @names = `cat switches|cut -f1 -d' '`; @ip = `cat switches|cut -f2 -d' '`; $num = @names; $re ="Empty"; $i = 0; $flag = 0; while... (3 Replies)
Discussion started by: chinnigd
3 Replies

10. UNIX for Dummies Questions & Answers

Cron Tab problem

I have a script that is being called from cron job . This script further call 3 scripts which runs in the background . main script ( called from cron ) { script1 & script2 & script3 & } How to know when the main script is over ?? (3 Replies)
Discussion started by: rahul123_libra
3 Replies
Login or Register to Ask a Question