× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



James,

We had similar problem ... here's what we did ... hope this helps.

Configuring the PC5250 Printer Session to Use a Printer Definition Table

(PDT)

Configuring the PC5250 Printer Session to use a Printer Definition Table

(PDT) gives you control over how the output is printed by allowing you to

copy and modify a Printer Definition Source File (PDF) and create a PDT

file.

However, not all printers are supported with PDT files. For instance, there

are no PDT files available for PostScript printers or for any of the new

Windows-only printers such as the HP DeskJet 820 Series printers, the

Lexmark 2070 printer, or the Lexmark WinWriter 150 printer.



1

Select File | Printer Setup on the menu bar to bring up the Printer Setup

panel. Turn on Use PDT and click on the Select PDT button to bring up the

Select PDT file panel.







2

Look through the list of file names for a PDT file that corresponds to the

Windows printer driver being used (for example, hpdskjt.pdt for most of the

HP DeskJet printers). Click on the PDT file to select it, and click OK to

exit the Select PDT file dialog box.

Note: If you cannot find a PDT file that corresponds to your printer, check

the printer manual to see what other types of printers it emulates. For

example, there are no PDT files listed for the Lexmark Optra printers or the

HP LaserJet 5, 6, 4000, or 8000 printers; however, because they all emulate

the HP LaserJet 4 printer, you can use the hplj4.pdt file.







3

Click OK to exit the Printer Setup dialog box.







4

Select File, Save on the menu bar to save the changes.



Using Host Print Transform (HPT) with V5R1M0 Personal Communications 5250

(PC5250)

Note: This information can also be found in the following document:

23354524, Using Host Print Transform (HPT) with a PC5250 Printer Session at

V5R1M0 and Above

<http://www-912.ibm.com/s_dir/slkbase.NSF/0888cc5d18fceca58625680b005dc690/2

ab4e685a369500786256a58005c2015?OpenDocument>

ASCII printers can be attached to the AS/400e or iSeries 400 server through

a PC (using WSF, RUMBA/400, PC5250, or a third-party emulation package) or

through hardware (for example, a 3179 or 3477 display, an ASCII Workstation

Controller, a Lexmark MarkNet XLE, or an HP JetDirect card).

Host Print Transform is an OS/400 function that converts an OS/400 spooled

file (in either the *SCS or *AFPDS data stream) into an ASCII printer data

stream. This can be used in conjunction with most printer emulation software

and hardware. One of its benefits is that it can create the same look and

feel when printing through a variety of printer emulation software and

hardware. For instance, if you have printers connected to some PCs running

WSF under Client Access for DOS with Extended Memory, others running

RUMBA/400 under Client Access for Windows 3.1, others running PC5250 under

Client Access/400 for Windows 95/98/NT and still others connected to the LAN

with an IP address, you can use Host Print Transform with all of these. The

output will look very similar across all of the ASCII printers.

Some printer emulation software (such as PC5250 and WSF) require that Host

Print Transform (HPT) is specified in the printer session profile. When the

printer session connects to the AS/400e or iSeries 400 system, the emulation

software automatically changes the OS/400 printer device description to

reflect the settings made in the printer session profile. If you change the

OS/400 printer device description instead, your changes are automatically

removed the next time you connect the PC5250 printer session.

Note: Not all printers are supported with Host Print Transform. This

includes all PostScript printers and any of the new Windows-only printers

such as the HP DeskJet 820 Series printers, the Lexmark 2070 printer, or the

Lexmark WinWriter 150 printer.

Configuring the PC5250 Printer Session to Use Host Print Transform (HPT)



1

Select Communication | Configure on the menu bar.







2

Verify that the Type of emulation is set to Printer, and then click Setup.







3

Turn on Transform print data to ASCII on AS/400.



4

Click on the down arrow next to Printer Model, and look through the list for

a printer that corresponds to the Windows printer driver being used. Click

on the printer to select it.

Caution: Do not leave the Printer Model set to IBM 3812 Pageprinter unless

you are actually printing to an old IBM 3812 ASCII printer. The Printer

Model refers to the type of printer that is attached to your PC, not the

type of printer emulation that is done on the AS/400e or iSeries 400 system.

Note: If you cannot find a printer in the list that corresponds to your

printer, check your printer manual or refer to the following Knowledgebase

Document to see what other types of printers it emulates:

17690939, Support for Various ASCII Printers

<http://www-912.ibm.com/s_dir/slkbase.NSF/0888cc5d18fceca58625680b005dc690/b

44a2cf4ba778d83862568250053649f?OpenDocument>



5

Verify the settings for Drawer 1, Drawer 2, Envelope Hopper, and ASCII Code

Page 899.



6

Leave the Customizing Object set to QWPDEFAULT in library *LIBL or change it

to *NONE.







7

Click OK to exit the PC5250 Printer Emulation Setup panel.



8

Click OK to exit the Configure PC5250 panel.



9

You will see a PC5250 dialog box that displays message, PCSCC041 - Because

you have changed the configuration, communication will be terminated if you

proceed. Are you sure?. Click on the OK button. This causes PC5250 to

disconnect the display session and reconnect as a printer session using the

workstation ID that you specified.







10

Select File | Save on the menu bar.



11

Sign onto OS/400 using a PC5250 display session. Use the Display Device

Description (DSPDEVD) command to verify that Host Print Transform has been

set up correctly on the AS/400e or iSeries 400 system.

Using a Modified Workstation Customizing Object (WSCST) with Host Print

Transform

Host Print Transform provides a way to change the way it converts OS/400

spooled files into the ASCII printer data stream. This is done by retrieving

a workstation customization table, editing the source file member, creating

a new workstation customizing object, and using that modified workstation

customizing object (WSCST) with your OS/400 printer device description.

Using modified workstation customizing object with Host Print Transform

allows you to change the following:



o

Printing 198-character spooled files on a letter sized (8.5" x 11.0") sheet

of paper in landscape



o

Forcing all output to print in draft quality for dot matrix line printers



o

Printing 132-character spooled files on a letter sized (8.5" x 11.0") sheet

of paper in Portrait



o

Forcing all output to print from drawer 2 on a laser printer







Caution: Any assistance with editing a workstation customization object must

be done by Consult Line.







1

Select Communication, Configure on the menu bar.



2

Verify that the Type of emulation is set to Printer, and click on the Setup

button. Turn on Transform print data to ASCII on AS/400.



3

Click on the down arrow next to Printer Model, scroll down to the bottom of

the list, and select *WSCST.



4

Verify the settings for Drawer 1, Drawer 2, Envelope Hopper, and ASCII Code

Page 899.



5

Set the Customizing Object to the name of the modified workstation

customizing object. Also specify the name of the library that contains this

modified workstation customizing object.







6

Click OK to exit the PC5250 Printer Emulation Setup panel, and click OK to

exit the Configure PC5250 panel.



7

You should get a message that reads, Personal Communications: PCSCC041 -

Because you have changed the configuration, communication will be terminated

if your proceed. Are you sure?. If you get this message, click OK. At this

point, PC5250 is disconnecting and changing the printer device description

on the AS/400e or iSeries 400 system.



8

Select File, Save on the menu bar.



9

Sign onto OS/400 using a PC5250 display session. Use the Display Device

Description

(DSPDEVD) command to verify that Host Print Transform has been set up

correctly on the AS/400e or iSeries 400 server.

----- Original Message ----- 
From: "James Newman" <jabezinc@xxxxxxxxxxx>
To: "Midrange L" <MIDRANGE-L@xxxxxxxxxxxx>
Sent: Tuesday, September 16, 2003 2:00 PM
Subject: Font for printer connected via CA


I have an HP Laserjet 6P that's connected to my 400 via TCP/IP.  The system
shows it configured as a 3812 and it will print listings okay.  Funny thing
is the characters are squeezed together so that it makes it difficult to
read (would be better if there was a little more space between characters).
Anyone run into this before and know how to fix it?  From looking at the
configuration on the 400, it is setup as font identifier 011 and point size
*none.  If this is what I need to change, how do you know what the
identifiers are?

TIA.
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.