Jump to content


Photo
- - - - -

CRT and Logon


3 replies to this topic

#1 red

red

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 12 November 2006 - 09:57 AM

Hi all,
I have a problem when i print to file with a printer mapping setup.

I put an exmaple :

Proiv Printer : LP1
Windows Printer : FILE
Device File Name : c:\tmp\proiv_print.txt

It's all ok till use a width column report max 80 (columns).
If i use a report with plus 80 columns the system truncate the report to 80.
Because for this report the system use the CRT Width in function "$CRT" with a terminal "GUIDEV"
The default setting is "50" in Exedecimal that corrispondig to "80" in decimal, ok
i have a solution if you set in "E9" (correspondig to 233 in decimal) , the system prints the report correctly.

But the next logon the new window logon show me out of the main screen.




I have a problem to send the attachments print screen.

I explain with a char mode
Logon : (The little box is a logon)
|----------------------------------|
| |
| |-------|
| |Company|
| |User |
| |Passwor|
| |-------|
| |
| |
|----------------------------------|



There is a solutions?

best regards
Red
[/b]

#2 Joseph Bove

Joseph Bove

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 756 posts
  • Gender:Male
  • Location:Ramsey, United States

Posted 13 November 2006 - 05:46 PM

Red,

I don't know if this may be your issue or not. There were some version of ProIV 4.6 that had seem problems with print to screen. The later kernels ended up working fine.

What kernel / revision are you on?

Regards,

Joseph

#3 Marco.Bega

Marco.Bega

    Advanced

  • Members
  • PipPipPip
  • 77 posts
  • Gender:Male
  • Location:Milano, Italy

Posted 13 November 2006 - 08:26 PM

Hi,
Finally i can use my default account...
The Server is a Aix with Pro-iv 5.5 Revision 5.1.17 (Agu 16/05).

Today i send you the logon print screen.

Thank
Marco

Attached Files



#4 Mike Schoen

Mike Schoen

    Expert

  • Members
  • PipPipPipPip
  • 198 posts
  • Gender:Male
  • Location:Guelph, Canada

Posted 14 November 2006 - 02:58 PM

Red,

We have found this as well, and we have resorted to changing the $CRT entry for GUICLR to CRT LENGTH: 43 and
CRT WIDTH: C8 , which is 132 wide, 66 long, so that reports to screen are the proper page size.

This does result in things like @MAIN, @UM etc to display really wide because of screen size, but we have coded our menus to display within the default 80x24 area, and just take advantage of the wider/longer crt size for reports.

Mike



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users