Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to Windows from SCO with Proprietary LP server.

Status
Not open for further replies.

itcamefrommars

IS-IT--Management
May 4, 2001
66
0
0
US
HPLaser on a windows machine installed as a remote on SCO OpenServer505.
Windows is running a proprietary LP server supplied with our client software for Medical Manager.
THE PROBLEM IS:
output from the application looks fine as it inserts the correct CR-LF.
BUT, printing from shell does the staircase.
As remote printers don't have any real interface, how can I fix the stair case for printing backup reports , etc.
P.S. setting CR-LF on the printer interferes with another use of the printer. need to make solution in SCO.
Thanks ahead of time for any advice!

mbrown@computereaseinc.net
 
As I understand, you have a LF (UNIX) to CR-LF (DOS)
conversion problem.
See dtox and xtod man pages.
You can make a shell script like this one:
/usr/bin/lpwin:
xtod $1 | lp -dprtwin
-prtwin is the name of the printer.

Now, you can try this:
lc | lpwin , or
lpwin textfile , etc.

Plese, note me if this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top