1822432 Members
2726 Online
109642 Solutions
New Discussion юеВ

local HP printer setup

 
Nick D'Angelo
Super Advisor

local HP printer setup

All,

I am trying to configure a printing on a host application to print to a locally connected HP laser jet.

HPUX 10.20
Progress 8.2c
QAD 8.6d

Except, when I try to print to the local printer, the first line displays some of the control characters.

Here is my setup.

mgmgmt05.p c+ 36.13.2 Printer Setup Maintenance 08/19/02
+----------------------------- Printer Definition -----------------------------+
| Output To: ndhp Printer Type: HP LASER |
| |
| Description: Local 4plus Lines / Page: 60 |
| Max Pages: 0 Scroll Output: no |
|Device Pathname: cat >/tmp/local.out Spooler: yes |
+------------------------------------------------------------------------------+
+------------------------------ Printer Control -------------------------------+
| Initialize Command: |
| |
| Initialize Ctrl: /027[5i |
| |
| 80-Col Start Ctrl: /027E/027&l0O/027(8U/027(s0p10h12v0s0b3T/027&l66P |
| /027&l2E/027&l7.8689C/027&l66F/027&k2G |
| 132-Col Start Ctrl: /027E/027&l0O/027(0U/027(s0p16.66h8.5v0s0b0T/027&l |
| 66P/027&l2E/027&l7.8689C/027&l66F/027&k2G |
| Reset Ctrl: /027[4i |
| |
| Reset Command: cat /tmp/local.out |
+------------------------------------------------------------------------------+


F1=Go 2=Help 3=Ins 4=End 6=Menu 7=Recall 8=Clear 9=Prev 10=Next

I have also posted on the applications user group forum.

Any ideas/suggestions would be appreciated.

Thank you,

Nick
Always learning
2 REPLIES 2
Rodney Hills
Honored Contributor

Re: local HP printer setup

I'm wondering if the system is writing to your printer in "cooked" mode.

Use "slp -k >/dev/lp1" to set to raw mode.

Hope this helps.

-- Rod Hills
There be dragons...
Rodney Hills
Honored Contributor

Re: local HP printer setup

Disregard previous post.

I see from your configuration you are using forward slashes (/) in front of the codes. I am not familiar with the application you are using, but typically back slash (\) is used to prefix ascii codes.

-- Rod Hills
There be dragons...