T24:Printing Via "SERVER PRINTER" on Dsektop Icon

894 views
Skip to first unread message

rafael

unread,
Dec 13, 2010, 10:13:21 AM12/13/10
to jBASE
Hi All,

I have the above issue to address in T24 environment with the
following systems information.

Detail System Information
==================
System : Linux satdbtest 2.6.9-5.ELsmp.#1 SMP Wed Jan 5 19:30:39 EST
2005 i686
OS Release : Red Hat Enterprise Linux ES release 4 (Nahant)
RELEASE Information : Major 4.1 , Minor 5.18 , Patch 5711
(Change 56523)
T24 for MCB R06 and Jbase 4.1
Desktop Release Information 1.4

PRINTER NAME: HP Laser Jet P2015n

Brief on the Issue:
==============
I have done all the necessary settings from desptop side of both jbase
and desktop end such as PRINTER.ID, DE.FORM.TYPE and printer setup all
in desktop. In my profile, fields 42 and 43 hasbeen update with the
PRINTER.ID. It is possible to print via P-Function and "send snapshot
local printer" icon.
But when i click "SERVER PRINT" icon on desktop it actually print
directly to NETWORK PRINTER SETUP or named in PRINTER.ID AND
DE.FORM.TYPE BUT when it reach the Network Printer the FONT CHANGES TO
BOLD TYPE automatically thereby making it not aligned properly and not
printing all the information on A4 paper that the Bank wanted to use
for their report printing.
The question now is "HOW TO CHANGE OR SUPPRESS THE FONT TO A SMALLER
SIZE FROM LINUX OPERATING SYSTEM LEVEL or from where please?".
There by printing any sent report in smaller characters.

How could this printer setting be achive please?

Thank you.

--
Raphael

SYED SAUD

unread,
Dec 14, 2010, 3:16:24 AM12/14/10
to jb...@googlegroups.com
Hi Raphael,
 
Hope you have done all the  font settings inside PRINTER.ATTRIBUTES and DE.FORM.TYPE. The network printer you have also have its font settings and diff font sizes, length and width, no of lines setting according to the page size and few more things. If you have not set these yet get a printer configuration and ammend according to A4 size page. 
 
You can also check the format of your PRINT before it gets out of the printer by closing OS level queue and issue enquiry for print to server and then go to /var/spool/lp/request/"printername"/  or whatever the default path of your printer queue, then there you can find your formatted document. open it by issuing command:  cat "spoolrecordid", If it is in correct format there then everything is O.K on T24 end. You only need to set your printer settings accordingly.
 
Hope it helps to debug.
 
Regards,
Saud

--
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

VK

unread,
Dec 14, 2010, 2:58:31 AM12/14/10
to jBASE
HI,
see T24 application PRINTER.ATTRIBUTES and the link to it in
DE.FORM.TYPE (field RPT.ATTRIBUTES)

Mohammed Sabry

unread,
Dec 14, 2010, 8:15:42 AM12/14/10
to jb...@googlegroups.com
Hi Raphael,

we have the same Detail System Information but have PRINTER NAME: HP Laser Jet P3005n


first you must add the IP and printer name by writes in ( vi /ets/hosts ) in jsh command

add
10.144.6.20          infoprint and save

2-  writes in jsh command  smit queue
    Add a Print Queue
    remote               Printer Attached to Remote Host
    Standard processing
* Name of QUEUE to add [infoprint]
* HOSTNAME of remote server                          [infoprint]
* Name of QUEUE on remote server                     [infoprint]

save

3 -writes in jsh command  smit queue
  Change / Show Print Queue Characteristics
  PRINT QUEUE name                                   [infoprint]

  Default Print Job Attributes
------------------------------------------------------------------------------------------------------------------------------------------------------
[TOP]                                                   [Entry Fields]
  Print queue name                                    infotest
  Printer name                                        hp@info70

  -------------- Text Print Options -------------
  PITCH (characters per inch)                        [13]                                                                        +#
  TYPE STYLE (name)                                   courier                                                                    +

  ----------- Job Processing Options ------------
  PAGE NUMBER where printing should begin            [1]                                                                         +#
  Print file TYPE                                     a                                                                          +
  Pre-processing FILTER NAME                         [p]                                                                         +
  INITIALIZE printer?                                 full initialization                                                        +
  RESTORE printer?                                    yes                                                                        +

  ----------- Text Formatting Options -----------
 TOP MARGIN (lines)                                 [0]                                                                         +#
  BOTTOM MARGIN (lines)                              [0]                                                                         +#
  Number of columns to INDENT                        [0]                                                                         +#
  WRAP long lines?                                    yes                                                                        +
  Add LINE FEED or CARRIAGE RETURN                    LF->CRLF VT->CRVT                                                          +
  CODE PAGE of print file                            [IBM-1046]                                                                  +
  TITLE STRING for 'pr' filter                       []
  LINES per page                                     [70]                                                                        +#
  COLUMNS per page                                   [140]                                                                       +#

  ------------- Paper/Page Options --------------
  Page ORIENTATION                                    landscape                                                                  +
  Input PAPER SOURCE                                  AutoSelect                                                                 +
  PAPER SIZE override for input paper source          A4
 Type of Output Paper Handling                       Main                                                                       +
  DUPLEX output                                       Duplex long-edge                                                           +
  Number of Copies to Print                          [1]                                                                         +#
  Number of RePro Collated Copies to Print           [1]                                                                         +#
  Media Type                                          Plain                                                                      +
  Jam Recovery                                        ON                                                                         +
  Stapling/Jogging                                    Double Staple Landscape                                                    +
  Print file TYPE

  --------- Header/Trailer Page Options ---------
  SEPARATOR PAGES                                     none                                                                       +
  HOSTNAME for "PRINTED AT:" on HEADER PAGE          []

  ------------- Messages/Diagnostics ------------
DIAGNOSTIC LEVEL                                    (normal) - print job; exit if filters produce stderr                       +
  Joblog Options                                      OFF                                                                        +
[BOTTOM]

------------------------------------------------------------------------------------------------------------------------------------------------------

after end above

4 -writes in jsh command   SP-STATUS
   1. CREATE FORMQUEUE
   FORM-NAME     DEV TYPE(LPTR,TAPE,PORT,PROG,UNIX)     DEVICE NAME: INFOPRINT
DEV TYPE(LPTR,TAPE,PORT,PROG,UNIX)     DEVICE NAME:  PROG

DEVICE NAME: lpr -h -P infoprint


ALL in case sensitive
------------------------------------------------------------------------------------------------------------------------------------------------------

PRINTER.ID

     PRINTER.NAME...... INFOPRINT
 ------------------------------------------------------------------------------
   1 PRIME.PRINTER.ID.. INFOPRINT
   2 DESCRIPTION....... NEW SYSTEM PRINTER INFOPRINT
  12 CURR.NO........... 1
  13. 1 INPUTTER....... 100_SCB.MSABRY_C_INAU
  14. 1 DATE.TIME...... 07 OCT   09 15:53
  14. 2 DATE.TIME...... 07 OCT   09 15:53
  15 AUTHORISER........ 100_SCB.MSABRY
  16 CO.CODE........... EG-001-0030         ÈæÑÓÚíÏ
  17 DEPT.CODE......... 30


DE.FORM.TYPE

     FORM.TYPE......... INFOPRINT
 ------------------------------------------------------------------------------
   1. 1 GB DESCRIPTION. NEW SYSTEM PRINTER INFOPRINT POR SAID
   2 PRINTER.ID........ INFOPRINT              NEW SYSTEM PRINTER INFOPRINT
   3 FORM.WIDTH........ 140
   4 FORM.DEPTH........ 60
   5 TOP.MARGIN........ 1
   6 BOTTOM.MARGIN..... 1
   8. 1 OPTIONS........ EJECT
   8. 2 OPTIONS........ NOHEAD
  10 CURR.NO........... 3
  11. 1 INPUTTER....... 132_SCB.MSABRY_I_INAU
  12. 1 DATE.TIME...... 06 JAN   10 15:57
  12. 2 DATE.TIME...... 06 JAN   10 15:57
  13 AUTHORISER........ 132_SCB.MSABRY
  14 CO.CODE........... EG-001-0030         ÈæÑÓÚíÏ
  15 DEPT.CODE......... 3


I hope that I have provided adequate assistance


Best regars,
Mohammed Sabry

IT-Developer
Suez Canal Bank Egypt

raphael olapade

unread,
Dec 14, 2010, 12:49:53 PM12/14/10
to jb...@googlegroups.com
Hi,
 
I thank everybody for their fruitful contributions.
 
Will soon get back after applying various suggestions.
 
Rgds,
 
rafael

--
Raphael

Mohammed Sabry

unread,
Dec 15, 2010, 1:32:44 AM12/15/10
to jb...@googlegroups.com
Note:

all steps  by root

Except SP-STATUS
by user login name

sorry for write error it's etc "vi /etc/hosts"
Reply all
Reply to author
Forward
0 new messages