|
On Jul 15, 2020, at 16:02, Don Brown via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
We generate a lot of pdf's that we email.
After reading your post Eddie I downloaded the PRTSTMF and gave it a test.
It failed but I am guessing it is just the printer configuration.
Could I ask what printer you are using to print the pdf's and the
associated device description.
Thanks
The error we receive is: CPI3373
Writer PRT07 cannot re-direct file QSYSPRT to device PRT07
Cause . . . . . : Writer PRT07 could not re-direct file QSYSPRT number 3
job
924900/USER/QPADEV0001 created on system MSD820 on 16/07/20 08:54:02 to
device PRT07. ASCII data cannot be converted to the format required to
process the file on that device. If device PRT07 is a PC printer, the
re-direction was required because the page width, page length, lines per
inch, or font attributes of file QSYSPRT are not supported by the
device. If
device PRT07 is a printer configured as AFP(*YES), an image
configuration
object or a form definition and page definition may be required in order
to
print the file.
Recovery . . . : File QSYSPRT can only be processed on a PC printer. If
device PRT07 is a PC printer, either process file QSYSPRT on another PC
printer which supports the attributes of file QSYSPRT or re-create the
file
specifying page width, page length, lines per inch and font attributes
that
are supported by the printer. If device PRT07 is a printer configured as
AFP(*YES), specify an image configuration object for the printer, or
re-create the file with a form definition and page definition and try
printing the file again. This allows some types of PC data to be
printed.
Don Brown
From: "Eddie Gomez" <gmon750@xxxxxxxxx>
To: "RPG programming on IBM i" <rpg400-l@xxxxxxxxxxxxxxxxxx>
Date: 16/07/2020 04:23 AM
Subject: Re: AFPDS printing or other recommendations
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>
We generate all our reports as .PDF’s, and send them to the printer as a
stream file using Scott Klement’s PRTSTMF command. Would this help you?
On Jul 15, 2020, at 09:00, dfreinkel <dfreinkel@xxxxxxxxxxxxxxxxx>wrote:
from
I have figured out the printing and it is generating the print file as
needed. I can see the report in ACS as a PDF and it prints correctly
the PDF to the printer.page.
When I print it to my HP printer as a 3812 printer, it prints a blank
I am using host print transform.questions.
How should the printer be configured?
I assume it's a printer configuration issue. I have attached the
configuration below.
Darryl Freinkel
A4G.
Tel: 770.321.8562 Ext 111 | Cell: 678.355.8562
Display Device Description
LCNDEV
07/15/20
10:50:27
Device description . . . . . . . . : DEVD PRT_HP2025
Option . . . . . . . . . . . . . . : OPTION *BASIC
Category of device . . . . . . . . : *PRT
Device class . . . . . . . . . . . : DEVCLS *VRT
Device type . . . . . . . . . . . : TYPE 3812
Device model . . . . . . . . . . . : MODEL 1
Advanced function printing . . . . : AFP *NO
Online at IPL . . . . . . . . . . : ONLINE *NO
Attached controller . . . . . . . : CTL QVIRCD0001
Font . . . . . . . . . . . . . . . : FONT
Identifier . . . . . . . . . . . : 011
Point size . . . . . . . . . . . : *NONE
Form feed . . . . . . . . . . . . : FORMFEED *AUTOCUT
Separator drawer . . . . . . . . . : SEPDRAWER *FILE
Separator program . . . . . . . . : SEPPGM *NONE
Printer error message . . . . . . : PRTERRMSG *INFO
Message queue . . . . . . . . . . : MSGQ QSYSOPR
Library . . . . . . . . . . . . : *LIBL
Current message queue . . . . . . : QSYSOPR
Library . . . . . . . . . . . . : QSYS
Last activity date . . . . . . . . : 07/15/20
Host print transform . . . . . . . : TRANSFORM *NO
Manufacturer type and model . . . : MFRTYPMDL *HPCOLORLJ
Paper source 1 . . . . . . . . . . : PPRSRC1 *LETTER
Paper source 2 . . . . . . . . . . : PPRSRC2 *LETTER
Envelope source . . . . . . . . . : ENVELOPE *NUMBER10
ASCII code page 899 support . . . : ASCII899 *YES
Image configuration . . . . . . . : IMGCFG *NONE
Workstation customizing object . . : WSCST *NONE
User-defined object . . . . . . . : USRDFNOBJ *NONE
Object type . . . . . . . . . . : *NONE
Data transform program . . . . . . : USRDTATFM *NONE
User-defined driver program . . . : USRDRVPGM *NONE
Dependent location name . . . . . : DEPLOCNAME *NONE
Allocated to:
Job name . . . . . . . . . . . . . : PRT_HP2025
User . . . . . . . . . . . . . . : QSPLJOB
Number . . . . . . . . . . . . . : 047271
Published . . . . . . . . . . . . : *NO
Publishing information . . . . . . : PUBLISHINF
Support duplex . . . . . . . . . : *UNKNOWN
Support color . . . . . . . . . : *UNKNOWN
Pages per minute black . . . . . : *UNKNOWN
Pages per minute color . . . . . : *UNKNOWN
Location . . . . . . . . . . . . : *BLANK
Data streams supported . . . . . : *UNKNOWN
Text . . . . . . . . . . . . . . . : TEXT Device created for
LCNDEV.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
______________________________________________________________________
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
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.