Remote printing configuring

Thread Tools Search this Thread
Operating Systems SCO Remote printing configuring
# 1  
Old 11-04-2009
Remote printing configuring


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 :
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 ----------


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" = "" ]
echo "\033&l70p2e7.6c70F\c"
echo "\033&a4L\c"
echo "\033&k11H\c"

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


Last edited by pludi; 11-04-2009 at 11:03 AM.. Reason: code tags, please...
# 2  
Old 11-04-2009
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  
Old 11-05-2009

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??

# 4  
Old 11-05-2009
Horizontal settings are controlled by the HMI (horizontal motion index) and the font size.
# 5  
Old 11-05-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Problem configuring IP address on remote device

I need to add a printer with Ethernet to my local network. The default IP address in the printer is and I need to change it to a 192.168.0.x address. I have previously temporarily changed the IP address of a computer (with ifconfig) to an address similar to the new device and changed the... (8 Replies)
Discussion started by: snorkack59
8 Replies

2. SCO

Unix remote printing

Sir, i have a sco 5.5 installed server and 6 clients connected through pci specialix card and printing working fine in these all terminals. 7 and 8 ports are free now, i need to setup another terminal for login on through 7 or 8 port for remote login. i connect a external modem using 25 pin male... (2 Replies)
Discussion started by: Aneesh Kumar.T
2 Replies

3. Solaris

Configuring xSun for automatic remote login window

Hey folks, I wish every one is just great. I got to do this: I'm trying to configure my Solaris 10 clients to Automatically Show the login windows of the Main Server whenever the Client restarts or a user logs out. By other means, the Client user don't have to Go to Options->Remote-Login->... (5 Replies)
Discussion started by: ua-agent
5 Replies

4. SCO

Remote Printing - 5.07 - MP5

I have just lost all of my printers and I forget how to create a remote printer in SCO 5.07. I do know that there is an issue with CUPS in that I have to "turn it off" (which I also forget how to do) so that this enables the "Remote Printer" setup option in Printer Administration. I thought... (1 Reply)
Discussion started by: atpbrownie
1 Replies

5. UNIX for Advanced & Expert Users

Remote printing

Dear Sir Please how can I print a job localy with my printer while a server from where I am working belong to another network? Actulally to print a job I am oblige to : 1rst to print it inside a file 2nd coping the file to my network (rcp) 3rt sending the file to my local printer (lp... (2 Replies)
Discussion started by: sobnc
2 Replies

6. HP-UX

Remote Printing to HP 1000

Our system is an HP RP5470 11.11. We have had remote printing working for over 6 years. We use NetManage ViewNow software on our Windows client as the LPD. We had no problems with remote printing for any HP printer except for the HP LAserJet 1000. Nothing prints. I sent all the files in the... (2 Replies)
Discussion started by: Stabia
2 Replies

7. Solaris

Remote Dial-up Modem Printing With Out Cpu On The Remote Side!

I am looking for a dial-up remote printing solution as under : 1. We have a Centralized location where Sun Solaris (A) is installed. From here printing command will be despatched. 2. This printing command will be routed to WAN cloud to Main Branches (B1,B2,B3)and from there, printer at... (0 Replies)
Discussion started by: jayvee
0 Replies

8. UNIX for Advanced & Expert Users

Remote printing

I'm trying to print from my Solaris server to a Windows Print Server The Print Server will then pass the print job to a PC connected via dial-up and print it locally. EG: Solaris ----- | | | | ------ /88888/ ------- \ / ... (1 Reply)
Discussion started by: warrickj
1 Replies

9. UNIX for Dummies Questions & Answers

Remote Printing

I am using Sco Openserver 5.0.6 and I have an Okidata 16n printer on a GETNET print server. I am able to print to the printer. However I am having display issues. Normally when I setup a local printer I am able to tell it what model to use. Ex.(HPLaserJet). When I setup the remote... (2 Replies)
Discussion started by: stufine
2 Replies

10. IP Networking

Remote Printing

I am setting up a unix remote print server for approximately 500 printers. We send about 1,000 print jobs per day over the WAN. I am looking for hardware specs. I know I can overkill, but would rather get a sensible machine. Any suggestions? (2 Replies)
Discussion started by: Donna
2 Replies
Login or Register to Ask a Question