× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

Printer Setup

  • kartsnek
  • Topic Author
  • Visitor
  • Visitor
11 years 5 months ago #15359 by kartsnek
Printer Setup was created by kartsnek
Hi,

i am configuring HPLJ4200N printer to G13 system where the system is not printing any messages via enquiry. Hence could you please help me how to change the attributes in PRINTER.ATTRIBUTE?

Steps Followed
1.Created an entry in PRINTER.ID for the new printer.
2.Set the attributes in PRINTER.ATTRIBUTE(am not sure i did it correcly)
3.Map the same printer id in my USER record
4.Executed the enquiry from globus prompt.


Regards
Karthik

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
11 years 5 months ago #15360 by jpb
Replied by jpb on topic Printer Setup
If your PRIME.PRINTER.ID is working OK when printing directly from your OS check :

to set e.g. LANDSCAPE

PRINTER.ID - PRINTER.TYPE..... HPLASER
DE.FORM.TYPE - RPT.ATTRIBUTES.. LANDCOMP (for the DE.FORM.TYPE used in REPORT.CONTROL "P.FUNCTION")

PRINTER.ATTRIBUTES
@ID............... HPLASER.LANDCOMP
DESCRIPTION....... LANDSCAPE
INIT.SEQUENCE..... <027>&l1O

Please Log in or Create an account to join the conversation.

  • kartsnek
  • Topic Author
  • Visitor
  • Visitor
11 years 5 months ago #15366 by kartsnek
Replied by kartsnek on topic Printer Setup
Hi Jpb

Thanks for the reply and your solution is working fine but have one issue.
i am printing the enquiry report which have 5 columns(eg CUS ID, CUS NAME, ACCOUNT, OPEN BALANCE, WORKING BALANCE) but the printer is printing only 4 columns in A4 sheet, Hence could you please help me how to change the attributes in PRINTER.ATTRIBUTES?

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
11 years 5 months ago - 11 years 5 months ago #15369 by jpb
Replied by jpb on topic Printer Setup
Have you checked the FORM.WIDTH in DE.FROM.TYPE that you have assigned for P.FUNCTION ?

To get the printer use ~132 characters landscape try with
@ID.................    DESCRIPTION.......................................    INIT.SEQUENCE............
HPLASER.LANDCOMP        LANDSCAPE                                             <027>&l1O
                        8 LPI                                                 <027>&l8D
                        Courier 14pitch                                       <027>(s0p14h0s2b4099T
                        left margin 12                                        <027>&a12L

There are many other Esc-sequences, try getting a PCL Reference Set for HP laser...
Last edit: 11 years 5 months ago by jpb.

Please Log in or Create an account to join the conversation.

  • kartsnek
  • Topic Author
  • Visitor
  • Visitor
11 years 5 months ago #15384 by kartsnek
Replied by kartsnek on topic Printer Setup
Hi Jpb,

Thank you very much for your solution and it is working fine. I referred the PCL document and got the attributes.
Only one issue is , i am getting extra empty white sheet while printing the enquiry.
Could you please confirm whether we suspect this issue in printer Driver or printer attributes?

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
11 years 5 months ago #15388 by jpb
Replied by jpb on topic Printer Setup
Are you on G13 or R13 ?

The empty page problem is described here : www.t24all.com/index.php/component/kunen...-from-r10.html#13807

Please Log in or Create an account to join the conversation.

  • kartsnek
  • Topic Author
  • Visitor
  • Visitor
11 years 5 months ago #15396 by kartsnek
Replied by kartsnek on topic Printer Setup
Hi Jpb

am using G13.

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
11 years 5 months ago #15399 by jpb
Replied by jpb on topic Printer Setup
So that won't help ;-)

Have you checked DE.FORM.TYPE, maybe there is OPTION = EJECT set ?

Please Log in or Create an account to join the conversation.

  • kartsnek
  • Topic Author
  • Visitor
  • Visitor
11 years 5 months ago #15422 by kartsnek
Replied by kartsnek on topic Printer Setup
Hi Jpb,

I am not using any DE.FORM.TYPE as my output is not a SWIFT/PRINT advice.
i have done all the printer configuration by your earlier suggestion and same printer id has added in USER profile. From USER profile, i have executed the enquiry CUSTOMER.POSITION and print it from G13 Desktop.

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
11 years 5 months ago #15423 by jpb
Replied by jpb on topic Printer Setup
There are two icons to use when printing an enquiry.
The rightmost will "Send snapshot to local printer".

The other will do the same as using P in classic, i.e. :
- read the record P.FUNCTION from REPORT.CONTROL
- read the DE.FORM.TYPE defined in field FORM.NAME
- either use the PRINTER.ID from this record or (if empty) the PRINTER.FOR.P.FUNC from USER
- apply the settings for form, margin, attributes and options

So you are using DE.FORM.TYPE. Beside the attributes and options also check that top and bottom margin are set to 0.
The following user(s) said Thank You: kartsnek

Please Log in or Create an account to join the conversation.

Time to create page: 0.049 seconds