The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SCO
.
google unix.com



SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configuring xSun for automatic remote login window ua-agent SUN Solaris 5 06-30-2009 09:35 PM
Remote Printing - 5.07 - MP5 atpbrownie SCO 1 04-20-2009 01:10 AM
Remote Dial-up Modem Printing With Out Cpu On The Remote Side! jayvee SUN Solaris 0 08-23-2005 08:23 AM
Remote printing warrickj UNIX for Advanced & Expert Users 1 04-01-2004 07:31 AM
Remote Printing stufine UNIX for Dummies Questions & Answers 2 07-15-2003 04:36 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
haezeban haezeban is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 3
Remote printing configuring

Hi,

We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name an ip-adress.

This is the configuration file :
Code:
root@sco1 # cat configuration
Banner: on:Always
Content types: simple
Device: /dev/null
Interface: /usr/spool/lp/model/HPLaserJet
Printer type: unknown
Number of banners: 0
root@sco1 #
Printing works fine from the unix via the lp-command (simple letters) But there I have always a blank page between each letter.

Also some documents are more special, on the documents the program prints first some squares and then text in it. These documents are messed up by the printer. He prints only the squares (vertical and horizontal lines) but no text.

I read already some info on AP Laurence but I do not understand very much.
I think I need to change the interface files or terminfo?? Also I tried via the command lpadmin -p pr13 -o lpi=3 this gives an error because of the printer type.

I am stuck, thanks for help.

---------- Post updated at 05:21 PM ---------- Previous update was at 03:50 PM ----------

hi,

I think I need to change the interface file in /var/spool/lp/admins/lp/interfaces/model.orig/name_of_printer

But this is quite difficult:
Some where in it :
if [ "$vsi" = "def" -a "$lpi" = "def" -a "$orien
tation" != "landscape" -a "$nroff" = "" -a "$dividing" = "" ]
then
echo "\033&l70p2e7.6c70F\c"
echo "\033&a4L\c"
echo "\033&k11H\c"
length="-l70"
fi

echo "\033&l70p2e7.6c70F\c" this I don't understand
echo "\033&a4L\c" this is the left margin
echo "\033&k11H\c" this is the hsi
length="-l70" this is the number of lines on the page


tkx

Last edited by pludi; 2 Weeks Ago at 11:03 AM.. Reason: code tags, please...
  #2 (permalink)  
Old 2 Weeks Ago
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 439
You can find the meaning of the escape sequences by looking at an HP PCL manual, you can download it from HP as a pdf or there are several condensed sources. Just google HPPCL.
The sequence that you don't understand is a combined sequence. The rules for writing a pcl command allow duplication of escape and & or # etc until a command ends with an uppercase letter.
So esc&a2L esc&h3L could be shortened to esc&a2lh3L

The other problem that you are having has to do with whether you send a text file, or a binary file to the printer. If you have overlays or fonts these must be sent to the printer in binary (raw) mode. You can also send text in raw mode if the text has crlf line endings. If not add a esc&k2G to the beginning of the file to turn lf into crlf.
  #3 (permalink)  
Old 2 Weeks Ago
haezeban haezeban is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 3
thanks

I found the meaning of the line:
l70p = page lenght
2e top margin 2 lines
7.6c = vmi Vertical motion text (7.6/48th inch) ??
70F text lenght in nb of lines

But how can I get 80columns on a page?
In the description of previous used pcl they said that is for 70lines per page en 80columns.
Is this calculated by the vmi??

tkx
  #4 (permalink)  
Old 2 Weeks Ago
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 439
Horizontal settings are controlled by the HMI (horizontal motion index) and the font size.
http://h20000.www2.hp.com/bc/docs/su...5/bpl13205.pdf
  #5 (permalink)  
Old 2 Weeks Ago
edfair edfair is offline
Registered User
  
 

Join Date: May 2008
Location: Tucker GA
Posts: 78
your combined command is

033 & l (lc L) 70p 2e 7.6c 70F spread out far enough to read.

My HPIIP PCL chart shows 033 & l (lc L) # C and the number of 1/48" with no indication that the number can be a fraction.

Your 11H specifies 11/120 or a little less than 1/10". You are supposedly in landscape which would be 110 characters wide less the 4 left and 3 right margins.

If you are not in landscape there may be another section that is controlling the spacing.
Sponsored Links
Reply

Bookmarks

Tags
sco network printing configuration

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0